Scaling an Autonomous AI Customer Support Agent from Demo to Production

intercom · Tech · 2023 · source Agentic: yes · promotional bias: med · source-backed · extracted with prompt 0.5.6 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: Autonomous AI customer support agent in production

Intercom needed to move Finn from impressive controlled demos to a customer-facing support agent that could answer safely, avoid hallucinations and brand failures, and improve resolution rates across tens of thousands of customers.

Constraints:

Architecture

Finn evolved into a multi-component support-agent subsystem rather than a single LLM call. GPT-4 and Claude-class models sit behind a torture-test-driven release process, while Intercom's architecture includes disambiguation, chunking, reranking, summarization, bespoke RAG, bespoke ranker, prompt engineering, answer generation, and continuous production learning from customer conversations.

Diagram confidence: reconstructed (reconstructed from prose).

flowchart LR
  A["Customer conversation interface"] --> B["Finn orchestration subsystem"]
  B --> C["Disambiguation process"]
  B --> D["Bespoke RAG engine"]
  D --> E["Bespoke ranker"]
  E --> F["Answer generation model"]
  F --> A
  G["Torture test suite"] --> F
  H["Production feedback loop"] --> B
  H --> G
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Customer conversation interface Support conversation surface where end users ask Finn questions. Finn orchestration subsystem
Finn orchestration subsystem Coordinates disambiguation, chunking, reranking, summarization, retrieval, prompts, and answer generation. Disambiguation process, Bespoke RAG engine, Bespoke ranker, Answer generation model
Disambiguation process Clarifies user intent before retrieval and answer generation. Finn orchestration subsystem
Bespoke RAG engine Retrieves support knowledge and customer-specific documentation context. Bespoke ranker, Answer generation model
Bespoke ranker Ranks retrieved chunks for support-answer relevance. Bespoke RAG engine, Answer generation model
Answer generation model Claude/GPT-class model that produces the final customer-facing support response. Finn orchestration subsystem, Torture test suite, Customer conversation interface
Torture test suite Edge-case evaluation suite for hallucination, wrong-answer, safety, competitor, and brand failures. Answer generation model, Production feedback loop
Production feedback loop Observed customer conversations and failures that drive continuous iteration. Finn orchestration subsystem, Torture test suite

Data flow

A support question enters Finn, is disambiguated, chunked, retrieved against support knowledge, reranked, summarized, and passed into the final answer-generation step. Torture tests and production feedback expose failures, which feed prompt, architecture, RAG, and ranker iterations that raise the autonomous resolution rate over time.

3 supporting quotes
“Finn is like not a it's not like a singleshot agent. It's a subsystem of about 15 different uh processes.”transcript, stated
“There's like a process for disambiguating. There's a process, you know, there's like obviously chucking, reranking, uh summarizing.”transcript, stated
“our rag engines is bespoke. Our ranker is bespoke. These are all things that we've actually perfected specifically for what we do.”transcript, stated

Why this architecture

Intercom learned that model capability unlocks production readiness, but resolution gains come mainly from the agent architecture and surrounding retrieval/ranking systems rather than raw model swaps alone.

3 supporting quotes
“it was really only when four dropped which was March that we were able to release a fully autonomous agent”transcript, stated
“the actual model itself is not as high a unit of leverage versus the actual say the agent architecture.”transcript, stated
“we're on our third major architecture of Finn at this point. every one of them has been significant in terms of improvement”transcript, stated

Models used: GPT-3.5 · GPT-4 · Claude · DeepSeek · open-source models

Scale

Alternatives considered (roads not taken)

Ship the GPT-3.5 prototype

Rejected because: It worked only in controlled demos and could not be safeguarded against hallucinations.

“this was on GPT 3.5. we couldn't kind of safeguard against hallucinations.”transcript, stated

Measure easy questions

Rejected because: Easy questions do not distinguish production readiness; hard edge cases are where support automation earns value.

“show me the last 20 hard questions that your frontline support couldn't answer.”transcript, stated

Rely on the foundation model as the main improvement lever

Rejected because: Model swaps produced smaller gains than architecture, prompts, RAG, and ranker work.

“the actual model itself is not as high a unit of leverage versus the actual say the agent architecture.”transcript, stated

Patterns

rag-retrieval (retrieval)

Finn relies on bespoke RAG and ranking before answer generation.

“our rag engines is bespoke. Our ranker is bespoke.”transcript, stated

eval-driven-development (evaluation)

The torture test codifies failure modes and hard support questions before release.

“We have like this uh pretty robust torture test of all the things you don't want a customer support agent to do.”transcript, stated

tool-use-orchestration (agent-architecture)

Finn coordinates many processes around retrieval, reranking, summarization, and answer generation.

“It's a subsystem of about 15 different uh processes.”transcript, stated

safety-policy-enforcement (governance)

Torture testing explicitly checks hallucinations, wrong answers, inappropriate opinions, competitor recommendations, and brand tone.

“You don't want it to give the wrong answer. You don't want it to make up an answer. You don't want it to take an opinion”transcript, stated

Tradeoffs

Production launch model

Chose GPT-4/Claude-class model after torture testing over GPT-3.5 demo-era prototype.

Rationale: The earlier model could not be safeguarded enough against hallucinations.

“this was on GPT 3.5. we couldn't kind of safeguard against hallucinations.”transcript, stated

Agent implementation

Chose 15-process subsystem over single-shot LLM answer.

Rationale: Support automation required disambiguation, retrieval, ranking, summarization, and answer generation.

“Finn is like not a it's not like a singleshot agent. It's a subsystem of about 15 different uh processes.”transcript, stated

Gotchas (what bit them)

Demo quality did not imply production readiness.

Root cause: GPT-3.5 could perform well only when Intercom controlled the user input.

Resolution: Wait for GPT-4-class reliability and torture-test the agent before production deployment.

“it looked great and performed well as long as you didn't put it into production.”transcript, stated

Easy eval questions hide failure modes.

Root cause: Real customer support breaks on hard, adversarial, security, or documentation-gap cases.

Resolution: Build torture tests from last hard questions, common questions, prompt injection, sales, and escalation cases.

“Show me the 10 most common questions. They'll go in. Then let's talk about like uh security conscious”transcript, stated

Raw model improvements have limited leverage after production hardening.

Root cause: The agent's behavior depends on retrieval, ranker, architecture, prompts, and orchestration.

Resolution: Iterate on the multi-process architecture and bespoke peripheral systems.

“the agent architecture. That's a thing that we saw a lot of win in.”transcript, stated

Evaluation

Intercom evaluates Finn with torture tests, hard support questions, security/prompt-injection cases, common questions, A/B tests, and production resolution-rate tracking.

Metrics: autonomous resolution rate · hard-question pass rate · hallucination avoidance · wrong-answer avoidance · prompt-injection resistance · A/B test results

“they're all slightly worse than our current setup. That's the result of doing like hundreds of AB tests to perfect our current setup.”transcript, stated
“Today it's doing about 58 59%. Um that's been an entire process of improving Finn behind the scenes based on what we see in the wild.”transcript, stated

Outcomes

Finn runs in production support workflows for roughly 30,000 Intercom customers and is evaluated against hard support and safety cases rather than only easy questions.

“we have like 30,000 customers, so if there's edges or wrinkles in Finn, they're going to find it.”transcript, stated
“Today it's doing about 58 59%.”transcript, stated