> ## Documentation Index
> Fetch the complete documentation index at: https://docs.compasslabs.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> DeFi infrastructure for fintech and crypto apps. Add yield, credit, and trading to your product through one API.

## What is Compass?

Compass is **DeFi infrastructure for fintechs, wallets, and crypto apps**. One API to add yield, lending, trading, and more to your product. Non-custodial. No smart contracts to deploy. Revenue from day one.

We handle protocol integrations, transaction bundling, gas abstraction, and fee infrastructure. You ship DeFi features in days instead of months.

***

## Choose Your Path

<CardGroup cols={3}>
  <Card title="Drop-in React Widgets" icon="puzzle-piece" href="/v2/Products/Widgets">
    Pre-built UI components. Add a savings account or portfolio manager to your app with a few lines of code. Customize the look in Studio.
  </Card>

  <Card title="API & SDKs" icon="code" href="/v2/get_started/get-started">
    Full control. Build your own UX with our Python and TypeScript SDKs, or call the REST API directly.
  </Card>

  <Card title="Build with AI" icon="robot" href="/v2/Agents/Coding-Assistant">
    Point Cursor, Claude Code, or Copilot at our LLM-optimized docs. Let your AI assistant build the integration.
  </Card>
</CardGroup>

***

## Try It Now

<Card title="Widget Builder Studio" icon="wand-magic-sparkles" href="https://studio.compasslabs.ai">
  Pick a widget, choose a theme, preview it live, and copy the code. No signup required.
</Card>

***

## What You Can Build

### Yield Products

Deposit into Aave, Morpho vaults, and Pendle markets. Variable and fixed rates. Track positions, P\&L, and APY across all venues through one interface.

[Earn →](/v2/Products/Earn) · [Fixed Earn →](/v2/Products/Fixed-Earn)

### Portfolio Rebalancing

Shift allocations across DeFi venues in one atomic transaction. Withdraw, swap, and deposit in a single signature. Build yield optimization, risk diversification, or treasury management features — users set target allocations, sign once, done.

[Portfolio Rebalancer →](/v2/Products/Portfolio-Rebalancer)

### Credit Lines

Let users borrow against their crypto holdings. USDC credit lines with no credit check, no tax event.

### Global Markets

Trade stocks (AAPL, TSLA, NVDA), commodities (GOLD, OIL, NATGAS), and forex pairs as perpetual futures on-chain via Hyperliquid. Users sign EIP-712 orders off-chain — no gas for trades. Build brokerage apps, diversification tools, or automated trading strategies over real-world asset perps.

[Global Markets →](/v2/Products/Global-Markets)

### Tokenized Assets

Buy and sell real on-chain ERC-20s in one product account: tokenized equities (TSLAon, AAPLon, NVDAon, 250+ symbols) issued by Ondo via 1inch Fusion orders, and RWA yield tokens (mTBILL, mBASIS, mBTC) issued by Midas via swaps on Ethereum and Base — actual asset ownership, not synthetic exposure.

[Tokenized Assets →](/v2/Products/Tokenized-Assets)

### Transaction Bundling

Combine multiple operations into one atomic transaction. Transfer → swap → deposit → collect fee, all in one signature. 50-70% gas savings.

[Bundling →](/v2/Products/Bundling)

### Gas Sponsorship

Users never need ETH. They sign, your relayer pays gas. Without this, 9 out of 10 new users drop off.

[Gas Sponsorship →](/v2/Products/gas-sponsorship)

### Embedded Fees

Monetize from day one. Add fees to deposits, withdrawals, or any transaction. Collected automatically when transactions execute.

[Embedded Fees →](/v2/Products/Embedded-fees)

***

## How It Works

1. **Your app calls the Compass API** — deposit, withdraw, swap, rebalance, bridge, or any DeFi operation
2. **Compass generates the transaction** — including bundling, fee embedding, and gas sponsorship
3. **User signs with their wallet** — MetaMask, Privy, Dynamic, Fireblocks, or any wallet
4. **Transaction executes on-chain** — directly into DeFi protocols

Compass never holds funds or private keys. Users own and control all assets.

***

## Supported Protocols & Chains

**Protocols**: Aave V3, Morpho (vaults & markets), Pendle, ERC-4626 vaults, and more via [V1 API](/v1/api-reference/aave-v3/aave-supported-tokens)

**Chains**: Ethereum · Base · Arbitrum · Tempo¹

¹ **Tempo (chain ID 4217)** — Morpho earn vaults only (Gauntlet pathUSD Prime / Frontier, Sentora pathUSD). Tempo has no native gas token — wallets pay fees in TIP-20 stablecoins (USDC, USDT, pathUSD). In-chain swap (`V2_SWAP` action) is not supported on Tempo because no DEX aggregator currently routes Tempo. Bridging in/out of Tempo is out-of-band (CCTP and 1inch Fusion+ do not yet support Tempo).

***

## Who Uses Compass

| Segment                 | Use case                                            |
| ----------------------- | --------------------------------------------------- |
| **Fintechs & neobanks** | Stablecoin savings products, yield on idle balances |
| **Wallets**             | Earn tab, portfolio rebalancing, swap integration   |
| **Payment platforms**   | Float optimization, treasury management             |
| **Banks & issuers**     | DeFi access with enterprise compliance              |

***

## Developer Resources

### SDKs

* **Python**: `pip install compass_api_sdk` — [PyPI](https://pypi.org/project/compass_api_sdk/)
* **TypeScript**: `npm install @compass-labs/api-sdk` — [npm](https://www.npmjs.com/package/@compass-labs/api-sdk)
* **React Widgets**: `npm install @compass-labs/widgets` — [Docs](/v2/Products/Widgets)

### API

* **Base URL**: `https://api.compasslabs.ai`
* **Auth**: API key via `x-api-key` header
* **Free tier**: 1,000 calls/month, no credit card

### LLM-Optimized Docs

Building with an AI coding assistant? Point it at our docs:

| URL                                                                            | Description                 |
| ------------------------------------------------------------------------------ | --------------------------- |
| [docs.compasslabs.ai/llms-full.txt](https://docs.compasslabs.ai/llms-full.txt) | Complete reference (\~60KB) |
| [docs.compasslabs.ai/llms.txt](https://docs.compasslabs.ai/llms.txt)           | Condensed version (\~17KB)  |

Works with Cursor, Claude Code, GitHub Copilot, and any AI assistant that can fetch URLs.

***

## Get Started

<Steps>
  <Step title="Get your free API key">
    [Sign up](https://www.compasslabs.ai/login) — instant access, no credit card.
  </Step>

  <Step title="Pick your path">
    [React Widgets](/v2/Products/Widgets) for drop-in UI, [Quick Start](/v2/get_started/get-started) for API access, or [Coding Assistant](/v2/Agents/Coding-Assistant) to build with AI.
  </Step>

  <Step title="Ship">
    Add embedded fees, sponsor gas, and go live.
  </Step>
</Steps>

***

## Need Help?

<CardGroup cols={2}>
  <Card title="Book a Call" icon="calendar" href="https://calendly.com/elisabeth-compasslabs/30min">
    Talk to our team. We'll help you ship fast.
  </Card>

  <Card title="Join Discord" icon="discord" href="https://discord.com/invite/ujetyJJPYr">
    Ask questions and connect with other builders.
  </Card>
</CardGroup>

**Email**: [contact@compasslabs.ai](mailto:contact@compasslabs.ai) · **X**: [@labs\_compass](https://twitter.com/labs_compass) · **LinkedIn**: [Compass Labs](https://www.linkedin.com/company/86708553)
