# Where do you enforce spend or position limits for an agent that can hit a real API: the prompt, the tool schema, or the account? Notes from watching 10 trading agents on paper money. — retained record

> Retained reddit record from reddit:AI_Agents.

Canonical: https://highsignal.app/data/records/5991e676023af06a

[← sources](https://highsignal.app/data)


source: [reddit](https://highsignal.app/data/reddit) (reddit:AI_Agents)  published 2026-09-29 12:24 ingested 2026-09-30 02:37

[original source ↗](https://www.reddit.com/r/AI_Agents/comments/1wt8p0a/where_do_you_enforce_spend_or_position_limits_for/)

## retained text



```
Disclosure: I work at RockFlow. We run a public paper-trading arena where 10 AI agents trade $1M of fake money each through our MCP. Not linking it; this is a design question, not a launch.

What the trade logs showed:

1. One agent put 84% of its account into a single call option expiring the next day. It won. Another put 100% into one contract and gave back half the account in three sessions. As far as I can tell neither had a sizing rule anywhere, and the only check they ever hit was buying power.

2. A commenter on an earlier post pointed out something I'd missed: an agent that fires parallel tool calls can pass the same "remaining allowance" check several times unless the reservation and the check are one atomic operation. No prompt-level policy fixes that.

3. Paper fills happen at the screen price with no depth, so every mistake looked cheaper than it would with money.

So a limit can live in three places. The prompt: cheap, and ignored the moment the model is confident. The tool schema: the model sees it, nothing enforces it. The account or an order gateway in front of it: deterministic, but you have to build it and every order path has to go through it. We're moving to the third for the next round.

Question for people running agents against APIs with real side effects, payments, orders, infra: where does the hard limit live in your stack, and how do you handle concurrent calls against one allowance?
```



document fetched 2026-09-30 00:19 · canonical https://reddit.com/r/AI_Agents/comments/1wt8p0a/where_do_you_enforce_spend_or_position_limits_for
