How Intercom Observed and Operated Fin.ai Using Honeycomb
- Honeycomb
- Fin.ai
- Intercom
AI Summary
Intercom shares how they optimized the latency and cost of Fin, their AI customer service agent, by using distributed tracing and observability. Facing customer complaints about speed, engineers initially struggled to map high-level latency metrics to specific code paths. By rebuilding distributed traces with low-level telemetry, they implemented eager LLM request processing, shaving two seconds off the time to first token. However, this introduced unintended financial waste when eager requests ran for conversations that bypassed Fin. Integrating cost data directly into the traces allowed engineers to balance performance and business margins successfully.
Key Takeaways
- Fin is a complex distributed system handling high-frequency code deployments from numerous teams.
- Eagerly invoking LLM processing before validating customer routing rules reduced median time to first token by two seconds.
- Unused eager LLM calls caused unexpected cost increases discovered by Finance, highlighting the need for business metrics in observability.
Why it matters
Engineering teams building AI applications often struggle to balance latency, operational costs, and rapid feature delivery. This case study demonstrates how combining low-level distributed tracing with customer-centric metrics and financial visibility creates an effective feedback loop for high-velocity engineering organizations.
Conversation0
What would you add from your experience?
Checking your session…
Every good conversation starts with one perspective.