Immutable, Decentralized Context Strategies for AI.
This project implements a "Proof of Skill" architecture. It moves context management (prompt templates, strategies, heuristics) from local files to a decentralized registry, ensuring transparency, provenance, and censorship resistance.
The system operates in three distinct layers to balance Trust (Web3) with Performance (Web2).
- Storage: IPFS (Content-Addressable Storage). Holds the actual strategy files (JSON, Text, Python).
- Registry: EVM Smart Contract (L2). Maps a
Skill_IDto anIPFS_CIDandAuthor. - Role: The immutable "Source of Truth."
- Watcher: A service that listens to blockchain events.
- Cache: A SQL/Vector database that indexes strategies for fast retrieval.
- Role: High-performance caching and searchability.
- API: A REST/GraphQL API for AI Agents to query context.
- MCP: A Model Context Protocol adapter for local IDE integration.
- Role: Low-latency delivery to the LLM.
- Publish: Authors upload strategies via CLI.
- Index: The system automatically detects and indexes the update.
- Consume: AI Agents query the Bridge API to retrieve the best context for the current task.