Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.useotto.xyz/llms.txt

Use this file to discover all available pages before exploring further.

Last reviewed: May 18, 2026. Otto AI has several access paths because different Web3 jobs need different custody, payment, and execution semantics. Start with the action you want to take, then choose the rail that matches the risk.
For current endpoint counts and capability-by-capability coverage across DApp, ACP, x402, MPP, USDC Gateway, and Otto X, see Access Paths & Coverage. MPP is intentionally read-only/query-only.

First Decision

GoalDefault Otto railWhy
Read market data, token intelligence, yield opportunities, portfolios, or account stateMPP for Tempo/Stripe read-only clients, x402 for the broadest HTTP catalog, USDC Gateway for gas-free high-frequency readsThese paths do not need principal movement.
Execute swaps, bridges, Safe deposits/withdrawals, yield deposits, or Hyperliquid perpsx402, ACP Trade Execution, Otto X, or the DAppExecution rails understand payment, authorization, transaction receipts, and failure handling.
Trade PolymarketACP Prediction Markets AgentPolymarket uses its own deposit, vault, CLOB, order, and redemption flow.
Generate images, videos, or AI researchACP Tools Agent or x402 Tools endpointsACP uses flat prepaid jobs with refunds for creative budgets; x402 is better for direct HTTP automation.
Operate on X Layer or use autonomous sub-wallet executionOtto XX Layer execution uses TEE-custodied sub-wallets, OKX DEX, principalAuth, Yield Copilot, and Yield Watch.
Human-guided wallet operationDAppBest for users who want a web interface, connected-wallet UX, and visual review.

Rail Cheat Sheet

RailPaymentAuthority and custodyUse it whenDo not use it for
DAppFree tier or holder-gated usageUser-connected wallet and Otto app flowsA human wants guided interactionFully autonomous agent loops that need machine-readable receipts
ACPVirtuals ACP job payment and escrowACP buyer/source wallet, job escrow, Otto Safe/MPC flows depending on agentYou want marketplace discovery, escrowed jobs, reputation, or PolymarketLowest-latency HTTP microcalls
x402USDC on Base, Polygon, or SolanaPayment wallet for service fees; execution endpoints may use Safes or signed principal movementYou want broad HTTP access and execution from agents or appsStripe/Tempo-only clients
MPPTempo stablecoins or Stripe cardsPayment only; no principal movementPaid reads and query toolsSwaps, bridges, withdrawals, deposits, perps, or any POST execution
USDC GatewayCircle Gateway USDCGatewayWallet balance pays readsHigh-frequency gas-free readsPrincipal-moving execution
Otto XX Layer x402 paymentsTEE-custodied sub-wallet per payer; auto-withdraw is the escape hatchX Layer DEX, autonomous swaps/bridges/DeFi, Yield Copilot, Yield WatchUsers who require direct self-custody of the execution key

Custody Map

Payment and principal are different things:
  • Service payment pays Otto for the job or API response.
  • Principal is the asset being swapped, bridged, deposited, withdrawn, lent, or traded.
  • Read-only rails may require service payment but must not move principal.
  • Execution rails must identify the source wallet, destination wallet, chain, token, amount, authorization type, and recovery path before submitting a transaction.
Main custody patterns:
PatternWhere it appearsWhat to know
User wallet / source walletACP and x402 payment/funding flowsHolds payment funds and may fund Safes, vaults, or sub-wallets.
Safe smart accountTrade Execution Agent, yield, swaps, bridges, Hyperliquid fundingNon-custodial account used for execution and token custody during operations.
Prediction Markets vaultACP Prediction Markets AgentDedicated Polygon vault/MPC flow used for Polymarket CLOB trading.
Hyperliquid accountTrade Execution Agent and Otto X resourcesUSDC must be deposited before perps can open; margin, leverage, TP/SL, and liquidation risk are separate from spot balances.
GatewayWalletUSDC Gateway APIPrefunded balance for Gateway-paid reads.
Otto X sub-walletOtto X Agentic Wallet V2TEE-custodied execution wallet. Use POST /auto-withdraw to sweep funds out.

Authorization Checklist

Before moving value, users and agents should answer these questions:
  1. What rail is paying the service fee?
  2. What wallet owns the principal?
  3. What chain and token contract are being used?
  4. Is this a read, a quote, a transfer, a swap, a bridge, a vault deposit, a perp order, or a market order?
  5. What authorization is required: wallet signature, token approval, Permit2, SIWX session, EIP-3009 principalAuth, ACP escrow/payment, or Yield Watch delegation?
  6. What is the revocation or escape path?
  7. What receipt proves what happened?
Common authorization types:
AuthorizationUsed forRevocation or recovery
ERC-20 approvalLetting a router, Safe module, or protocol move a tokenRevoke with your wallet’s allowance manager or a trusted revoke tool.
Permit2Gas-efficient token allowance flowsRevoke the Permit2 allowance if no longer needed.
SIWXx402 session access to paid data after first paymentLet the session expire or reconnect with a new wallet/session.
EIP-3009 principalAuthOtto X one-call principal fundingTime-bounded, nonce-protected authorization; unused authorizations expire.
ACP job payment/escrowACP jobs and resourcesTrack job state and completion through ACP.
Yield Watch policyOtto X monitoring or autonomous yield actionsRevoke with DELETE /yield-watch.

Transaction Lifecycle

  1. Discover: Query supported tokens, chains, vaults, markets, portfolio, or account state first.
  2. Quote: Get a route, expected output, APY, liquidation context, market probability, or protocol venue.
  3. Authorize: Sign the service payment and the principal authorization separately when both are needed.
  4. Execute: Submit the job or HTTP request with the selected route and idempotency key where supported.
  5. Verify: Store the x402 receipt, ACP job id, tx hash, explorer link, fill id, vault position, or generated artifact URL.
  6. Monitor: Poll account state until the chain, bridge, vault, CLOB, or Hyperliquid account reflects the expected result.

Recovery Playbooks

SymptomLikely causeFirst action
MPP client wants to swap, bridge, deposit, withdraw, or tradeWrong railRoute to x402, ACP Trade Execution, Otto X, or the DApp.
HTTP call returns 402 Payment RequiredService fee not paid yetSign the payment and retry with the payment header.
Otto X returns 409 funds_requiredSub-wallet lacks principalDeposit the requested token to the returned sub-wallet and retry with the same idempotency key.
Swap or bridge route failsToken unsupported, liquidity thin, route stale, or chain congestedQuery supported tokens, use token contract addresses, refresh the quote, and retry with sane slippage.
Bridge takes longer than expectedCross-chain settlement delayCheck the bridge explorer and wait before resubmitting. Avoid duplicate principal movement.
Hyperliquid order rejectedNo Hyperliquid USDC, order below minimum, invalid leverage, or missing delegation/account stateQuery getHyperliquidAccount, deposit USDC, and check the asset’s max leverage with getHyperliquidMarket.
Polymarket order rejectedVault underfunded, market resolved, order too small, or wrong token idQuery getPolymarketAccount, getTrendingMarkets, and getMarketInfo; never invent conditionId or tokenId.
Yield recommendation unavailableAPY feed stale or venue not allowlistedRetry later, choose an allowlisted venue manually, or keep funds idle.
Gateway read fails for balanceGatewayWallet underfundedTop up Gateway USDC or switch to x402/MPP for the read.
Payment succeeded but execution failedExecution-stage failure after fee/paymentUse returned receipt, job id, or tx hashes to inspect state. For Trade Execution swap/bridge failures, automatic refund handling applies where supported.

Risk Boundaries

Otto automates execution; it does not remove market risk.
  • Slippage: Quotes can move between quote and execution. Use explicit slippage limits for swaps and bridges.
  • Bridge risk: Bridges can delay, fail, or settle at a worse route than expected.
  • Yield risk: APY changes; protocols carry smart-contract, liquidity, oracle, and governance risk.
  • Perps risk: Leverage can liquidate collateral quickly. TP/SL orders reduce risk but do not guarantee an exit price.
  • Prediction-market risk: Shares can go to zero, markets can resolve unexpectedly, and liquidity can disappear.
  • Custody differences: Safe-based Trade Execution is non-custodial; Otto X uses TEE-custodied sub-wallets with auto-withdraw as the user escape hatch.
  • Data freshness: Read endpoints can be stale for a few seconds or minutes depending on the upstream source.

Agent Guardrails

Autonomous agents should use these defaults unless the user explicitly overrides them:
  • Prefer reads before writes: portfolio, supported tokens, account state, market data, and route quote.
  • Treat MPP and USDC Gateway as read-only rails.
  • Require explicit user policy for maximum spend, maximum slippage, bridge destination, leverage cap, liquidation tolerance, and allowed protocols.
  • Use token contract addresses when a symbol is ambiguous.
  • Reuse idempotency keys when a retry is expected to continue the same operation.
  • Store every receipt and tx hash in the user’s session memory.
  • Stop and ask for confirmation before moving principal to a new chain, opening leverage, or depositing into a new protocol.

Remaining Documentation To Close The Loop

This page gives the operating model. The next docs that would make agent navigation truly complete are:
  • A generated, machine-readable rail matrix that maps every capability to DApp, ACP, x402, MPP, USDC Gateway, and Otto X. Status: live in Access Paths & Coverage.
  • A universal receipts page explaining x402 receipts, ACP job ids, tx hashes, bridge ids, Hyperliquid fills, Polymarket orders, and artifact URLs.
  • A dedicated permissions and revocation page with screenshots for allowances, Permit2, SIWX sessions, principalAuth, Yield Watch, Safes, and Otto X auto-withdraw.
  • A funding cookbook for each rail: payment wallet, Safe, Hyperliquid, Polymarket vault, GatewayWallet, and Otto X sub-wallet.
  • Agent policy templates for conservative, balanced, and aggressive Web3 operation.