Learn
How to put guardrails on an AI trading agent before it trades
Guardrails are the limits, budget, and permissions an AI trading agent must stay inside. With Cook, you backtest the agent, approve a strategy version, set its limits and budget, and choose whether it monitors, alerts, or executes. Cook’s engine checks every order against those limits before sending it, and every agent has a kill switch.
Published · Updated
How do you put guardrails on an agent, step by step?
- Describe
Describe your setup in chart chat.
Analyze your chart with Cook and define the setup you want to trade.
Chat with charts - Review
Review the entry, exit, and risk nodes.
AI helps build and explain your agent’s nodes. Check each entry condition, risk limit, and exit before you test it.
Inspect a strategy’s nodes - Test
Backtest the agent on historical data.
Review the trades, losing cases, drawdown, fees, and modeled slippage. Historical results are hypothetical; they do not guarantee future performance.
Backtest your strategy - Approve
Approve a strategy version.
Approve the version your agent runs before it is deployed. The AI drafts; Cook’s engine acts. What runs is the version you approved.
- Limits
Set the agent’s limits and budget.
Each agent has its own limits and budget, all set by you. Cook’s engine checks every order against the approved limits before sending it.
- Permission
Choose its permission: monitor, alert, or send live orders.
You choose whether each agent monitors, alerts, or executes. Live orders are a separate permission. An agent can monitor and alert you without sending orders, and you can place trades yourself.
Cook sends live orders to your exchange, broker, bot, or prop-firm account through direct exchange connections at the venues listed as available and through any platform that accepts webhooks; more direct connections are rolling out venue by venue. Supported venues and order types are confirmed before access. Third-party platforms may have their own fees and terms.
See where your agents can run - Stop
Know where its kill switch is.
Every agent has a kill switch, so you can stop it.
- Deploy
Deploy it across a watchlist.
Deploy the approved strategy across selected crypto pairs. The agent checks each pair against its nodes and can alert you when a setup needs review.
Monitor supported crypto pairs
- Risk on each trade
- 0.5% of account
- Stop-loss
- Below the signal candle
- Take-profit
- 2× the risk
- Open positions
- 1 of 1 allowed
- Live orders
- Off until you allow them
What do guardrails not control?
Guardrails keep an agent inside the limits and budget you approve. They do not control the market: order acceptance and fills depend on your venue.