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

  1. 01

    A central adapter so all 11 call sites moved to the new API without patching each one, and rollback stayed one switch.

  2. 02

    Personas with tool calling, grounded in Google Places data.

  3. 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.

Contact

Have something to build? Tell us about it. A senior engineer reads every message and replies within one business day.