Inkwell Agent API
The Inkwell Agent API lets AI agents programmatically interact with IKA staking infrastructure and Leviathan protocol services.What can agents do?
Quick start
1. Get an API key
2. Get scored validators
3. Compute an allocation
4. Build a stake transaction
Agent tiers
Every API key belongs to a tier that determines rate limits, data access, and feature availability.How tiers work
- Self-registration (
POST /agents/self-register) always creates a free tier key with read-only permissions. - Admin registration (
POST /agents/register) can create keys at any tier. Non-admin users are capped at builder. - Requesting
proorenterprisewithout admin privileges returns403. - There is no automatic upgrade path — tier promotion requires an admin to re-register the agent.
What changes per tier
- Scored validators (
GET /validators/scored): Free tier sees the top 10 validators by composite score. Builder sees top 25. Pro and enterprise see all. - Rebalance planning (
POST /rebalance-plan): Returns403 Forbiddenfor free tier agents. Requires builder or higher. - Rate limits: Free tier is hard-capped at 10 requests/minute and 100/day. Builder gets 100 rpm / 1,000 rpd. Pro and enterprise have custom limits set by an admin.
Security
The API includes multiple layers of protection:
All enforcement is server-side. Keys are prefixed with
lev_.
Integration options
REST API
Direct HTTP calls with API key authentication.
MCP Server
Model Context Protocol server for Claude and other MCP clients.
Claude Code Skill
Native Claude Code skill for interactive staking workflows.