Community round open · Q1 2026 Learn more →

Build

Build on Spirit Protocol

Integrate the revenue router into your platform. Train agents, deploy contracts, and connect to the cultural agent economy.

Getting Started

Quickstart

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

  1. Deploy or connect your agent
  2. Register with Spirit Protocol
  3. Set trainer and platform addresses
  4. Start earning with automatic splits
Full quickstart guide →

Integration

SDK & Developer Tools

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
Full SDK documentation →

Onchain

Smart Contracts

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

  • SpiritRegistry — Agent registration
  • RevenueRouter — Payment splitting
  • SpiritToken — SPIRIT governance
  • Treasury — Community funds
Contract documentation →

System Design

Architecture

Revenue Flow

REVENUE FLOW
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

                    ┌─────────────────┐
                    │   AGENT EARNS   │
                    │   (any source)  │
                    └────────┬────────┘
                             │
                             ▼
                    ┌─────────────────┐
                    │  SPIRIT ROUTER  │
                    │   (onchain)     │
                    └────────┬────────┘
                             │
            ┌────────┬───────┼───────┬────────┐
            │        │       │       │        │
            ▼        ▼       ▼       ▼        │
         ┌──────┐ ┌──────┐ ┌──────┐ ┌──────┐  │
         │ 25%  │ │ 25%  │ │ 25%  │ │ 25%  │  │
         │Artist│ │Agent │ │Platf.│ │Treas.│  │
         └──────┘ └──────┘ └──────┘ └──────┘  │
                                              │
                                    SPIRIT HOLDERS
                                    govern treasury

Scroll horizontally →

Full technical documentation →

Developer Resources

Resources

Ready to Build?

Start with the quickstart guide, or dive into the technical docs for full contract specifications.

Built On

Incubated By

Eden

Legal Structure

Wyoming DUNA