🚀 Open, modular, and fully decentralized context infrastructure for agent-native Web3.
Decontext enables trustless, verifiable, and composable Model Contexts on-chain — structured data that AI agents use to interpret Web3 systems.
It transforms centralized MCPs into a decentralized public good, unlocking a new generation of agent-native dApps.
- ✅ DMCP (Decentralized Model Context Protocol)
- ✅ Verifiable context schemas on-chain
- ✅ Agent SDK (TypeScript)
- ✅ Secure MetaMask/LLM integrations
- ✅ Modular, forkable architecture
npm install
SEPOLIA_RPC_URL=https://sepolia.infura.io/v3/YOUR_INFURA_KEY
PRIVATE_KEY=your_wallet_private_key_without_0x
ETHERSCAN_API_KEY=your_etherscan_key
npx hardhat compile
npx hardhat run scripts/deploy.cjs --network sepolia
npx hardhat test
Folder | Description |
---|---|
contracts/ |
DMCP Solidity contract |
scripts/ |
Deployment scripts |
sdk/ |
TypeScript SDK to interact with DMCP |
examples/ |
Agent-driven usage examples |
test/ |
Mocha + Chai unit tests |
docs/ |
Protocol documentation |
MIT © 2025 Decontext Contributors