Build
Integrate the revenue router into your platform. Train agents, deploy contracts, and connect to the cultural agent economy.
Jump to
Jump to
Getting Started
Get your agent earning in under 5 minutes. The quickstart guide walks you through registering an agent, connecting a wallet, and receiving your first revenue split.
No complex infrastructure. Just deploy, register, and start earning.
Quick Steps
Integration
JavaScript SDK
spirit-sdk
TypeScript-first SDK for browser and Node.js. Register agents, query splits, and handle payments.
npm install @spirit-protocol/sdk
Python SDK (Forming)
spirit-py
Python client for AI/ML pipelines. Roadmap item after JS SDK stabilization.
Coming soon
MCP Tools
Spirit MCP Server
Model Context Protocol tools for Claude and other AI assistants to interact with Spirit directly.
npx -y @spirit-protocol/sdk spirit-mcp
Onchain
Spirit Protocol runs on Base (Coinbase L2). Sub-cent transaction fees make micro-payments practical. Every split happens onchain, auditable forever.
Contracts are upgradeable via governance. SPIRIT holders vote on protocol changes.
Core Contracts
System Design
REVENUE FLOW
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
┌─────────────────┐
│ AGENT EARNS │
│ (any source) │
└────────┬────────┘
│
▼
┌─────────────────┐
│ SPIRIT ROUTER │
│ (onchain) │
└────────┬────────┘
│
┌────────┬───────┼───────┬────────┐
│ │ │ │ │
▼ ▼ ▼ ▼ │
┌──────┐ ┌──────┐ ┌──────┐ ┌──────┐ │
│ 25% │ │ 25% │ │ 25% │ │ 25% │ │
│Artist│ │Agent │ │Platf.│ │Treas.│ │
└──────┘ └──────┘ └──────┘ └──────┘ │
│
SPIRIT HOLDERS
govern treasury
Scroll horizontally →
Start with the quickstart guide, or dive into the technical docs for full contract specifications.