Context Graph Layer

What is the Context Graph?

The Context Graph Layer is a dynamic, decentralized knowledge layer that models contextual relationships between entities, data, events, and logic within the Decontext ecosystem.

It acts as a semantic brain for Web3 — connecting fragmented pieces of information across agents, contracts, and dApps into a unified, queryable structure.

If DMCP is the protocol standard, the Context Graph is the living dataset built on top of it.

Core Concept

The Context Graph represents context as a graph-based structure where:

  • Nodes = Entities (e.g., users, tokens, dApps, wallets)

  • Edges = Relationships (e.g., owns, voted_on, funded_by)

  • Attributes = Properties of nodes and edges (e.g., reputationScore, voteWeight, role)

Each piece of context is stored in a way that’s:

  • Structurally connected

  • Easily traversable

  • Modular and composable

Example Visualization

cssCopyEdit[User: 0x123]
   ├── owns ──> [Token: 0xABC]
   ├── voted_on ──> [Proposal: 17]
   └── has_reputation_score ──> [85]

An AI agent or smart contract could query:

  • Who did this user interact with?

  • What projects has this user funded?

  • What's their behavioral score across platforms?

Last updated