MVP in development

GateForge

How we built a B2B SaaS platform that lets AI teams see exactly what's happening in their systems without violating their users' privacy.

Visual preview of GateForge

01

The Observability Dilemma: Why Privacy Changes Everything

Traditional observability platforms follow an established pattern: data flows to a central server, which then decides what to hide. It's an approach that works for standard infrastructure, but it's fundamentally broken for AI.

When you're building AI applications in regulated industries—FinTech, HealthTech, LegalTech—you need to see exactly what happened: the prompt sent, the context retrieved, the raw model response. That's essential for debugging and optimization. But that same data contains sensitive information that should never leave your systems.

Most platforms treat privacy as a checkbox, an optional toggle applied downstream after data has already left your servers. It's too late by then.

The fundamental question I asked myself: what if I flip this paradigm completely? What if privacy isn't a feature, but the most important design constraint from the very first byte?

02

Trust Architecture: Sanitization at the Edge

In GateForge, sanitization doesn't happen on a remote server. It happens on the client, before data ever leaves your internal network.

Through lightweight SDKs (for Python and Node.js), I separate the application path from the telemetry path right at the source. My SDK performs client-side masking: using a combination of deterministic regex and small local NLP models, it detects and anonymizes Personally Identifiable Information (PII)—names, credit card numbers, emails.

Raw data stays secure within the customer's boundary. Only sanitized prompts and operational metrics (token counts, routing paths) flow to the GateForge control plane.

The crucial insight: operational signals remain incredibly useful even when sensitive content is removed. You can optimize latency, detect cost anomalies, and track usage patterns without ever compromising private data.

03

The Proxy: Speed, Security, and Survival

Once the sanitized payload leaves the client, it hits the GateForge Proxy. This is the technical heartbeat of the platform—designed to sit directly in the critical request path between your application and foundational models like GPT-4 or Claude 3.

Because it sits inline, the proxy has to be ruthlessly fast. If you're adding more than 50-100ms of latency to an already slow LLM request, you've failed. It's probably written in Rust or Go.

Inside this middleware layer, I execute three critical functions:

  • Active Guardrails: I analyze the payload in real-time to block prompt injections, jailbreaks, and malicious inputs. This filtering applies to both input going to the model and output coming back.
  • Dynamic Routing and Fallbacks: AI providers go down. Rate limits get hit. When they do, GateForge instantly routes to a fallback model, ensuring high availability without the application code ever knowing there was a hiccup.
  • Telemetry and Cost Engineering: The proxy precisely calculates latency, time-to-first-token, and exact cost per request, feeding this data into clear dashboards for Product Managers and Engineers.

04

The Dynamic Prompt CMS: Prompts as a Living System

One of the biggest bottlenecks in AI development today is treating prompts as static code. When a prompt is hardcoded in a repository, tweaking a single sentence to improve model performance requires a full CI/CD deployment cycle.

GateForge introduces a Dynamic Prompt CMS. Instead of writing prompts in the backend, developers use the SDK to call: prompt = sdk.get_prompt("onboarding_flow", version="latest").

This unlocks true lifecycle management. It allows teams to maintain a versioned history of every prompt. More importantly, it enables native A/B Testing. A product team can route 80% of live traffic to the stable prompt and 20% to an experimental version, comparing conversion rates, costs, and latency in production directly without touching the codebase.

05

Automated Evaluation: The LLM Judge

Changing a prompt to fix one edge case often breaks three others. To prevent these regressions from reaching users, GateForge integrates an automated evaluation system directly into the CI/CD pipeline.

Teams define "Golden Datasets"—a curated set of test inputs and expected behaviors. Whenever a prompt is updated in the CMS, GateForge automatically runs the Golden Dataset against it. An LLM-as-a-Judge inspects the new outputs against predefined natural language rules (e.g., "The response must not contain sarcasm"). It acts as a strict gatekeeper: simply approves or rejects the change, alerting developers to regressions before deployment.

But here's where it gets interesting: while a simple "approve/reject" is great for CI/CD, it's not enough for Benchmarking.

06

The Scoring Problem: Why LLMs Can't Score

If you want to compare Claude 3.5 against GPT-4o, or measure the absolute quality of a complex agent over time, you need a quantifiable score.

Here's a fundamental flaw in how the industry approaches this: LLMs are notoriously bad at generating arbitrary continuous scores.

If you ask a model to "score the quality of this conversation out of 100," the exact same input might yield a 70 on Tuesday and an 85 on Wednesday. Models lack internal calibration for continuous scales, making subjective 1-10 or 0-100 metrics useless for serious benchmarking.

In GateForge, I solved this by forcing evaluation into binary constraints. Instead of asking for a subjective score, I define a comprehensive set of Acceptance Criteria. The evaluating LLM is forced to do two things:

  1. Reason out loud: Generate a chain-of-thought analysis explaining how the output relates to a specific rule.
  2. Commit to a Boolean: Strict output of 1 (True) or 0 (False).

By combining multiple binary rules, the system calculates a highly deterministic % of Completeness. If an agent passes 8 out of 10 boolean rules, its quality score is exactly 80%. This approach eliminates hallucinated variance and provides a robust, empirical benchmark to compare different models, system prompts, or RAG configurations over time.

07

What Building GateForge Taught Us

GateForge is moving from its core infrastructure phase into a product ready for validation with regulated teams. Building the MVP revealed a profound lesson:

Privacy changes the architecture, not just the legal copy.

When you move anonymization to the SDK, it forces you to completely rethink how you handle debugging, identity mapping, sampling, and data rehydration. You cannot bolt security onto an observability platform after the fact. By designing for the harshest regulatory constraints from the very first byte, GateForge proves that enterprise teams don't have to choose between understanding their AI and protecting their users.

The right question isn't "How do we make observability private?" The question is "How do we design observability so that privacy is inevitable?"

What I built

Architecture of GateForge
Raw data remains inside the customer boundary; only anonymized prompts and operational telemetry reach external services.

Related writing

The part of the work worth explaining.

Published articles and prepared topics documenting decisions, problems and lessons.

Article in preparation

Designing privacy boundaries for LLM observability

Threat model, trust boundary and the decision to sanitize in the client SDK.

Article in preparation

Multi-tenant telemetry without leaking tenant data

Isolation, API keys and the data model behind a shared control plane.

Article in preparation

What GDPR changes in an AI tracing pipeline

A practical mapping from observability events to retention and erasure rules.