Use Cases

Compass API enables traders, developers, and autonomous agents to execute complex on-chain operations seamlessly and programmatically. Whether you’re running an algorithmic trading strategy, automating DeFi workflows, or building an on-chain AI agent, Compass API simplifies execution with one unified interface.

PS. We are building the first product: The Compass Assistant (Coming Soon!) that can call all other endpoints (and more!). We built a chat interface on top, allowing all users to express their intent in natural language, and the Assistant automatically executes the required actions.

  • "What does my portfolio look like?" → The Assistant fetches and summarizes your DeFi positions.
  • "Swap 10 ETH for USDC on Uniswap" → It constructs and executes the trade.
  • "Borrow 500 USDC on Aave with ETH collateral" → The Assistant handles the borrowing logic and executes the trade.

Some example use-cases we’d like to share with you:

Algorithmic trading & strategy execution

Without Compass API:

Traders and quants need to know Solidity, manually interact with multiple smart contracts and manage low-level execution logic for each DeFi protocol, increasing time-to-market, infra costs, and complexity.

With Compass API:

Developers can use high-level APIs to build algorithmic trading strategies, execute trades, rebalance portfolios, and manage risk with minimal overhead.

AI Agents

Without Compass API:

When devs build AI Agents, they need to write Solidity or handle low-level smart contract execution to build AI-driven agents that can transact on-chain.

With Compass API:

The Compass API provides everything needed to create AI agents that can perform sophisticated blockchain operations and interact with blockchain networks.

Check out the Virtuals Compass SDK or ElizaOS plugins.

DeFi yield products

Without Compass API:

Building yield-generating DeFi products requires custom integrations, monitoring APYs manually, and rebalancing manually. If it’s not done manually, it requires hiring a full team of engineers with blockchain experience. We solve this and let you build you DeFi App without any knowledge of blockchain engineering.

With Compass API:

Developers can automate yield farming, dynamically move capital between pools, and create structured DeFi products that adapt to market conditions.

Wallet (assistants)

Without Compass API:

In order to maintain AUC wallets have to integrate protocols to be able to let their users swap, lend, stake, borrow, etc, on multple protocols. A very time consuming and difficult process. And if not done fast enough, leading to friction and lost engagement.

With Compass API:

Wallets can offer one-tap DeFi execution—users can trade, supply liquidity, borrow, or manage portfolios directly within the app without needing manual integrations.

Custodians

Without Compass API:

Custodians and institutional platforms must build custom integrations for each protocol, increasing complexity, cost, and execution risk.

With Compass API:

Institutions can securely execute trades, manage treasury operations, and automate DeFi strategies with a single API, while keeping private key security intact.

Liquidity provisioning & Impermanent loss

Without Compass API:

Providing liquidity on requires manual adjustments to minimize impermanent loss. This requires users, investors, and tokenizers to understand how to calculate and monitor impermanent loss, fully master tick-math and open and close positions to stay in the active ranges.

With Compass API:

Traders and DeFi strategists can dynamically adjust LP positions, shift capital between different ticks, and measure impermanent loss over time.

Risk management & strategy advisors

Without Compass API:

Institutions, traders, vault managers, and and DAOs often manually track positions, check collateral ratios, and rebalance portfolios.

With Compass API:

Risk management becomes proactive, automated, and gas-efficient with the Compass API. You can write custom logic easily and act before liquidation risk escalates. This means actively analyzing APY, risks, and other parameters of your strategy.

Treasury management

Without Compass API:

DAOs and institutional investors often manually rebalance funds, stake assets, and track treasury performance across multiple DeFi protocols.

With Compass API:

Treasuries can automate capital allocation, stake assets, and optimize DeFi exposure without requiring manual execution.