GAP Documentation Hub

Graph Agent Protocol (GAP) is an open-source, typed GraphQL-profile gateway and zero-trust governance runtime built in Rust across 32 layered crates. Unify OpenAPI REST services, SQL databases, GraphQL subgraphs, gRPC services, CLI tools, codebases, MCP servers, and A2A peers behind one progressive interface.

What you'll learn

  • Connect heterogeneous tools without dumping 200k+ schema tokens into every LLM prompt.
  • Eliminate agent N+1 round-trips using DataLoader join batching and wait-free ArcSwap snapshots.
  • Enforce default-deny Cedar authorization, rug-pull description pinning, and SSRF egress guards.
On this page

Choose Your Starting Path

Pick the path that fits your goal today. Each guide explains one focused concept cleanly before showing real commands from the repository.

Explore Core Platform Capabilities

Measured Performance & Security Highlights

Per ADR-021, every metric below comes directly from committed workspace test suites, bench/results/gapbench/baseline.json, and bench/results/ga_local/report.json.

651 tokens
Constant MCP tools/list schema from N=10 to 1,000 tools (vs. 203,421 Direct-MCP)
99.0% / 208.7x
Cross-branch join token savings at N=1,000 uncached & 24-symbol code-graph efficiency
5,013 req/s
HTTP/3 QUIC throughput (2.36 ms p95, 0 errors, 0-RTT off) alongside 1,064 req/s TCP HTTP/2
28.86 ms
/readyz recovery after SIGKILL (kill -9) · 9.32 MiB idle RSS · 28.1 MB reproducible binary
87 / 87 WP
100% specs traced (2,516 markers) · 136/136 conformance (CI) · 0 RUSTSEC advisories
terminal Try GAP in 30 seconds — Scaffold & Doctor
./target/dist/gap init my-gateway
./target/dist/gap config check my-gateway/gap.toml
./target/dist/gap doctor --config my-gateway/gap.toml

Product Walkthrough Videos (1080p)

Product Launch Overview (English Audio · 1080p)

Product Launch Overview (Vietnamese Audio · 1080p)