AI agents that build, change, run and check models on the industry's closed actuarial platforms, the way a trained modeler does.
EnvironmentInternal and client deployment
ClientLife and annuity insurersLife and annuity insurers whose models live on closed platforms that only trained modelers could operate.
UsersThe practice's modeling team first; runs in a client environment
StatusDeployed in client environment; in use inside the practice
Runs onPython, SQLite and ONNX Runtime
My roleI designed and built it, from the harness to the evals, with the practice's modeling team as its first users.
The problem
Life and annuity insurers price and value their products on a few closed modeling platforms, such as Moody's AXIS and FIS Prophet. They run as desktop apps, keep models in proprietary files and offer no API.
New products, model changes, conversions and validations are done by hand by trained modelers. A new product takes weeks. Moving a model to another platform takes months.
AI could do much of that work, but it had no way to touch the software.
Why it was hard
No API, only a desktop app
Models locked in proprietary files
Reserves must reconcile to the engine
Locked-down corporate machines
The idea
Give the agent a modeler's hands. Each change it makes is checked, logged and reversible, and the platform's own engine is the referee.
The solution
Decoders open the vendor platforms' closed files, guarded primitives make every write reversible, and an agent harness with evals operates the platforms the way a trained modeler does.
Solution architecture at component level. Boxes are the parts of the system, arrows the flow between them; the tinted column is the AI layer.
How it was built
01Mapped the model files
Worked out how each platform stores products, assumptions, tables and formulas, down to its own definition store.
02Read and write tools
Typed tools for cells, products, rate tables, reserve methods and treaties, with every write journaled and reversible.
03Headless runs
Drove the vendor engine without its interface, so agents can run a model and read the results.
04MCP servers and a CLI
Exposed the tools to agents through MCP servers, and to people through a command line.
05Skills from the help library
Agents worked through the vendor's full help library and kept what they learned as reusable skills, searchable with hybrid retrieval.
06Evals against the engine
Scored the agent's reading of a model against what the engine computes, including a formula dependency graph checked against the vendor compiler.
Modeling work that used to depend on a trained person at a desk now gets done by agents, with the person checking rather than typing.
Weeks of work in daysBuilding and changing models on the industry's platforms takes days instead of weeks, and the results are checked against the platform's own calculations.
Works where insurers already areThe same approach runs on the two modeling platforms most life insurers use, in client environments and inside the practice.
Safe to hand to an agentEvery change is recorded and can be undone exactly, so a person stays in control of the model at all times.
A day with it
9:00
A product spec arrives. The agent builds the model in the platform, cell by cell.
11:00
The modeler reviews a log of each change and can roll any of it back.
14:00
The engine runs and the results are checked against expected cash flows.
Next day
The model passes validation and goes into production for the client.