Case study · AI
An assistant with several personas, tool calling and place data, able to move the map as it answers.
- 11model call sites migrated
- ~20klines in the chat controller
- 1adapter for every call
The problem
A large chat controller had model calls spread across it, and the provider API was changing underneath.
What we built
- 01
A central adapter so all 11 call sites moved to the new API without patching each one, and rollback stayed one switch.
- 02
Personas with tool calling, grounded in Google Places data.
- 03
A small tag protocol that lets the model point the map at a specific place.
The result
The migration shipped without a rewrite, and the system is documented well enough to refactor in stages.
Next case study
From meeting notes to a clear spec