Thought Leaders

AI Agents Can Make Financial Decisions. But Who Controls Their Execution?

Diana Pires
Add Securities.io to your preferred sources on Google
Seven brass trading candlesticks stand on a steel rail. The tallest rises above the crossbar of a red gate.
Key PointsA deterministic execution layer must gate agent orders because prompts cannot reliably…
View more
  • A deterministic execution layer must gate agent orders because prompts cannot reliably restrict model behavior.
  • Firms need aggregate limits so twelve compliant agents cannot combine into one non-compliant book.
  • Autonomy should be earned in stages with limits raised only after paper and live records prove compliance.

This year Gemini became the first regulated U.S. exchange to allow clients to connect AI models such as Claude and ChatGPT directly to their trading accounts. The exchange wired its full trading API into the Model Context Protocol, so anything a trader can do through the API, a connected agent can now do too.

For example, a retail account can now be traded by software that reads the news, forms a view and places an order, with no intervention by humans. Placing the order is where the value is, and where a mistake costs real money.

With AI agents trading, the leap of faith is not the same as it used to be. In the U.S., brokers have had more than a decade of experience to demonstrate the controls that can be implemented to provide a reasonable level of confidence. That is a great start, but what’s missing is concrete answers to the questions. Which instruments can agents touch, how large an order can they send, who can stop them and what gets recorded? The firms that can demonstrate answers in writing will be better positioned to say “yes” because they can show exactly what the agent could and could not do.

From Recommendations to Financial Actions

In finance, many use cases only call for recommendations: models can summarize research, flag anomalies and draft commentary before they are adopted or dismissed. The arrangement is safe and informal: because models are not allowed to make real-world decisions, there is no need to define rules around such uses.

As FINRA‘s primer on generative AI points out, unlike traditional chatbots, agents can autonomously execute actions without human supervision. Agents have credentials, permissions and goals, and once a recommendation is made an order is placed with a time stamp. Advice can be dismissed, but an execution is final: the trade record shows what was done and when, not why.

A firm that has never defined the actions the agent should be able to take effectively has given the integration whatever it wants. With a full API, for example, that could include short sales, margin and after-hours orders the firm never intended to support.

Why Smarter Models Are Not Enough

A better model makes fewer mistakes but it still makes some. Since language models are probabilistic, an error rate of one in a thousand that is harmless in a research summary becomes a daily matter for an agent sending a thousand orders a day. Between the model and the market, therefore, the rule must be deterministic: that it generates the same result every time.

Four failure modes recur in agent designs:

  • Ambiguity. Something like a corporate action, a stale quote or an unclear instruction is misinterpreted.
  • Overreach. A position is too large for a given account size because the instruction to be ‘aggressive’ is not accompanied by a specific limit.
  • Repetition. An agent executes an order that has already been filled, or keeps executing orders after the conditions that initially justified them have changed.
  • Injection. Prompts hidden in a document, a web page or a news feed tell the agent to do something it was never asked to do. FINRA notes that prompt injection exploits the agent’s access and could expose customer data, compromise compliance monitoring or reveal proprietary strategies.

Prompts are no fix for this. Just telling a model “never exceed $10,000 per order” is more of a request than a restriction. It lives in the same system that might misread it, and an injected instruction can override it. Within the industry, the argument is that firms should aim to control their AI rather than blindly trust it, by building visibility, predictability and control around the model

Separating Decision-Making from Execution

In trading desks this was resolved a long time ago: the trader who wants a position does not set their own limits; the risk function does. The same concept applies here, with the model as the trader and software as the risk function. The software cannot be influenced.

Such rules must be enforceable (the model cannot edit them), and frequently involve built-in safeguards to guard against risk. These may be the bounds on a portfolio (e.g. no shorting), individual orders (e.g. the maximum size of a trade), or a given day (e.g. the overall exposure). In practice this is a short rule set, e.g.: BTC and ETH spot, two venues only, no shorting, $25,000 per order, and $100,000 per day.

Orders proposed by the model are vetted against this list before they leave the firm, with any violations rejected and logged with an explanation.

Brokers are already required to have this level of controls, both for human and algorithmic traders. Since 2010, the SEC’s Market Access Rule (Rule 15c3-5) has required broker-dealers with market access to use pre-trade controls reasonably designed to block orders that exceed pre-set credit or capital thresholds or that appear to be erroneous. With an AI agent, this is a new kind of operator behind the same gate. Spot crypto venues, however, fall outside Rule 15c3-5, so on a crypto account the gate has to be built by the firm or the user.

Knight Capital’s August 1, 2012, trading incident shows the consequences of failing to stop these situations. Knight’s order router, while handling 212 small retail orders, sent millions of orders into the market over 45 minutes, and the firm lost more than $460 million. In the SEC’s first enforcement action under the rule, Knight paid $12 million to settle. No AI was involved, but an unsupervised agent could repeat exactly that pattern.

Incidentally, firms don’t need to create a governance vocabulary. NIST, the US Government’s standard agency, has published an AI Risk Management Framework. This divides the program into four functions (govern, map, measure and manage), and in July 2024 NIST added a profile for generative AI systems. In practice, that means a written list of the agents which exist, what each of them can do, how its limits were tested and who would be accountable for it.

The question is: would you still be confident in the system’s execution limits if its model acted in an unanticipated manner? If the answer depends on the model’s instructions, then you don’t have an execution layer.

Managing a Fleet of Agents

One agent with its own position limit is manageable, but a dozen is harder. One agent is buying a stock while another, with a different interpretation of the same news, is selling it. Three each stay under $1 million, yet together hold $3 million of the same name. In Knight’s case, the SEC found that its internal position limits were not coordinated with automated firm-wide controls, and that position monitoring relied solely on manual review rather than automated alerts.

Four controls need to be in place:

  • Identity. Each agent has its own credentials and permissions instead of sharing one key.
  • Least privilege. An agent that analyzes data has no trading permissions, so an injected instruction has nothing to abuse.
  • Aggregate limits. Exposure is capped at the firm level as well as per agent, so twelve compliant agents cannot add up to a non-compliant book.
  • Kill switch. A named person can stop the agents, and the switch is tested on a quiet day, not during an incident.

There will of course be costs to those checks – latency, rejection of some orders that should be entered – but if they block orders that actually shouldn’t be entered, then that additional latency is a small price to pay. Moreover, integration of such principles early on makes them easily adjustable by simply changing one value.

Autonomy Earned by Controls

An automated agent can grow its level of autonomy through a sequence of well-defined steps. The first is a stage where it simply reads and advises; the second is to paper-trade what it has recommended and record how often its orders would have been rejected by the execution layer. At the third step it trades live, but with small limits. Finally, its limits can be raised step by step as its paper and live record shows that it stays within them. At each stage the auto-trading limit is based on a number in the execution layer, not the agent itself making a vow on its behavior.

It’s now possible to operate this way on institutional desks and, since this spring, in retail crypto accounts. The principle is the same in both; what changes is who builds the gate. For firms, the gate is the execution layer described above: written rules, separate agents, firm-wide limits, a tested kill switch and a register. For individual traders, the exchange account is the gate:

  • Trade-only key. Use an API key that allows trading but not withdrawals.
  • Separate sub-account. Fund it only with what you can afford to lose.
  • Exchange-side limits. Where possible, set order-size limits on the exchange itself.
  • Daily review. Check the trade log every day.
  • Small steps. Follow the stages above: paper-trade first, then go live with small limits.

In both cases, the model is not what makes an agent safe to trade. As agents reach more trading accounts, regulators will follow. They will not ask how smart the model is, but what stops it. Firms that can already answer will keep their agents trading.

Diana Pires is Co-Founder of Bytex, an agentic infrastructure company bringing AI agents into institutional execution across CEX, DEX and traditional markets. She has spent 15+ years in fintech and digital assets, including roles as VP of Institutional Sales at Crypto.com and AVP at OKX. She is a regular speaker and panellist on digital assets, trading technology and institutional adoption at events including TOKEN2049, Consensus, Ripple Swell and Digital Asset Summit NYC.