Guides/Technology

Agentic Workflows in Finance: What an AI Agent Is and Where It Fits

A model in a loop with tools. Where that helps on a desk, where it does not, and the arithmetic of why checkpoints matter.

By Surojit Chakraverti, founder of L3VLUP and an investor running a long-short healthcare and technology equities strategy.

On this subject: coaches finance and tech candidates through technical rounds.Updated 26 November 20266 min read

A chat with a language model is one question and one answer. An agent is the same model placed in a loop: it is given a goal and a set of tools, it decides what to do next, does it, reads the result, and repeats until the goal is met or it is stopped. That small change in structure is what lets a model read a filing, pull the figures, run a calculation and draft a note without a person issuing each instruction. It is also what lets a small error in step two become a confident conclusion in step eight. This guide explains the structure, works an example, and sets out the arithmetic that decides how such a workflow has to be designed.

Three things that get called an agent

The word is used loosely, and the differences matter because they decide how much can go wrong.

Chat, pipeline and agent compared
Who decides the next stepSuitsMain risk
ChatYou, every turnA single question or draftAn unchecked answer
Fixed pipelineThe person who designed it, in advanceA task done the same way every timeBreaks on the case nobody planned for
AgentThe model, at each stepA task whose steps depend on what is foundErrors compound across steps

The anatomy of an agent

Whatever the product, an agent has five parts. Knowing them is enough to ask the right questions of any tool a firm is considering.

  • A goal: stated precisely enough that completion can be recognised
  • Tools: the actions it may take, such as fetching a filing, running a calculation or searching a document set
  • State: what it has learned so far, carried from step to step
  • A stop condition: done, out of budget, or stuck
  • Checkpoints: the places where a rule or a person must approve before it continues

A worked example: an earnings update

A company reports its quarter. The task is the first-pass update an analyst would otherwise spend the early morning on. An agent’s run might take eight steps.

Steps one to five are mechanical, and the right design does not let the model do the arithmetic at all. It extracts the figures; a calculation tool computes growth and margins; a rule checks that the segments sum to the reported total before anything is written. Steps six and seven are where the model adds something a script could not. Step eight belongs to a person.

  • 1. Fetch the earnings release and the prior-year release from the filing system
  • 2. Extract revenue, operating income and EPS for both periods, with the sentence each came from
  • 3. Pass the figures to a calculation tool for growth rates and margins
  • 4. Check that segment revenue sums to the reported total; stop if it does not
  • 5. Compare each figure with the estimate held on file
  • 6. Read the management commentary for the stated reasons behind each variance
  • 7. Draft a one-page note in the house template, every figure footnoted to its source
  • 8. Hand the draft and the full log to the analyst for review

The arithmetic of compounding error

Suppose each step is right 95% of the time, which is a good score for a single task. The run is right only if every step is. Across eight independent steps that is 0.95 multiplied by itself eight times, or 66.3%. One run in three contains an error somewhere, and nothing in the output says which.

Raise each step to 99% and the run is right 92.3% of the time. That is a large gain, and it is still an error in roughly one note in thirteen, which no research desk would accept from a junior.

This is why reliable agents are built around checks rather than around a better prompt. A deterministic check, such as segments summing to the total, does not improve the model. It turns a silent error into a stopped run, and a stopped run costs minutes where a wrong note costs credibility.

Chance an eight-step run is right at every step
Reliability of each stepWhole run correctRuns with an error
95%66.3%About 1 in 3
99%92.3%About 1 in 13

What a run costs

An agent rereads its accumulated context at every step, so cost grows faster than the length of the documents. Take an annual report of 150,000 tokens, which is roughly 110,000 words, and a run that passes over that context twelve times. That is 1.8 million input tokens. At an assumed price of 3.00 (in dollars, say) per million input tokens, the run costs 5.40 before any output.

The price is an assumption for the sum, and published prices change often, so check the current rate for the model in question. The structure of the calculation does not change: tokens per pass, multiplied by passes, multiplied by price. A workflow run across 500 companies each quarter is 2,000 runs a year, and at 5.40 each that is 10,800, which is a budget line someone has to own.

Where agents fit on a desk, and where they do not

The tasks that suit an agent share three properties: the steps are known in outline, the sources are documents rather than conversations, and a wrong answer can be caught by a check.

The tasks that do not suit one are the ones where the value is the judgement. An agent can assemble everything a recommendation rests on. Whether to own the stock is a decision with a name attached to it, and no firm’s compliance framework assigns that name to software.

  • Fits: earnings updates, comps refreshes, comparing two filings, first-pass diligence question lists, checking a model for mechanical faults
  • Does not fit: the investment recommendation, anything that cannot be traced to a source, any action that sends information outside the firm without review

Five design rules

These hold whatever tool is used, and they are the questions to ask of any workflow presented to you as finished.

  • Arithmetic is done by code, never by the model
  • Every figure in the output carries its source
  • Each tool has the narrowest permission that does the job: read access where reading is all that is needed
  • Every step is logged, so a wrong output can be traced to the step that produced it
  • A person approves anything that leaves the building

Next

See the method run on a real company

The research skills are written-up workflows for the tasks in this guide: an earnings review, a comps set, a filing comparison. Each one states its sources and shows its working.

Keep your AI Product Sense Drill results

AI Product Sense Drill is free without an account. A free account keeps your practice streak and the drills you have done on every device, and builds the next three things to do from your target. One email, no password.

Frequently asked questions

What is an agentic workflow?

A task carried out by a language model working in a loop with tools: it decides the next step, takes it, reads the result and continues until the goal is met. It differs from a chat, where a person decides every step, and from a fixed pipeline, where the steps are set in advance.

Why do AI agents make more errors than a single prompt?

Errors compound. If each step is right 95% of the time, an eight-step run is right at every step only 66.3% of the time. Deterministic checks between steps are what stop an early error reaching the final output.

Will agents replace junior analysts?

They change the first draft more than they change the job. Extraction and assembly become faster; checking, judgement and accountability stay with a person. The analyst who can design and verify such a workflow is more useful than one who can only do the extraction by hand.

What should I learn to work with agents in finance?

How to write a precise brief, how to verify output against a source, and enough Python and SQL to read what a tool is doing. Understanding where a workflow needs a check matters more than knowing any one product.

Ask a follow-up question

Something this guide did not answer for your situation? Ask it here, and the answer stays beside the guide for the next reader.

Ask a follow-up

No questions yet. Ask the first.

All discussions · Community rules