Customer story · Homegrown
Homegrown lends on spreads it can trust
Homegrown sends borrower packets as they arrive. Cortex runs each spread as a program in which a business cannot be counted twice, and hands back the questions the documents leave open, ranked by what they decide.
- PDFLittle Fern P&L Jan–Dec.pdfWestside LLC
- PDFK-1 Okafor 2025.pdfDecatur LLC · 49%
- PDFCombined P&L all locations.pdfChecks the three
- PDFLease 1180 Peachtree.pdfPeachtree Realty
- PPTInvestor deck 2026.pptxNames a commissary
- + 59 more files: returns, K-1s, bank months, invoices, schedules
Homegrown finances restaurant groups and other multi-location operators opening their next location, including through a partnership with a major payments platform. Their files are among the hardest in lending to read.
Homegrown is a sophisticated lender. Its team built its own underwriting platform and the agentic workflows behind it, which take each packet section by section, lay out the spread, tie each figure to the page it came from, and hold the owner's books against the tax returns and the bank within set tolerances. No adjustment is saved without a reason. Homegrown also brought in the leading spreading vendors. They handled the clean cases and fell short on the nuance and complexity of real multi-location groups.
What Tapan Patel, Homegrown's CTO, wanted next was harder: a tool that hands his team only the questions to ask the borrower, with everything else already right, and knows which parts are still open. On Homegrown's own deals, Cortex got far more right than the vendors had, and earned the underwriters' trust within weeks. Homegrown is now moving its spreading onto Cortex.
Neither a playbook nor a model in charge
There have been two ways to automate this work. A fixed workflow mines the business process, writes every rule down and follows it rigidly. The playbook never covers every case, and it breaks on the first packet nobody planned for. That is how a group's combined statement ends up added on top of its own locations.
The other way puts a frontier model in the center and lets it drive. You get a fluent spread back, lose control over which path the model took to get there, and cannot tell which cell is wrong without checking all of them. You beg and plead with the model to follow the rules, and fix one deal only to break another. Tapan has put each new model through this himself and knows the pattern well.
We switched to the newest models. It got a little better each time, but the fundamental problem doesn't go away. You run it five times and it's different five times.
We are not sure which is worse, a model blathering that it will get it right or thousands of rules nobody can reconcile. The second is where expert systems ended up, and the first is where most agents are today. Frontier models can fly on work like this once you stop asking them to run the show. Take what can be codified and formalized, enforce it, and give the model the parts that need fluid judgment.
What goes wrong between the pages
The documents arrive however the owner's bookkeeper exported them. A packet holds statements for each location and often a combined one for the group, returns filed under each LLC, months of bank statements, a debt schedule and the owner's own spreadsheets. Nobody says which file belongs to which company. One group can run to dozens of companies under two layers of holding companies, with an outside investor in one location, a chef who owns half of another, a management company billing every location, and a landlord company the owner holds personally.
There's no standard format for how you produce a P&L. Everyone produces it differently.
Tax returns use legal names, statements use trade names, and what the owner says about the group may not match the documents. A combined statement already includes its locations, fees one business pays another cancel out for the group, and money moving between the borrower's own accounts is not revenue. Fiscal years, year to date and partial years have to line up before anything is compared or annualized, a statement printed in thousands looks like a business a thousandth the size, and only the debts owed on the day of the offer count toward debt service. Get any of these wrong and the spread still looks fine.
Who is in charge
A fixed workflowEvery path drawn in advance
Breaks on the first packet nobody planned for, and every rule is written and kept current by hand.
A model in chargeModel steps with tools, run twice
- model reads the files
- model maps the rows
- model adds it up
- Run 1 revenue
- 6,423,105
- Run 2 revenue
- 12,846,210
Same files, different answers, and no record of why the second run added the combined statement.
CortexA program written for this packet, run by the engine
group Fernwood Kitchen Group
each business read statements, returns
names match legal ↔ trade
revenue = each business once
revenue = locations + combined ✗ combined already has them
combined checks sum(locations)
catering is its own business ← answered
Cortex asks, unprompted“Catering has its own bank account and its own line on Westside's books. Is it a separate business?”
The language cannot say a business twice. Where the documents are ambiguous, Cortex asks before it guesses, and a reviewer can open any decision and redirect it.
Models read these pages well, but a spread has to stay true across dozens of documents and hundreds of figures. Held in a model's head, that structure drifts across a transcript where nobody can check it.
In Cortex a reasoning engine runs the work and calls a model when it needs judgment. The spread is a program in a small language for spreading, with words for what an underwriter works with: a group, its businesses, who owns what share, which statement covers which businesses, which fees cancel inside the group. A business counted twice cannot be written in it. The engine calls a model to read a page, to recognize what a statement is, or to decide whether two names are one company, and records each judgment with the evidence for it so it can be checked and overturned. Everything else, the arithmetic included, runs as code.
A prompt is a suggestion. Where we know how to enforce a property, we should enforce it, which is the argument of Reasoning as a systems problem. Here the property is that no business is counted twice, and the language has no way to say otherwise. Checks are for what cannot be enforced, such as whether the owner's books agree with the bank. And you do not need a Lean proof for everything. You need the right level of abstraction for the domain.
We write these languages with frontier models, and our aim is for each new domain's language to be synthesized rather than built by hand. Better models will not make this layer obsolete, any more than faster processors made compilers obsolete. When a better model ships, Cortex reads better, and the rules and the reviewer's decisions stay in the program, whichever provider the model comes from.
When two documents disagree
Revenue
2,118,402
Range until answered2,091,330 to 2,118,402
- Own P&LFW West P&L 2025 · total income2,118,402
- Combined statementWestside column2,118,402
- Sum of 12 monthsmonthly P&Ls, Jan to Dec2,118,402
- Tax returnForm 1065 · line 1c2,091,330
One question for the borrowerThe tax return reports 27,072 less than the books. Are comps and discounts recorded differently on the return?
Moves: revenue · gross profit · EBITDA · coverage
Plenty of document tools now link a figure to the page it came from. Homegrown's platform already did, and Cortex does too, with every reading held to the page's own totals, to the cent. The hard parts are calculated figures, which have no single page to point to, and documents that disagree.
Each figure in the spread is a claim, and Cortex keeps every route that reaches it, from the business's own statement to the combined statement, a sum of months or the tax return. Agreement with a source the owner did not write corroborates the figure. A disagreement becomes an open question that says which figures its answer would settle. Every number is marked solid, a range, or blocked until something is answered.
If a number has no source behind it, no record of how it was calculated and how confident you are in it, I might as well not look at it.
A check has to do something
I compare labor, rent and cost of goods as a share of revenue on the tax return with the same shares on the financials. They move a little year to year. If rent went from ten percent of revenue to two, that would raise the hair on my neck. If they line up, I can trust the financials.
- Rentbooks vs bank · should be exactMatches
- Payrollbooks vs bank · should be close0.9% apart
- Labor share of revenuebooks vs tax return32.8% vs 32.1%
- Scalebalance sheet vs deposits and debtsPrinted in thousands · fixed, two checks agree
- December P&Llines vs printed totalDoes not add up · its figures withheld
- Depositsbank vs revenue · some wiggle8.4% lower · ask which accounts hold the rest of the sales
Owner's booksOutside source
A profit and loss statement is the owner's account of the business, so Cortex holds it up against the bank and the tax returns. A check that only raises a flag hands the work back to the underwriter, so every check in Cortex has to say what happens when it fails. When independent evidence agrees, it fixes the figure, and two comparisons showing a statement was printed in thousands are enough to correct its scale. When it cannot fix it, it blocks the figures that rest on it, and they show no value rather than a wrong one. Otherwise it asks the borrower for the specific document that would settle it, and says which figures in the deal will move.
Each check needs its own tolerance.
Tips go into the bank account but never show up on the P&L, so deposits won't line up perfectly. Payroll should be close. Rent should be spot on.
Homegrown's underwriters had already built that judgment into their platform's flags. In Cortex it is written into each check, along with the innocent explanations that keep coming up, so a business that keeps its books on a cash basis is not flagged on every deal for carrying little that customers owe it.
Asks before it guesses
Every adjustment needs a reason, and the reason is very human. Then everything downstream has to change with it.
Westside's 2025 management fee to the parent. Which figure is right?
The answer becomes a line in the programEvery figure that rests on this fee follows it, and it can be undone.
- Westside EBITDA
338,945342,945 - Group EBITDAunchangedthe fee cancels inside the group
- Westside debt service coverage
1.41×1.43× - Intercompany fees, eliminated
opentied out - 9 more figures updated
Underwriters make judgment calls all the time, such as which costs were one-offs to add back or which loans the new financing pays off. In most tools that judgment is an edit in a spreadsheet cell, lost the next time someone rebuilds the file.
Cortex does not wait to be corrected. When the documents leave a real choice open, such as whether a catering arm with its own bank account is a separate business, it flags the choice and asks before it guesses, and says which figures the answer will move. The answer becomes a line in the program. A reviewer inspecting a decision can also step in and redirect it in plain words, and sees exactly what changed. Correct a model in a chat and the rest of its context shifts too. Here a correction changes what depends on it and nothing else, because every figure knows what it was derived from.
Each decision is recorded against the version of the deal it was made on, and it can be undone. A rebuild replays the decisions without calling a model and matches the published deal byte for byte, and a fresh reading of the same pages is held to the same totals and checks, so a figure read differently on a second run does not slip through.
What changed
| Typical spreading | With Cortex | |
|---|---|---|
| Documents | Assigned to entities by hand first | Sent as they arrive |
| Combined statements | Added to the locations | Used to check the locations |
| Two documents disagree | Two numbers on screen | One question, with the figures it moves |
| Bank and tax checks | A separate exercise | Part of every spread, each with a consequence |
| A reviewer's call | An edit in a cell | A line in the program, with what it moved |
Homegrown's underwriters reviewed the spreads on live deals and chose to move their spreading onto Cortex, with spreads, checks and open questions delivered into Homegrown's own platform. The rules and tolerances Homegrown's underwriters worked out deal by deal are now written into Cortex, where they apply to every packet. Tapan described where this ends up.
Just upload documents and make an offer. If that existed, it's a real easy yes for us.
Our thanks to Tapan, Ian and Homegrown's underwriters, whose questions shaped much of what Cortex does on a deal.
SQL does not care whether it runs for a hospital or a retailer, and the core of Cortex does not care about lending. The rows of a spread, the checks and Homegrown's rules sit on top as vocabulary. Next we are taking it to healthcare billing, legal review and banking, wherever someone signs their name under the answer. Our first public result in another domain is Cortex on τ³-bench.
Cortex is in early access. If your team makes decisions from documents you do not control, talk to us.