Skip to main content
Perps Agent is split into clear, independently testable layers.

Layers

LayerRole
Telegram UXUser-facing product. Configure, launch, monitor, stop.
AI agent loopProposes risk-adjusted grid parameters. Learns from attested history.
Grid enginePlaces and manages laddered orders. Tracks fills, PnL, drawdown.
Exchange abstractionAdapter interface for venues (Bybit today, more on the roadmap).
Mantle proof layerCommits configs and attests outcomes on-chain.

Data flow

Telegram → AI loop → Mantle (commit)

              Grid engine → Exchange adapter → Bybit

              Mantle (attest) ← verified outcome

             Telegram (results)

Design properties

  • Non-custodial. The exchange adapter holds only trade-only API keys; user funds never move off Bybit.
  • Pre-trade commitment. No order is placed until the config hash is committed on Mantle.
  • Post-trade attestation. No outcome counts toward the agent’s track record unless it is attested on-chain.
  • Pluggable venues. Adding a new exchange means writing one adapter — the grid engine, AI loop, and proof layer don’t change.