Compass CLI

Put your AI agent
on-chain.

The DeFi command line for agents and humans.
One binary to earn, borrow, swap, and trade across Ethereum, Arbitrum, and Base — non-custodial and built for LLMs.

Non-custodial macOS · Linux · Windows Built for LLMs
LLM-native

Built for agents, on the CLI.

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 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 earn-positions --chain base --owner 0xAb.. -o json
  { "asset": "USDC", "apy": 0.0842 }
Capabilities

Every Compass action, as a command.

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-assets

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.

Install

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
install.sh
01   $ curl -fsSL https://compasslabs.ai/install.sh | bash

02   $ compass configure
       ✓ stored in your OS keychain

03   $ compass earn earn-vaults -o toon
Get started

Put your agent
on-chain.

Install the Compass CLI and start moving real assets on-chain in minutes — from your terminal or your agent.