Put your AI agent
on-chain.
One DeFi API your agent already speaks — MCP or shell.
Connect to the MCP server or install the CLI to earn, borrow, swap, and trade across Ethereum, Arbitrum, and Base — non-custodial and built for LLMs.
Every Compass action, as a command or a tool.
One consistent grammar across protocols and chains — Ethereum, Arbitrum, and Base.
Earn yield
Deposit into 20,000+ vaults and money markets across Aave, Morpho, Pendle and more.
Borrow on credit
Open a credit line and borrow against your collateral while it keeps earning.
Trade perps
Open leveraged perpetual positions on global markets with market and limit orders.
Tokenized stocks
Buy and sell tokenized equities on-chain, around the clock.
Sponsor gas
Cover gas so your users transact without ever holding ETH.
Assess risk
Stress-test exposure with the recipes behind compasslabs.ai/risk — LLTV cascade, jump-to-default, and vault correlation.
One URL. Every product as a tool.
Point Claude Code, Cursor, or any MCP client at api.compasslabs.ai/mcp and every Compass product — Earn, Credit, perps, tokenized stocks, bridging — shows up as a typed tool your agent calls directly. No SDK, no binary, nothing to install.
Non-custodial, like the rest of Compass: read tools return data; action tools return an unsigned transaction that only you can sign. Auth is your regular API key.
01 $ claude mcp add --transport http compass \ 02 https://api.compasslabs.ai/mcp \ 03 --header "X-API-Key: YOUR_API_KEY" # then just ask: "best USDC vaults on Base?"
Built for agents, on the CLI.
Prefer a shell? Every Compass action is one command. Structured output, safe previews, and a drop-in agent skill mean the tool your team scripts with is the one your agents run in production.
TOON output is the agent-mode default — 30–60% fewer tokens in a prompt. Pipe and filter with -q, preview any call with --dry-run.
Read the CLI docs# agent: surface the best USDC vaults on Base $ compass earn vaults --order-by tvl_usd --limit 3 -o toon vaults[3]{name,protocol,apy}: Morpho USDC,Morpho,0.0842 Spark USDC,Spark,0.0719 Aave USDC,Aave,0.0613 # snapshot one position for the next tool call $ compass earn positions --chain base --owner 0xAb.. -o json { "asset": "USDC", "apy": 0.0842 }
Up and running in one line.
A single static binary — no runtime, no dependencies.
Install
One static binary, every chain. Shell completions for Bash, Zsh, Fish & PowerShell included.
Authenticate
Run compass configure — credentials live in your OS keychain, secrets are redacted in logs.
Ship
Same binary locally and in CI — drop COMPASS_API_KEY_AUTH into your pipelines.
01 $ brew install compasslabs/tap/compass 02 $ compass configure ✓ stored in your OS keychain 03 $ compass earn vaults -o toon
Ground your agent in Compass.
Tell your agent what you want in plain English. The Compass skill works out the exact on-chain steps, prepares the transaction, and hands it to you to approve in your wallet — you’re always the one who signs.
It speaks whichever surface your agent has — the MCP server when connected, the CLI otherwise. Same steps, same result.
/compass Find the highest-yielding USDC vault on Base and deposit 100.
On it — routing through Compass.
$ compass earn vaults --chain base --asset-symbol USDC \ --order-by tvl_usd --limit 1 ▸ ranking Base USDC vaults by APY $ compass earn manage --action DEPOSIT --amount 100 ▸ preparing your transaction
Add it to your agent.
Pick your tool — one line to add Compass. Claude Code, Cursor, Codex, or anything that reads AGENTS.md.
01 /plugin marketplace add CompassLabs/compass-agent-skill 02 /plugin install compass@compass-labs # the /compass skill is now available
Put your agent
on-chain.
Connect over MCP or install the CLI — and start moving real assets on-chain in minutes, from your terminal or your agent.