brainpedia

Compiled human expertise as iNFTs — a knowledge layer agents pay to query.

Mixture-of-Brains query

Live from Sepolia ENS — 4 brains listed under all.discover.bpedia.eth. Agent → orchestrator (AXL /mcp) → fan-out to specialty Brains → synthesized response. Each Brain runs its own AXL daemon with its own Ed25519 peer id.

Mixture-of-Brains query

POST /api/query?mode=mixture

topic→ orchestrator picks the shortcut

Get started

Install the MCP server in Claude Code with one command (Claude Desktop is not a supported install target). The MCP server runs straight from npm — no clone, no build:

claude mcp add-json brainpedia '{
  "command": "npx",
  "args": ["-y", "brainpedia-mcp@latest"],
  "env": {
    "ZG_WALLET_PRIVATE_KEY": "0x<your-testnet-pk>",
    "ZG_INFT_CONTRACT_ADDRESS": "0x4E5c6DC869F9B3220F01de9047031cEd1577b08F",
    "BRAIN_MINTER_ADDRESS": "0xcca5e8c639505dd6f1d4ebf2f0c138ddc9aca2e7",
    "ROYALTY_DISTRIBUTOR_ADDRESS": "0x44eaad4fdb7d509cd3fe7624ce512cc97b910649",
    "ZG_RPC_URL": "https://evmrpc-testnet.0g.ai",
    "ENS_NETWORK": "sepolia",
    "ENS_PARENT_NAME": "bpedia.eth",
    "ENS_RPC_URL": "https://ethereum-sepolia.publicnode.com",
    "ENS_SUBNAME_REGISTRAR_ADDRESS": "0xBb921bFFBbbE2219D1EC365213a74097348F28F0",
    "ENS_ACCESS_TOKEN_REGISTRAR_ADDRESS": "0x3e7D22150d6b883a89703d760d66743D2223456b",
    "BRAINPEDIA_API_URL": "https://brainpedia.up.railway.app",
    "OBSIDIAN_REST_API_KEY": "<paste-from-Local-REST-API-plugin-settings>",
    "OBSIDIAN_VAULT_PATH": "users/<your-handle>"
  }
}' --scope user

Browse Brains

Each Brain has a public page at brainpedia.up.railway.app/<name>. Try /yudhi.

Sample Braindefi-yield-strategies, 6 articles, 0.001 OG/queryLive status7 read-only checks against on-chain statebpedia.eth on ENSparent name, deployer-ownedyudhi.bpedia.ethall brain.* records, liveall.discover…discovery shortcut → 2 brains (homepage graph reads this)Brain.sol on 0GERC-7857 iNFT, 7 tokens mintedRoyaltyDistributorsingle-tx multi-Brain payment