My AI agent's trade broke the limit. The refusal told it what would fit.
Description and use
Pilot provides detailed refusals, enabling the agent to automatically adjust orders to comply with limits.
Problem
When an AI trading agent is given a private key and a trading SDK, it can submit any order the exchange accepts, but a guardrail that only rejects orders without guidance leaves the agent stuck, guessing or looping.
Outcome
Pilot’s detailed refusals enabled the agent to adjust orders automatically, preventing policy violations and eliminating manual intervention.
Workflow
- 1. Agent proposes order
- 2. Pilot evaluates policy via pure function
- 3. If violation, Pilot returns rule, detail, and next safe action
- 4. Agent receives refusal, replans with suggested size
- 5. Order passes policy and is sent
Evidence
the position this order leaves would be $40.11 notional, above the $25 cap per market next safe action: reduce size to at most 0.00031 BTC
Every limit check in Pilot goes through one pure function: facts in, violations out
The re-planned short came back at $24.86 notional, under the cap, with liquidation 189.78% from mark
- Record date: 2026-11-01T04:28:55.314Z