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

# Our solution

> How Perps Agent solves verifiable, risk-adjusted grid trading.

Perps Agent is a **verifiable, self-improving AI grid-trading agent** built on three principles:

## Verifiable by construction

Every run goes through a strict on-chain lifecycle on **Mantle**:

1. **Commit** the exact strategy config (pair, range, grid size, risk caps) on-chain *before* the bot is allowed to trade.
2. **Execute** on Bybit using the user's own API keys.
3. **Attest** the verified outcome (fills, PnL, drawdown, risk metrics) on-chain after the run.

No "trust me, bro" track records. The history is public, append-only, and tied to the exact config used.

## Non-custodial execution

The agent **never touches your funds**. Trading runs through your own Bybit API keys (trade-only, no withdraw). Your capital stays on Bybit, your keys stay yours, and Perps Agent can be revoked at any time.

## Risk-adjusted optimization

The AI loop does **not** optimize for raw PnL. It targets risk-adjusted metrics (Sharpe-like ratios, max drawdown caps, variance penalties) and surfaces them to the user before every run.

## The product

All of this is exposed through a **Telegram-first product**: configure, launch, monitor, and stop agents from inside Telegram. The grid engine, AI loop, and Mantle proofs sit behind that simple UX.

<CardGroup cols={2}>
  <Card title="How it works" icon="diagram-project" href="/platform/how-it-works">
    End-to-end flow from Telegram to Bybit to Mantle.
  </Card>

  <Card title="Why Mantle" icon="cube" href="/mantle/why-mantle">
    Why we prove every run on Mantle.
  </Card>
</CardGroup>
