Build AI like a department, not a smarter chatbot
The useful question for an investment firm is not how clever its AI is but how the work is organized. Agents that do work should be checked by different agents, hard limits should live in plain code, and people should make the calls that matter.
ON THIS PAGE ▾
Here is a piece of arithmetic that shapes everything that follows. If an AI agent completes each step of a task correctly 95% of the time, and the task has 20 steps, the whole task comes out right only about 36% of the time (0.95 multiplied by itself 20 times). Most real research work, from reading a filing to producing a checked table, has at least that many steps.
So the important question for an investment firm is not which model is cleverest. It is how the work is organized: who does it, who checks it, and what nobody is allowed to do at all. This post sets out how I think that organization should look, using tools that exist today.
Three ways to work with a model
A diagram shared widely this year sorts AI use into three stages, and I find it a helpful frame.
- The chatbot: better search. You do the work. It answers a question and stops. You talk to it every few minutes.
- The agent: a virtual intern. It uses tools (code, a browser, files) to do parts of a task, and it waits for you at each step. You watch over its shoulder for hours.
- The persistent multi-agent system: a virtual department. A manager agent runs teams of agents for days or weeks, coordinates with other functions, and comes to you now and then for direction and the hardest decisions.
Most firms are somewhere between the first and second stage. The third is now practical. Models can run for hours on one task, call tools through open standards such as the Model Context Protocol, and run on a schedule without anyone at the keyboard. What has not caught up is the management design. A department of agents with no structure behaves like a department of people with no structure. It works hard and moves fast, and nobody can tell what went wrong when something does.
A trading firm already has the right org chart
Investment firms learned long ago, often expensively, that the person who proposes a trade should not be the person who approves it, books it or checks it. That idea, segregation of duties, is why a firm has a front office, a middle office, a risk function, compliance and operations, each with different incentives and different information.
My view is that agents should be organized the same way, for the same reason. An agent that writes a backtest is the worst possible judge of whether that backtest is honest. It has every bias its author has, and its author is itself. The design below maps agents onto the functions a firm already has, and pairs every agent that does work with something different that checks it.

The departments, one by one
Research desk
Reader agents work through filings, earnings-call transcripts, central-bank releases and statistical data across the markets we follow: the US, Canada, India, China and Japan. Language is no longer a barrier. A Japanese securities report or a Hindi press release can be read in the original. The output is a structured note: what changed, the numbers, and a link to the exact page.
The checker is a replicator agent. It is given the note and the source document, not the reader’s reasoning, and it re-derives every figure. If a margin was quoted as 18.4%, the replicator finds revenue and operating income in the filing and divides. Any mismatch goes back with both versions shown. This is the same rule we hold our human research to (recompute everything), applied at a volume no person could manage.
Model lab
Builder agents turn a hypothesis into code, pull the data and run the backtest. This is where agents save the most time, and where they can do the most damage, because they make it cheap to test thousands of variants overnight.
Testing thousands of ideas is not the problem. Forgetting that you did is. Suppose 1,000 strategies have no skill at all and each is backtested over 10 years. By chance alone, the best of them would be expected to show a Sharpe ratio (return per unit of volatility) of about 1.0, which looks like a real edge. That is my own calculation: the expected maximum of 1,000 independent standard normal draws is about 3.24, and the sampling error of a 10-year annual Sharpe ratio is roughly 1 divided by the square root of 10, or 0.32. Multiplied together, that is about 1.0.
So the auditor agent never sees the builder’s enthusiasm, only the code and the trial log. It checks for look-ahead bias (using data that would not have been known at the time), survivorship bias (testing only on companies that still exist), and transaction costs. It also adjusts the result for the number of variants tried, using methods such as the deflated Sharpe ratio of Bailey and López de Prado. A result that does not survive the adjustment does not reach a person.
Risk office
Monitor agents watch exposures continuously: by country, currency, sector and factor. Their most useful job is explaining change in plain words. "Net exposure to Japanese exporters rose because the yen weakened, not because anything was bought" is the sentence a portfolio manager actually needs at 7 a.m.
The checker here is deliberately not an agent. Position limits, loss limits and concentration limits are enforced by short, plain, tested code that a person can read in five minutes. A language model can explain a limit, but it must never be the thing enforcing one. A model can be argued with, by a clever prompt, by a strange document, or by its own reasoning. A comparison operator cannot.
Compliance
Drafting agents prepare documents: research posts, regulatory filings, client reports. A reviewer agent checks each draft against a written rule set. Does it make a recommendation? Does it imply performance? Is every number sourced and dated? Then a named person signs. The agent narrows a reviewer’s day from reading everything to deciding on flagged items, but the signature stays human. Canadian regulators have been clear that firms stay accountable for what their AI systems do, and that claims about AI must be fair and not misleading (CSA Staff Notice and Consultation 11-348, December 2024).
Operations
Reconciler agents match internal records against custodian and broker files every day and chase the routine differences: a late corporate action, a currency conversion, a fee posted twice. Every break that is not explained by a known rule goes to a person. Operations is unglamorous, but it is where small errors become real money. Agents are well suited to it, because the work is high-volume and checkable against an outside record.
The chief of staff
Above the departments sits one manager agent. It assigns work, tracks what is open, keeps a log of every action and decision, and writes one brief a day: what was done, what was rejected and why, and the handful of questions that need a person. People are interrupted by escalation, not by activity. When colleagues in another function run their own agents, the two chiefs of staff can hand work across, but only through the same logged channel.
A reviewer only helps if it fails differently
Back to the opening arithmetic, because it shows where checking pays and where it does not. Start with 20 steps at 95% each. Add a reviewer that catches 90% of errors independently of how they arose, and the error rate per step falls from 5% to 0.5%. The task now succeeds about 90% of the time. That beats even a much better single agent that is 99% reliable per step and has no reviewer.
But if the reviewer is a second copy of the same model with the same prompt and the same data, its misses are not independent. It tends to miss exactly what the first one missed. Assume it catches only half the errors. The task then succeeds about 60% of the time, well short of the independent case.
Independent checking beats a smarter single agent
Share of 20-step tasks completed with no uncaught error, under four assumptions
- No checks (95% per step)35.8%
- Same-model reviewer, catches 50%60.3%
- Better agent alone (99% per step)81.8%
- Independent reviewer, catches 90%90.5%
| No checks (95% per step) | 35.8% |
|---|---|
| Same-model reviewer, catches 50% | 60.3% |
| Better agent alone (99% per step) | 81.8% |
| Independent reviewer, catches 90% | 90.5% |
Author’s illustrative calculation, not a measurement. Per-step error is 5% unless stated, and errors are assumed independent across steps. Checked error rate = 5% × (1 − catch rate), and success = (1 − error rate) to the 20th power.
Source: Shipra calculation
The independence assumption is optimistic in practice, so read the bars as a direction, not a forecast. Even so, the lesson holds. A checker should differ from the maker in as many ways as possible:
- A different model, from a different provider where practical.
- Different inputs. The replicator gets the source document, not the reader’s summary.
- A different job. The auditor is rewarded for finding problems, not for agreeing.
- Plain code wherever the check can be written as a rule: limits, reconciliations, arithmetic.
Walls no agent can cross
Some boundaries should not depend on any agent behaving well. In this design they are enforced by permissions and infrastructure, not by instructions in a prompt:
- Read-only access to market and account data. Agents get credentials that cannot change anything.
- No order entry. An agent can prepare a proposal with its reasoning attached. Only a person can send an order.
- No client contact. Nothing an agent writes reaches a client without a person’s review.
- No agent can change its own limits, permissions or rules.
- Everything is logged: each tool call, each source read, each draft and each rejection, so any output can be traced back.
- One switch stops all of it, and it is tested regularly, not just documented.
The reason is not that models are malicious. It is that they read things. A filing, a web page or an email can contain text written to look like an instruction, and an agent that reads it may act on it. This is called prompt injection, and no one has fully solved it. The safe assumption is that, sooner or later, an agent will be told to do something it should not. The walls make sure that when it happens, nothing important can follow.
What the people do
In this design the investment team does less of the reading and more of the judging. People decide which questions are worth asking, set the risk budget, review the exceptions the daily brief raises, and make the calls that need context no agent has: a conversation with a management team, a sense that a market is behaving strangely, a decision not to act. Their time moves from minutes per question to a few touchpoints a day. That is the real gain. The firm does not get a smarter analyst. It gets one that never stops checking.
Where this could be wrong
- Shared models mean shared blind spots across firms. If most of the industry uses the same few models to read the same documents, their conclusions may cluster. That can crowd trades and amplify moves. Diversity of models and data matters across firms as well as inside one.
- Checks can breed complacency. Once a system is right 90% of the time, people stop reading closely, and the remaining 10% gets through. The daily brief has to show what was rejected, not just what passed, so reviewers stay engaged.
- Cost and latency. Running two or three agents per task, plus logging, costs more and takes longer than one agent. For some low-stakes tasks a single agent with spot checks is the better trade.
- The rules are still being written. The CSA consultation on AI in capital markets is ongoing, and OSFI’s Guideline E-23 on model risk, which explicitly covers AI and machine-learning models at federally regulated institutions, takes effect on 1 May 2027. A design that treats agents as models to be inventoried, validated and monitored is likely to age well, but the details may change.
- The arithmetic is a sketch. Real errors are not independent, steps differ in difficulty, and catch rates are hard to measure. The point is the shape of the result, not the decimals.
The principle I would carry away is an old one in a new setting. Nobody should mark their own homework, whether they are a person or a program. Get the structure of checks right and the models can keep improving inside it. Get it wrong and a better model only makes mistakes faster.
This post is for education and discussion only. It describes a general design for using AI in an investment firm. It is not investment advice, an offer or a solicitation, and it makes no claim about the performance of any Shipra strategy. Illustrative calculations are labelled as such and are not forecasts. Past performance is no guarantee of future results.
Related questions
What is a multi-agent AI system?
It is a set of AI agents, each with a narrow job and its own tools, coordinated by a manager agent. In an investment firm one agent might read filings, another recompute the numbers, and a third check a backtest for bias. The value comes from the division of labour and the checks between agents, not from any single model.
Should an AI agent be allowed to place trades?
In the design described here, no. Agents can prepare a proposal with its reasoning and supporting data, but order entry stays with a person, and risk limits are enforced by plain, tested code rather than by a model. A model can be manipulated by a strange document or a clever prompt. A permission or a hard-coded limit cannot.
Why not have a second copy of the same model review the first?
Because its mistakes are correlated with the first one’s. The same model, given the same inputs, tends to miss the same errors. A useful checker differs from the maker: a different model, different inputs (the source rather than the summary), a job that rewards finding problems, or plain code where the check can be written as a rule.
How do Canadian regulators view AI in capital markets?
The Canadian Securities Administrators published Staff Notice and Consultation 11-348 in December 2024. It explains how existing securities law applies to AI systems, stresses governance and accountability, and warns that AI-related claims must be fair and not misleading. For federally regulated institutions, OSFI Guideline E-23 on model risk, which covers AI models, takes effect on 1 May 2027.
Sources & references
- CSA Staff Notice and Consultation 11-348: Applicability of Canadian Securities Laws and the use of Artificial Intelligence Systems in Capital Markets, Canadian Securities Administrators (via Ontario Securities Commission) (2024-12-05)
- Guideline E-23: Model Risk Management (2027), Office of the Superintendent of Financial Institutions (2025-09-11)
- The Deflated Sharpe Ratio: Correcting for Selection Bias, Backtest Overfitting and Non-Normality, David H. Bailey and Marcos López de Prado, Journal of Portfolio Management (SSRN)
- Model Context Protocol, modelcontextprotocol.io
The materials on this website are for illustration and discussion purposes only and do not constitute an offering. An offering may be made only by delivery of a confidential offering memorandum to appropriate investors. PAST PERFORMANCE IS NO GUARANTEE OF FUTURE RESULTS. Disclosures
Quantitative and machine-learning models can fail; hedging reduces but does not eliminate losses. Model and hedging risk
More in Education
View all →Five Investing Instincts, Tested Against a Century of Market Data
Our instincts about markets were built for a different world. Tested against S&P 500 and Nasdaq data back to 1928, five of them fail: checking often, fleeing bad days, acting early, trusting good times and anchoring to what we paid. The data shows what each one costs.
US Stock Drawdowns Since 1871: How Deep, How Often, How Long
After inflation and with dividends reinvested, the US market spent about three months in four below a previous high since 1871. Falls of 20% or more came about once a decade and took five years on average to recover. Deeper falls took longer, up to 12.8 years.
The IPO Base-and-Breakout Pattern, Tested on 18 Listings
Waiting for an IPO to fall, base and break out avoided the worst early losses in 18 well-known listings. But once the rule signalled, only 7 of 14 stocks beat the Nasdaq-100 over the next year, and 4 of 11 without the three famous examples.