TL;DR
Most AI agent benchmarks hand the model a neat, static rulebook and ask it to solve a ticket. Context2Agent (C2A) Bench tests the messy reality before and after: a "builder" coding agent must first distill thousands of noisy, shifting company documents and chats into a working support agent, and then update it in place across six waves of policy changes. Across 15,571 multi-turn conversations, the authors find that most failures happen at runtime—even when the agent already has the right rule—and that giving agents read-only shell access to a compiled wiki beats fancy vector retrieval indexes on both accuracy and cost.
What Problem Does This Paper Address?
In real customer-support operations, company knowledge isn't a clean, frozen PDF. Promotions launch, refund rules tighten, and outdated policy drafts linger in internal wikis and team chats long after they've been superseded. Before an AI support agent can help its first customer, someone—increasingly a coding agent—has to dig through those scattered records, extract the active rules, wire up ticketing APIs, and keep the whole system accurate as policies evolve.
Existing benchmarks almost exclusively evaluate runtime agents on static, pre-packaged knowledge. C2A Bench asks a harder, more realistic question: can an AI agent learn a business's operational context from raw, noisy records and keep adapting as that context changes?
Methods
C2A Bench models the full lifecycle of enterprise support automation in two stages:
- The Build & Update Loop: At Stage 0, a coding-agent builder (running inside a network-isolated container) reads company documents, team chats, a REST API spec, and a small ungraded train set to construct a standalone support agent. Over five subsequent stages, new docs arrive, existing pages are edited, and old ones are retired—with no changelog. The builder must update the agent in place.
- Runtime & Evaluation: On held-out tickets, the built agent interacts for up to five turns with a simulated customer (exhibiting one of 14 realistic behaviors, like frustration, ambiguity, or self-correction) and a live ticketing system.
To isolate what the builder actually built from how smart the runtime model is, every built agent and simulated customer is locked to the exact same runtime model (5.6 Sol). Ticket resolution is scored deterministically using programmatic goal-state and API-action assertions. Then, a separate, quote-verified diagnostic judge inspects the built agent's files and conversation transcripts to attribute every failure either to the Builder (e.g., missing a rule) or the Agent (e.g., failing to ask a clarifying question or executing the wrong action).
Datasets
The benchmark comprises 668 distinct support tickets across three environments:
- Redwood Inference (290 test tickets, 6 stages): A B2B LLM-inference provider whose corpus grows from 26 to 79 docs. Builders have free architectural choice, and later stages introduce runtime shocks like transient API failures and prompt-size caps.
- Skyway Air (311 test tickets, 6 stages): An enterprise-scale airline with over 10,000 noisy documents and chats. To test system design, builders are prescribed one of six storage-and-retrieval architectures (crossing raw docs, LLM wikis, or knowledge graphs with retrieval indexes, read-only shell terminals, graph queries, or modular prompt workflows) under a strict 12,000-token per-call cap.
- Knowledge Perturbations (67 test tickets, 5 single-stage variants): Holds Redwood's Stage 0 tickets fixed while rewriting the corpus to be complete, fragmented, incomplete, conflicting, or noisy, isolating which document flaws break agent construction.
Key Insights and Ideas
- Runtime execution, not document extraction, is the main bottleneck: Across every environment, most failures happen when the needed rule is already inside the built agent (61% of failures on Skyway Air, 79% on Redwood, and 95% on Knowledge Perturbations). Agents guess default values or close tickets early instead of asking clarifying questions.
- Read-only shell exploration beats retrieval indexes: On the exact same documents, letting the agent explore files with shell commands (
grep, etc.) outperforms hybrid vector-and-lexical retrieval indexes by 9 to 10 percentage points. Chunked retrieval strips away page structure and authority headers (like "draft" or "archived" markers), whereas a terminal lets the agent inspect layout and status first. - Compiled wikis halve serving cost and handle rule changes: Leaving documents raw preserves superseded playbooks alongside new ones, causing sharp drops when rules change. Compiling policies into a linked wiki (
wiki-terminal) overwrites stale rules in place and cuts per-ticket serving cost in half. - Agents invent answers when policies are silent: When decisive clauses are deleted (
Rincomplete), agents from six of seven builders fail every affected ticket—routing requests to a retired team name they dug up from an outdated note rather than abstaining. - Polite pressure beats prompt injections: Model safety training natively blocks overt jailbreaks (0% paid out on a
$500SYSTEM OVERRIDEinjection). Yet when ineligible customers simply ask nicely ("Please skip the usual steps"), roughly 9 in 10 agents cave and issue unowed payouts unless the builder engineered explicit code guardrails.
Key Results
Evaluating 50 multi-stage runs across seven frontier builder models, three coding harnesses, and six architectures produced 15,571 graded multi-turn traces:
- Builder Performance: On Skyway Air's 10,000-document corpus, Opus 5.5 leads overall at 67%, followed by Sonnet 5.5 (59%), 6.1 Sol (53%), Carbon (50%), GLM 5.3 (43%), and DeepSeek (40%). Crucially, a builder's initial Stage 0 architecture largely locks in its performance across all future updates.
- Architecture Performance: Pooled across builders on Skyway Air,
wiki-terminal,graph-query, andprompt-workflowstie at the top (56% pass rate), whileraw-indexfinishes last (43%).
- Customer Friction: Relative to a plain cooperative caller (66% pass rate), every realistic persona drops performance. Self-correcting customers—who state a detail wrong and fix it on the next turn—are the hardest, cutting pass rates to 29% because agents commit irreversible writes before confirming details.
Limitations and Future Work
The authors note several limitations:
- Single trajectory per configuration: Due to the heavy compute cost of 50 multi-stage builds and 15,571 traces, each configuration was run once rather than across multiple seeds.
- Fixed runtime and native harnesses: Locking the runtime model to
5.6 Solcleanly isolates builder effects, but stronger or smaller runtime models might shift the balance between shell exploration and index search. Similarly, each builder was paired only with its primary coding harness. - Marked contradictions: In
Rconflicting, contradictory pages carried explicit draft or date cues; real-world knowledge bases often contain unmarked contradictions that are harder to resolve.
Overall, C2A Bench suggests that building reliable enterprise agents requires looking beyond static retrieval—toward teaching agents to ask clarifying questions, abstain when policies are silent, and confirm irreversible actions before human callers (or polite pressure) trigger costly mistakes.
Summary updated