Context Graph Protocol reference documentation
Reference documentation for the Context Graph Protocol specification, implementations, and conformance tools.
Reference documentation for the Context Graph Protocol crates:
contextgraph-types,
contextgraph-host, and
contextgraph-conformance.
- The Context Graph Protocol: A Technical Overview — the one-read marketing overview for engineers: the problem Context Graph Protocol solves, the seven guarantees, the wire surface, how it relates to MCP, and why you would build against it. Start here if you are new to Context Graph Protocol.
- The Context Graph Protocol: Advantages and Uniqueness — standalone research analysis of the seven advantages that make Context Graph Protocol a qualitatively different approach to context retrieval (provenance, budget honesty, consent enforcement, conformance verification, citation guarantees, version stability, temporal validity), and why the combination is irreducible.
- Protocol surface — the wire types: context frames, queries, capabilities, provenance. Start here to understand what Context Graph Protocol is.
- Implementing a provider — how a third
party builds an Context Graph Protocol provider, in Rust (via
ContextProvider) or any other language (via the wire protocol directly). Start here to build something. - Running conformance — how to prove your
provider (or host) is Context Graph Protocol conformant, via the
contextgraph-inspectCLI or thecontextgraph-conformancelibrary. Start here to verify what you built. - Stability — the crate-semver vs. protocol-version
relationship, and what changes (and doesn't) as the protocol moves from
contextgraph/1.0-drafttocontextgraph/1.0.
Also at the repo root: GOVERNANCE.md (how the protocol is
maintained, what counts as a normative change, and the path to contextgraph/1.0),
SECURITY.md (vulnerability reporting),
CODE_OF_CONDUCT.md,
schema/ (machine-readable JSON Schema for the wire types), and
examples/ (diffable wire transcripts).