Technology 04
Deterministic Financial Computation
Overview
Financial Figures Come from Records and Controlled Calculations.
The analytical foundation uses controlled SQL, financial formulas, statistical methods and deterministic calculations. Calculations are versioned, support reconciliation, and can be reproduced from the same data at any time.
Language models are not the authoritative source of financial values. The model decides which analysis to run and explains the result; the calculation engine produces the number.
Architecture
How It Is Designed.
1 · Agent requests
{
"agent": "financial_analysis",
"tool": "variance.decompose",
"args": {
"metric": "cogs",
"entity": "plant_02",
"period": "2026-11",
"baseline": "standard_cost",
"components": ["price", "usage", "mix"]
},
"dataset": "2026-11-30#a41f"
}
2 · Engine computes
-- variance.decompose → price component (ppv.v3)
SELECT
r.sku,
SUM((r.unit_price - s.std_price) * r.qty) AS price_var,
SUM(r.qty) AS qty
FROM receipts r
JOIN std_costs s ON s.sku = r.sku
AND s.version = 'FY26.Q4'
WHERE r.entity = 'plant_02'
AND r.period = '2026-11'
GROUP BY r.sku
ORDER BY price_var DESC
3 · Result returned
{
"component": "price",
"value": 412180.44,
"currency": "USD",
"calc_id": "ppv.v3",
"rows_in": 342,
"reconciled": true,
"gl_delta": 0.00,
"result_hash": "sha256:9c1e…7b02"
}
Components
Key Components.
Typed Tool Calls
Agents request analysis through defined, typed calculation tools.
Versioned Calculations
Each calculation carries a version so results can be reproduced.
Reconciliation
Results are reconciled to the general ledger before they are reported.
Reproducible Results
Results are hashed against the data version that produced them.
Division of Responsibility
Who Does What.
AI agents decide and explain. The engine calculates. People approve.
| Responsibility | AI Agents | Engine | Reviewer |
|---|---|---|---|
| Decide which analysis answers the question | Yes | · | · |
| Select relevant datasets and periods | Yes | · | · |
| Produce every financial figure | · | Yes | · |
| Run SQL, formulas and statistical methods | · | Yes | · |
| Reconcile results to the general ledger | · | Yes | · |
| Explain verified results in plain language | Yes | · | · |
| Flag gaps, contradictions and uncertainty | Yes | Yes | · |
| Approve findings and decide on action | · | · | Yes |
Technology
Explore Further.
Review the Architecture with Our Team.
Rillot is glad to walk finance and data leaders through the design in depth, including data handling and governance.