> ## 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.

# Bybit integration

> Non-custodial execution on Bybit — your keys, your capital.

Bybit is Perps Agent's first execution venue. The integration is **non-custodial by design**.

## What the user connects

The trader generates a Bybit API key with:

* ✅ Trade permissions (read + place/cancel orders)
* ❌ **No** withdraw permissions
* ❌ **No** transfer permissions

That key is what Perps Agent uses. Your funds stay on Bybit, under your account, the entire time.

## What the agent can do

* Read market data and your account state.
* Place, modify, and cancel orders **on the market committed on-chain**.
* Respect the risk caps committed on-chain (max drawdown, max leverage, max position).

## What the agent cannot do

* Move funds off Bybit.
* Trade markets that weren't committed.
* Exceed the committed risk caps.
* Change a strategy mid-run without writing a new commit.

## Revocation

You can revoke the API key from Bybit at any time. The agent immediately loses the ability to trade. Past runs remain attested on Mantle.

<Warning>
  Perps Agent will **never** ask for a withdraw-enabled key, your password, your 2FA seed, or your exchange withdrawal whitelist. See [Official links](/reference/official-links).
</Warning>
