Back to Solution
DOCS // v2.0.0

Context Graph Protocol (CGP)

CGP is SARFS v2.0 — a seven-pillar, temporally-aware, URI-addressable knowledge graph that makes your domain the authoritative system of record for agent reasoning. Every node is fragment-addressable, bitemporal, and carries decision provenance.

Use Case: System of Record for Agent Reasoning

An AI shopping agent queries a retailer's domain. Instead of hallucinating policies from training data, it resolves brand.jsonld#RetailerOrg, reads the current return policy from specs.jsonld with validThrough metadata, and cites the exact decision basis — because the domain deployed CGP.

ROI Verified

Technical Specifications

Directory Structure

bash
root/
├── robots.txt
├── llms.txt          # Points to context-graph-index.jsonld
└── agent-assets/
    ├── context-graph-index.jsonld  # Master manifest
    ├── brand.jsonld       # Pillar 1: Org entity + personas
    ├── specs.jsonld       # Pillar 2: Versioned policies
    ├── narrative.md       # Pillar 3: Origin + philosophy
    ├── sitegraph.jsonld   # Pillar 4: Route hierarchy
    ├── catalog.jsonld     # Pillar 5: Offer nodes
    ├── expertise.jsonld   # Pillar 6: HowTo guides
    └── lexicon.jsonld     # Pillar 7: Term definitions

Bitemporal Node Pattern

json
{
  "@id": "specs.jsonld#SARFSDeploymentPolicy",
  "@type": "DigitalDocument",
  "version": "2.0.0",
  "validFrom": "2026-03-16",
  "validThrough": null,
  "dateModified": "2026-03-16",
  "transactionTime": "2026-03-16T00:00:00Z",
  "supersedes": "specs.jsonld#SARFSDeploymentPolicyV1",
  "decisionBasis": "CGP v2.0 requires all nodes to carry temporal validity metadata"
}

Fragment Resolution

json
// brand.jsonld#AgentSpeak resolves to:
{
  "@id": "brand.jsonld#AgentSpeak",
  "@type": "Organization",
  "name": "AgentSpeak",
  "hasOfferCatalog": { "@id": "catalog.jsonld#AgentSpeakCatalog" }
}