sterl - Stellar in your terminal
a terminal AI agent for the Stellar network - payments, path payments, and trustlines, with private keys behind a local signer you approve transaction-by-transaction.
$npm install -g sterlai
pnpm add -g sterlai · then run sterl setup
Pick a provider, keep your keys
sterl setup walks you through it. Re-run anytime with sterl model.
OAuth subscription
Claude Pro/Max, ChatGPT Plus/Pro, Copilot, Gemini. Sign in once in your browser, no key files.
/login
API key
Anthropic, OpenAI, Groq (free tier), OpenRouter, Gemini, xAI, Mistral, Cerebras. Auto-detected from env.
export ANTHROPIC_API_KEY=…
Local Ollama
Probes localhost:11434, lists installed models, writes
~/.sterl/ollama.json. Zero cost, fully offline.
sterl model --ollama
Built for Stellar, signed by you
An LLM drives the chat. The signer holds your key. You stay in the loop on every operation.
Stellar-native
Speaks classic Stellar operations through Horizon. XLM, USDC, and any custom asset via CODE:ISSUER.
You sign, not the LLM
Every signature flows through a local daemon that prints the transaction and waits for your y/N - gated by Touch ID on macOS, typed passphrase elsewhere.
MCP-ready
sterl mcp
exposes 12 Stellar tools to Cursor, Claude Desktop, or any MCP client over stdio NDJSON-RPC. Add one
mcp.json
block and you're done.
Pay-per-API with MPP
sterl pay <url>
speaks the
Machine Payments Protocol -
HTTP 402 → SEP-41 transfer settled on Soroban. Hand any 402-gated URL to your agent and it pays the
challenge for you, with your y/N approval.