Why Finance Agents Need a Model Layer, Not Just Spreadsheet Access
You've built the agent. It calls a spreadsheet via API, reads the relevant cells, and produces something useful — a variance analysis, a scenario update, a summary for a board meeting. It works. Until you change the spreadsheet layout. Or until you start a new session and have to explain the model structure all over again. Or until the agent produces a number that's technically correct from the cell values it read, but violates a convention you've maintained for three years without anyone knowing to encode it.
Connecting an AI agent to a spreadsheet is a reasonable first step. It's not a model layer. And the difference turns out to matter a lot for anything you'd call real financial work.
What spreadsheet access actually gives an agent
When an agent reads a spreadsheet — through an API, a plugin, or a code execution tool — it gets cells. It can read values, detect patterns in ranges, and make inferences about structure from formatting and proximity. That's more than nothing.
What it doesn't get:
- Types. A cell with the value 0.12 could be a tax rate, a growth assumption, a margin, or a rounding artifact. The agent doesn't know.
- Dependencies. Whether that 0.12 feeds into three downstream formulas or is an isolated value — the agent can't see this without parsing every formula string in the file.
- Timeline semantics. Which columns represent months vs. years, where the actuals end and the forecast starts, whether a value is per-period or cumulative — all inferred, none explicit.
- Roles. Whether a line is an input assumption, a formula driven by other lines, an aggregation, or an output — these are categories that don't exist in spreadsheet format.
- History. What the value was last week. What changed and why.
For a one-shot query — "what's the EBITDA in 2026?" — this is fine. For anything iterative — updating assumptions across scenarios, understanding why a number changed, rebuilding context across sessions — spreadsheet access is a thin foundation.
The session reset problem
The most underrated cost of running agents on spreadsheets is the context overhead on every new session.
A well-built financial model has logic that took days to develop — revenue drivers, cost structure dependencies, debt waterfall rules, EBITDA normalization conventions. An agent working on this model in session one learns all of this through your prompts and its own inference. Session two starts from scratch.
You re-explain the model structure. You re-establish the conventions. You re-orient the agent toward the right interpretation of ambiguous cells. Then you do the actual work. For anyone running regular AI-assisted financial workflows, this overhead compounds quickly.
A model layer solves this structurally. The model's structure — its variables, their types, their dependencies, their timelines — is stored and queryable. The agent reads it at the start of every session without explanation. The context is persistent, not reconstructed.
The convention problem
Financial models carry organizational conventions that aren't visible in cell values.
Your EBITDA excludes IFRS 16 lease costs — a decision made three years ago for comparability reasons. Your FX rates are ECB end-of-period, not average — an auditor asked for it once and it became the standard. Restructuring charges from 2024 are excluded from adjusted figures — that was a board decision, documented in a memo nobody can find anymore.
These conventions are real. They're defensible. They're the difference between your numbers and a competitor's numbers when a PE board asks why the EBITDA margins differ. And they exist nowhere in the spreadsheet.
An agent working on your model doesn't know any of this. It calculates what the cells tell it to calculate. It reports what the formulas produce. If the conventions aren't encoded somewhere the agent can read, every run is a convention violation waiting to happen.
This is what FINANCE.md addresses — a structured file that encodes organizational financial conventions in a format any agent can read at session start. EBITDA definition, FX policy, restatement rules — declared once, versioned, queryable. The agent knows the rules before it touches the numbers. See the FINANCE.md open standard for the specification.
What a model layer actually provides
A model layer sits between an agent and a data store. It exposes not just values, but structure.
Typed variables. Every variable in the model has an explicit type — assumption, formula, aggregation, output. An agent knows whether it's looking at an input it can change or a derived value it should only read.
Dependency graph. The relationships between variables are explicit and traversable. An agent updating a revenue growth assumption knows which downstream variables will be affected before it makes the change.
Timeline semantics. The model's temporal structure is declared — monthly, quarterly, annual, the start and end of the forecast, where actuals end. The agent doesn't infer this from column headers; it reads it from the model definition.
Query interface. An agent can ask "what are the revenue drivers?" and get a structured answer, not a range of cells to interpret. It can ask "what changed since last week?" and get a diff, not a request to compare two file versions.
Convention encoding. The model layer stores not just the structure but the rules — what this organization means by EBITDA, how FX is applied, which items are normalized. These travel with the model, not with the analyst who built it.
When spreadsheet access is enough
This distinction only matters for agents doing iterative, multi-session financial work with real conventions and real stakes.
For one-shot automation — "pull these ten values from this spreadsheet and put them in this report" — spreadsheet access is entirely sufficient. The agent reads cells, formats output, done. No model layer needed.
For agents embedded in simple workflows — a budget collection process, a monthly data pull — the structure of the spreadsheet is stable and well-understood by the team. The agent doesn't need to know why the structure exists. It just needs to navigate it reliably.
The model layer becomes necessary when:
- The agent needs to modify the model, not just read it — and modifications need to respect the model's logic
- The agent operates across multiple sessions and can't reconstruct context each time
- The model's conventions need to be respected, not just its formulas
- Multiple people or agents work on the same model and need consistent interpretation
- The model's history matters — what changed, when, and why
For finance professionals building agent workflows around their core models — budget, deal model, unit economics — these conditions are almost always present.
What this looks like in practice
A finance professional building an agent-assisted FP&A workflow needs a few things to work reliably.
First, the model structure has to survive between sessions. When the agent opens a session on Monday and another on Thursday, it needs to be working on the same logical model — not reconstructing it from cells each time.
Second, when the agent proposes an update — a revised revenue assumption, a new cost item — it needs to know what else that update affects before making the change. A spreadsheet doesn't tell it. A dependency graph does.
Third, when the agent outputs a number, a human needs to be able to verify it. "Revenue grew 12% because growth assumption was updated from 8% to 12% in the base scenario" is a traceable explanation. "Cell D14 changed from 0.08 to 0.12" is not.
These aren't exotic requirements. They're the basics of a financial workflow that anyone would defend in a meeting. A spreadsheet layer provides the raw data. A model layer makes the agent's work verifiable and reusable.
The bottom line
The gap isn't whether AI can work with financial data. It can. The gap is whether the infrastructure behind the agent is designed for financial logic — structured variables, typed dependencies, persistent conventions, traceable history.
Spreadsheet access is a starting point. For agents doing real financial work — iterative, multi-session, convention-bound — it's not enough. The model layer is what makes the agent's output defensible, its context persistent, and its conventions consistent with what your organization actually means by its numbers.
Building on top of a model layer rather than a spreadsheet is the difference between an agent that assists and one that can be trusted.
Layerz is a financial modeling infrastructure that exposes structured model layers to AI agents via REST API and MCP. Finance professionals use it to build agent workflows where context persists across sessions, conventions are encoded and versioned, and every output is traceable. Explore Layerz →