Capability
Identity, version, supported frame kinds, transport limits, and declared data flow.
data_flow: {
reads: true,
writes: false,
egress: false
}AI agents run on context. Today that context is usually an opaque pile of text. Context Graph Protocol turns it into typed, budgeted, cited, time-aware evidence—with consent and conformance built into the wire.
The current goal anchors retrieval and sets the context budget.
Search results, memories, documentation, policies, and code snippets all enter the model through the same untyped channel. Once flattened into a prompt, origin, authority, freshness, cost, and consent disappear.
“Where did this come from, was it allowed, how much did it cost, and was it valid?” become protocol questions with machine-checkable answers.
These guarantees reinforce each other. Provenance without consent can still leak data. Budgeting without conformance still relies on trust. The protocol makes the combination the unit of interoperability.
Frames carry origin URIs, ranges, digests, derivation methods, and producer identity. Context becomes evidence with a lineage—not anonymous text.
ContextFrame.provenanceA provider describes its behavior before seeing data. A host sends a bounded request. The provider returns inspectable frames that remain untrusted content until the host validates and composes them.
Identity, version, supported frame kinds, transport limits, and declared data flow.
data_flow: {
reads: true,
writes: false,
egress: false
}A goal, anchors, desired kinds, temporal filters, frame limits, and a hard token ceiling.
goal: "change checkout flow"
anchors: ["CheckoutService"]
max_frames: 12
max_tokens: 4096Typed content plus relevance, token cost, provenance, citations, and temporal validity.
Context Graph Protocol preserves revision lineage and validity windows. Future lifecycle work adds explicit origin-observation and provider-receipt semantics so a host can reconstruct both what was true and what it knew at the time.
valid_at: 2026-05-12The superseding fact is current. The earlier claim remains reconstructable, not deleted.
The lifecycle profile keeps episodes, claims, steering, and proof separate. That boundary is the defense against an agent silently converting “this happened” into “always do this.”
An occurrence or interpretation with no truth or instruction authority.
immutable eventA fact, provisional assumption, or recorded architectural decision.
fact · assumption · decisionA bounded episode or summary—not automatically current truth.
episode · summaryGoverned steering with explicit scope, authority, and enforcement.
preference · rule · constraint · procedureAn addressable source that supports or challenges another record.
locator · digest · relationA versioned, machine-checkable definition of an acceptable deliverable.
requirements · validationEvidence can move through a reviewable promotion ladder, enter a compiled context frame, and be evaluated against real outcomes. Every transition is an event, not an opaque mutation.
A correction, validator result, Git change, or repeated behavior is recorded without instruction authority.
observation → advisory → keep / edit / ignoreLow-friction learning, local by default, with explicit confirmation for blocking behavior.
proposal → owner review → repository publicationShared steering gains accountable identity, review history, and repository scope.
proposal → policy gate → signed publicationRBAC, attestations, retention commitments, and auditable organization policy.
A Context Receipt links what entered a task to observable decisions, actions, and outcomes—not private reasoning or causal certainty.
Lifecycle prototype · not in the 1.0 retrieval wireSelected context: Brand-kit delivery contract. Moved the work.
Four stages connect the receipt entry to only the decisions, actions, and outcomes supported by observable evidence.
plan-checklist-04plan-checklist-04brand-manifest.jsonvalidation-07Attribution basis Direct artifact and validation references · confidence 94/100
No chain-of-thought is stored. This receipt records a bounded influence claim and observable references.
Receipt statuses are derived from bounded observations, not a usefulness score. Self-report is not proof.
Illustrative simulation · not observed evidence
The protocol is deliberately smaller than the products built around it. Hosts own learning and prompt policy. Providers own retrieval. Enterprise platforms may add governance without becoming a runtime dependency.
Local/BYOK agent, code graph, context compiler, trace mining, governance, contracts.
capability · query · frame · lifecycleCode search, documentation, memory, policy, data catalogs, or specialized graphs.
Hosted workspaces, RBAC, organization policy, encrypted sync, audit, and integrations.
One host interface for local code, memory, docs, policies, and remote providers—with budgets and citations that compose.
Declare capabilities, accept typed queries, return frames, and prove behavior with the conformance suite.
Consent, provenance, scope, temporal validity, and retention become explicit integration boundaries.
The protocol works today for typed retrieval. The roadmap extends the same provenance and conformance discipline to lifecycle exchange—without moving host governance into the wire.
Roadmap items are directional design work, not promises of shipped behavior. Continuous synchronization requires a separate profile for cursors, change feeds, tombstones, conflicts, acknowledgements, and offline replay.
Read the draft. Build a provider. Run conformance. Challenge the semantics. The goal is not another private memory silo—it is a context ecosystem any host can inspect and trust.