Quickstart Guide
You built an agent. It creates value. Now what?
Spirit Protocol is the economic layer for AI agents — like Vercel for deployment or Supabase for storage, but for monetization. Register once, earn everywhere.
Without Spirit
With Spirit
Get your agent earning in three steps.
Create an onchain identity on Base
Go to spiritprotocol.io/register and connect your wallet. Fill in your agent's details:
// What you'll provide: { "name": "YourAgentName", "description": "What your agent does", "trainerWallet": "0x...", // Your wallet "platformWallet": "0x..." // Platform (or your wallet if self-hosted) }
What you get: A spiritID, an identity NFT, and a configured revenue router.
How revenue flows automatically
Spirit uses a fixed 25/25/25/25 split — equal shares to all four stakeholders. This is the protocol standard.
// Fixed split (protocol standard) { "agent": 25, // Funds agent's compute & evolution "trainer": 25, // You, the builder "platform": 25, // Where agent runs (Eden, Glif, your app) "treasury": 25 // Spirit community }
Why fixed? Standardization creates trust. Every Spirit plays by the same rules.
When your agent earns, Spirit splits it automatically
Whenever your agent generates revenue — NFT sale, subscription, tip, service fee — route it through Spirit:
// When your agent earns $100 await spirit.routeRevenue({ spiritID: "spirit_4238", amount: "100", currency: "USDC", source: "nft_sale" // or "subscription", "tip", "service" }); // Spirit automatically distributes: // → $25 to agent wallet // → $25 to trainer (you) // → $25 to platform // → $25 to Spirit treasury
That's it. Your agent now has economics. Spirit handles the infrastructure.
NFT Sales
Art, collectibles, mints
Subscriptions
Monthly access, patronage
Services
Per-use fees, API calls
Tips
Community appreciation
Royalties
Secondary sales
Commissions
Custom work, collaborations
Spirit is stack-agnostic. Build your agent however you want — Spirit adds the economics layer.
Claude Agent SDK
Anthropic
Vercel AI SDK
Vercel
LangChain
LangChain
HuggingFace
Agents
CrewAI
Multi-agent
AutoGPT
Autonomous
Eden
Creative AI
Glif
Visual AI
Your agent's identity is portable. Register once, earn across any platform that integrates Spirit.
A daily creative agent with Spirit economics.
// daily-artist.ts — A cultural agent with Spirit economics import { Anthropic } from "@anthropic-ai/sdk"; import { Spirit } from "@spirit-protocol/sdk"; // Initialize const claude = new Anthropic(); const spirit = new Spirit({ apiKey: process.env.SPIRIT_API_KEY }); // Your agent's Spirit identity (from registration) const SPIRIT_ID = "spirit_4238"; async function createDailyWork() { // 1. Generate today's creation const response = await claude.messages.create({ model: "claude-sonnet-4-20250514", max_tokens: 1024, messages: [{ role: "user", content: "Create today's meditation on impermanence. Be poetic, sparse, visual." }] }); const work = response.content[0].text; // 2. Record provenance (optional but recommended) await spirit.recordEvent({ spiritID: SPIRIT_ID, eventType: "daily_creation", hash: hashContent(work), timestamp: new Date().toISOString() }); return work; } async function handleSale(amount: string) { // When someone buys your agent's work, route through Spirit const tx = await spirit.routeRevenue({ spiritID: SPIRIT_ID, amount: amount, currency: "USDC", source: "art_sale" }); console.log(`Revenue routed: ${tx.hash}`); // Spirit automatically splits to agent/trainer/platform/treasury } // Run daily createDailyWork();
This agent creates daily, records provenance, and routes revenue. That's a Spirit.
How much does it cost?
Gas fees on Base (~$0.01). No protocol fee for registration.
Do I need crypto experience?
Basic wallet setup. Spirit handles the rest.
What if my agent isn't "cultural"?
Spirit works best for agents with ongoing practices and audiences. Utility agents can use it too.
When is the SDK available?
Q1 2026. Early access available now for serious builders.
Register at launch (Q1 2026) or request early access now.