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
| Feature | Pipelock | agentgateway |
|---|---|---|
| Architecture | Network proxy, single self-hosted Go binary | Rust proxy, standalone or on Kubernetes |
| What it fronts | HTTP, HTTPS CONNECT (payloads only with TLS interception on), WebSocket, MCP stdio and HTTP, A2A | LLM APIs, MCP servers, A2A agents, plain HTTP |
| Authentication | Not a gateway function | JWT, API keys, OAuth, OIDC browser flows |
| Authorization | Tool policy via config | CEL-based RBAC and MCP authorization per tool, prompt, and resource |
| Multi-server routing | One wrapper per server or upstream | Aggregates many MCP servers behind one endpoint |
| Credential scanning (DLP) | 65 patterns, encoding-aware, environment leak detection | Regex filters and built-in PII detectors in prompt guards |
| Prompt injection detection | Deterministic patterns with multi-pass normalization on scanned responses | Moderation-service integrations and custom webhooks |
| Tool poisoning and rug-pull drift | Fingerprinting and drift detection | Not documented |
| SSRF protection | Private IP, metadata, and DNS rebinding checks | Not documented |
| MCP guardrail hook | Built in | External policy server via the MCP guardrails feature |
| Rate limiting | Per domain, and per agent on Pro | Yes |
| Telemetry | Prometheus metrics, syslog, webhook | OpenTelemetry metrics, logs, and traces |
| Signed receipts | Yes, Ed25519, verifiable offline | Not documented |
| License | Apache-2.0 core; Enterprise under ELv2 | Apache-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
- Pipelock vs open source MCP gateways: agentgateway alongside Docker, Lasso, and Obot
- Pipelock vs Envoy AI Gateway: the Envoy-based gateway with the same shape
- Agent firewall vs agent authorization gateway: the concept behind the authorization rows
- MCP gateway: the category
- Pipelock on GitHub
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.
- agentgateway README
- agentgateway standalone docs
- agentgateway docs index (prompt guards, MCP guardrails, MCP authorization)
- agentgateway releases
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.