Proxies and gateways

Pipelock vs agentgateway

A Linux Foundation data plane for LLM, MCP, and A2A traffic next to an agent firewall that inspects payloads and signs receipts. Routing and authorization versus content and evidence.

At a glance

Pipelock source agentgateway
Job Agent firewall. Mediates HTTP, WebSocket, and MCP traffic routed through it, scans it for secret leaks, prompt injection, SSRF, and tool poisoning, and can emit signed action receipts for mediated decisions when a signing key is configured. Proxy and control point for agent traffic: routes LLM, MCP, A2A, and plain HTTP through one gateway with authentication, CEL-based authorization, tool filtering, prompt guards, and telemetry.
Enforcement point Network path, outside the agent process Network path, between agents and the models, MCP servers, and services they call
Source Open source, Apache-2.0 core; Enterprise under ELv2 Open source, Apache-2.0; a Linux Foundation project
Pricing shape Free core; paid Pro and Enterprise tiers Free
Runs as Single Go binary, self-hosted; container and Helm Standalone binary or Kubernetes; Rust data plane
Pick agentgateway

You front many MCP servers, models, and agents and need one place for auth, routing, tool-level access rules, and rate limits, with guardrail hooks you can wire to a moderation service.

Pick Pipelock

You need routed payloads inspected: encoding-aware DLP, injection normalization, tool-description fingerprinting and drift, SSRF checks, and signed receipts configured where you need them, across HTTP and WebSocket too.

Run both

agentgateway in front for identity, routing, and tool access. Pipelock on the wire for inspection and receipts. They are built for different halves of the problem.

Want the runtime boundary, not just another checklist?

The short version

Pipelock is an open-source agent firewall. It sits on the agent’s routed network path and inspects HTTP, WebSocket, and MCP traffic for credential leaks, prompt injection, SSRF, and tool poisoning. With a signing key configured, it can emit signed action receipts for mediated decisions.

agentgateway is an open-source proxy for agent traffic, hosted by the Linux Foundation and licensed Apache-2.0. Its docs describe one data plane for LLM inference, MCP tool servers, A2A agent traffic, and ordinary HTTP, with JWT, API-key, and OAuth authentication, CEL-based authorization down to individual tools, prompts, and resources, rate limiting, and OpenTelemetry. On the content side it ships prompt guards (regex filters and built-in PII detectors, plus hooks to moderation services) and an MCP guardrail hook that hands method calls to an external policy server.

agentgateway answers who may reach what, and routes it. Pipelock answers what is inside the traffic, and proves the answer. The two overlap at the guardrail edge and diverge everywhere else.

Feature comparison

FeaturePipelockagentgateway
ArchitectureNetwork proxy, single self-hosted Go binaryRust proxy, standalone or on Kubernetes
What it frontsHTTP, HTTPS CONNECT (payloads only with TLS interception on), WebSocket, MCP stdio and HTTP, A2ALLM APIs, MCP servers, A2A agents, plain HTTP
AuthenticationNot a gateway functionJWT, API keys, OAuth, OIDC browser flows
AuthorizationTool policy via configCEL-based RBAC and MCP authorization per tool, prompt, and resource
Multi-server routingOne wrapper per server or upstreamAggregates many MCP servers behind one endpoint
Credential scanning (DLP)65 patterns, encoding-aware, environment leak detectionRegex filters and built-in PII detectors in prompt guards
Prompt injection detectionDeterministic patterns with multi-pass normalization on scanned responsesModeration-service integrations and custom webhooks
Tool poisoning and rug-pull driftFingerprinting and drift detectionNot documented
SSRF protectionPrivate IP, metadata, and DNS rebinding checksNot documented
MCP guardrail hookBuilt inExternal policy server via the MCP guardrails feature
Rate limitingPer domain, and per agent on ProYes
TelemetryPrometheus metrics, syslog, webhookOpenTelemetry metrics, logs, and traces
Signed receiptsYes, Ed25519, verifiable offlineNot documented
LicenseApache-2.0 core; Enterprise under ELv2Apache-2.0

Where agentgateway is stronger

One control point for many upstreams. It fronts models, tool servers, and agents behind one endpoint with one auth and authorization model. Pipelock wraps one upstream at a time.

Identity and fine-grained authorization. JWT claims, scopes, and CEL expressions decide which tools, prompts, and resources a client may reach. Pipelock’s tool policy is config, not identity-aware RBAC.

Guardrail plumbing. Prompt guards chain regex, PII detection, and moderation services, and the MCP guardrail hook lets an external policy server gate or mutate method calls. If you already run a moderation service, agentgateway wires it in.

Kubernetes-native operation. Gateway API integration, Helm, and OpenTelemetry fit an existing platform team.

Where Pipelock is stronger

Inspection depth. Encoding-aware DLP across URLs, headers, bodies, and tool arguments; injection normalization passes on responses; tool-description fingerprinting and drift detection; SSRF checks before DNS resolution. agentgateway’s documented content controls are regex, PII detectors, and calls to moderation services.

Coverage beyond the gateway’s upstreams. Pipelock sees the agent’s HTTP and WebSocket egress, not only the model, tool, and agent endpoints registered with the gateway.

Evidence. With a signing key configured, Pipelock can emit signed receipts for mediated decisions. The verifier checks them offline against the operator’s key. agentgateway emits telemetry.

Fail-closed mediation. A timeout or parse failure on a Pipelock-mediated path blocks the request and the block is receipted.

Architecture difference

Agent -> agentgateway (auth, route, filter, guard hook) -> models, MCP servers, other agents
Agent -> Pipelock (inspect, decide, sign)              -> internet, MCP servers

Run them in series when both matter: agentgateway decides who reaches what; Pipelock reads what crosses its mediated path and can emit signed receipts when a signing key is configured.

Further reading

Sources checked

Third-party descriptions on this page come from the public materials below, read on the dates shown. Features and pricing change; check the current documentation before you decide.

Third-party product names and marks belong to their owners. PipeLab is not affiliated with, sponsored by, or endorsed by the makers of any product compared on this page. Descriptions of other products come from their own public materials on the dates listed above and reflect PipeLab's reading of them. If something here is wrong or out of date, tell us and it will be corrected.

Frequently asked questions

What's the difference between Pipelock and agentgateway?
agentgateway is a proxy for agent traffic that centralizes routing, authentication, CEL-based authorization, tool filtering, and guardrail hooks for LLM, MCP, and A2A calls. Pipelock is an agent firewall that inspects the content of HTTP, WebSocket, and MCP traffic routed through it for credential leaks, injection, SSRF, and tool poisoning. With a signing key configured, it can emit signed action receipts for mediated decisions. One governs access and routing. The other inspects payloads.
Does agentgateway inspect content?
Its docs describe prompt guards built from regex patterns and built-in PII detectors, integrations with OpenAI moderation, AWS Bedrock Guardrails, Azure AI Content Safety, and Google Model Armor, and an MCP guardrail hook that sends method calls to an external policy server. Encoding-aware DLP, injection normalization passes, tool-description fingerprinting, rug-pull drift detection, and signed receipts are not documented.
Can I run Pipelock behind agentgateway?
Yes. Put agentgateway in front as the identity and routing layer and wrap the MCP upstreams or the agent’s egress with Pipelock for payload inspection and receipts.

Want the runtime boundary, not just another checklist?

See all comparisons →