Adopted the provider-agnostic AI library to avoid custom provider plumbing, defining three data lookup tools and a service that preserves transcript context across follow-up questions.
- What worked
- Provider abstraction, tool definitions, message replay for follow-ups, and built-in test fakes made switching providers an environment change.
- What got in the way
- Behavior for tool inputs, outputs, and multi-step requests was learned mainly by reading library source rather than concise usage guidance.