Agents

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.

Non-custodial One URL or one binary Built for LLMs
Capabilities

Every Compass action, as a command or a tool.

One consistent grammar across protocols and chains — Ethereum, Arbitrum, and Base.

$ compass earn

Earn yield

Deposit into 20,000+ vaults and money markets across Aave, Morpho, Pendle and more.

$ compass credit

Borrow on credit

Open a credit line and borrow against your collateral while it keeps earning.

$ compass global-markets-perps

Trade perps

Open leveraged perpetual positions on global markets with market and limit orders.

$ compass tokenized-equities

Tokenized stocks

Buy and sell tokenized equities on-chain, around the clock.

$ compass gas-sponsorship

Sponsor gas

Cover gas so your users transact without ever holding ETH.

$ compass risk-recipes

Assess risk

Stress-test exposure with the recipes behind compasslabs.ai/risk — LLTV cascade, jump-to-default, and vault correlation.

MCP Server

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.

48 toolsstreamable HTTPfree API key
Read the MCP docs
shell
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?"
Compass CLI

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 ~ compass
# 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 }
Install the CLI

Up and running in one line.

A single static binary — no runtime, no dependencies.

1

Install

One static binary, every chain. Shell completions for Bash, Zsh, Fish & PowerShell included.

2

Authenticate

Run compass configure — credentials live in your OS keychain, secrets are redacted in logs.

3

Ship

Same binary locally and in CI — drop COMPASS_API_KEY_AUTH into your pipelines.

non-custodialkeys in OS keychainsecrets redacted
brew
01   $ brew install compasslabs/tap/compass

02   $ compass configure
       ✓ stored in your OS keychain

03   $ compass earn vaults -o toon
Agent Skill

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.

agent · ~/compass
YOU

/compass Find the highest-yielding USDC vault on Base and deposit 100.

AGENT

On it — routing through Compass.

AGENT RUNS:
$ 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
vaultMorpho USDC
apy8.42%
txunsigned · ready to sign

Add it to your agent.

Pick your tool — one line to add Compass. Claude Code, Cursor, Codex, or anything that reads AGENTS.md.

claude-code
01  /plugin marketplace add CompassLabs/compass-agent-skill
02  /plugin install compass@compass-labs

# the /compass skill is now available
Read the Agent Skill docs
Get started

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.