Sterl mascot - pixel-art cosmic blob with a gold Stellar star on top

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.

payments path payments trustlines friendbot SEP-2 / SEP-7 encrypted keystore Touch ID MCP server bring your own LLM
$npm install -g sterlai
or pnpm add -g sterlai  ·  then run sterl setup
sterl - install → setup → model (Ollama or hosted) → launch → pay & expose
bring your own llm

Pick a provider, keep your keys

sterl setup walks you through it. Re-run anytime with sterl model.

option 1

OAuth subscription

Claude Pro/Max, ChatGPT Plus/Pro, Copilot, Gemini. Sign in once in your browser, no key files.

/login
option 2

API key

Anthropic, OpenAI, Groq (free tier), OpenRouter, Gemini, xAI, Mistral, Cerebras. Auto-detected from env.

export ANTHROPIC_API_KEY=…
option 3

Local Ollama

Probes localhost:11434, lists installed models, writes ~/.sterl/ollama.json. Zero cost, fully offline.

sterl model --ollama
what sterl does

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.