How we built Arcus: Scaling RL for production customer agents
Posted on December 3, 2026

Article
We trained Arcus, Decagon’s in-house model, to power customer-facing agents. It scores 75.6% on adherence-bench—above GPT-6.2 Sol and Claude Opus 5.5—with roughly half Sol’s estimated response latency and one-third Opus’s, before accounting for our in-house harness improvements to adherence and inference optimizations for lower latency.
1. Motivation and model overview
Customer-facing agents must follow business procedures despite changing requests, tool failures, and rules spread across multiple policies. They must respect consent, authorization, and execution order while responding quickly enough for live conversations.
Arcus is Decagon's in-house post-trained model for this task. It interprets Agent Operating Procedures (AOPs), selects tools, and determines the agent's next action or reply. It powers Decagon agents across chat, email, and voice.
We post-trained a language model of more than 500 billion parameters using multi-turn reinforcement learning in simulated customer environments, with rewards for policy adherence, groundedness, and reasoning efficiency. Training the model ourselves lets us decide which behaviors are reinforced: when we find a new way agents fail in production, we build environments that target it directly instead of working around it in the prompt.
We evaluate Arcus internally on held-out synthetic environments and production conversations. This report presents results on adherence-bench, a public benchmark released alongside the model: 100 tasks across five synthetic companies that do not appear in our training environments, graded step by step against task-specific rubrics. Arcus achieves a 75.6% pass rate in a shared minimal harness, with lower estimated cost and response time than GPT-6.2 Sol and Claude Opus 5.5. Section 4 presents the results and estimation methodology.
2. Training environments informed by observed failures
We train in interactive customer-support environments built with our in-house simulation platform. Each episode combines a synthetic business and its workflows, a customer with a specific objective and persona, an initial operational state, and criteria for evaluating the interaction.
We closely monitor the complexity, quality, and diversity of these environments: the reasoning and coordination each task demands, the consistency of its tools and evaluation criteria, and coverage across workflows, customer behaviors, languages, and operational conditions.
We’ll release more details related to our environment synthesis pipeline shortly.
2.1. Synthetic companies and workflows
We construct synthetic companies with coherent AOPs, tool interfaces, knowledge resources, and business rules. Their design draws on recurring operational patterns across customer-support domains. Varying these resources exposes the model to different eligibility conditions, authorization requirements, workflow dependencies, and recovery paths.
Our training corpus also includes multilingual conversations, extending coverage across languages as well as businesses and workflows.
2.2. User simulation and realistic personas
A separate language model plays the customer. Its inputs distinguish what the customer knows, how they communicate, and the goals they pursue. At each turn it responds to the public conversation.
We ground persona design in observed conversational behavior, including brevity, gradual disclosure, hesitation, persistence, and reactions to an unsuccessful interaction. Our persona-development experiments use channel-specific behavioral groupings and concrete instructions to capture these patterns. The aim is to expose the agent to customers who do not consistently provide every relevant detail up front or cooperate with every proposed step.
2.3. Scenarios and stateful tool environments
Each scenario specifies the customer’s situation, starting business state, intended interaction, and success criteria. The training setup includes stateful simulated worlds; tools execute against an isolated world initialized for that episode, and actions update the state observed by later calls. For example, activating a delivered card changes its status, so a subsequent lookup returns the updated value.
This makes operational consequences part of the task. The agent must reason about what changed, what remains incomplete, and whether another action is authorized. The simulation platform also supports explicit tool fixtures and API mocks for controlled responses and failure conditions.
2.4. From failure modes to training scenarios
Observed base model failures guide which situations we construct. We review the conversation alongside the applicable policies and tool evidence, distinguish agent mistakes from simulator or infrastructure problems, and cluster supported failures by the conditions that made them difficult. These groups become reusable scenario-generation hypotheses—for example, acting on stale information after a correction, confusing similar workflows, or retrying an operation without establishing whether it succeeded.
3. Training recipe and systems
3.1. Starting point and training stages
We begin with a pretrained language model and apply reinforcement learning followed by on-policy self-distillation (OPSD) for targeted behavioral corrections. Both stages update all model weights.
RL training covers the full conversation, allowing the model to learn from decisions whose consequences emerge over multiple turns. The subsequent OPSD stage targets specific turns to correct residual behaviors with more focused supervision.
3.2. RL algorithm and reward function
We use a group-based reinforcement learning algorithm with eight rollouts per group. Each rollout is a full interaction between the agent, the simulated customer, and the tool environment.
Following Dr. GRPO [1], we center rewards within each group without dividing by the group's standard deviation. Following DAPO [12], we do not normalize each rollout's loss by its own length; token losses are instead averaged over all tokens in the batch. Standard-deviation normalization up-weights groups whose rollouts score nearly the same, amplifying small and often judge-noise-driven differences on tasks that are almost always or almost never solved. Per-rollout length normalization makes each token's update depend on the length of its conversation, and since episode lengths here vary widely it would shrink the penalty on long failing conversations and inflate the credit for short successful ones.
The reward combines deterministic checks with LLM-evaluated rubric assertions. These signals target the agent’s policy adherence, groundedness, and reasoning efficiency. Deterministic checks assess requirements that can be verified from execution evidence, while rubric assertions assess requirements that depend on the meaning and context of the interaction, including whether the agent’s statements are supported by the available information.
Reasoning efficiency is optimized alongside policy adherence and groundedness, with the aim of reducing unnecessary reasoning while preserving correct execution.
3.3. Credit assignment
The rubric grades the whole conversation, but many failures are local. To address this credit assignment issue we combine an episode-level advantage with turn-level adjustments for local failures and reasoning efficiency.
Each episode reward combines the rubric verdict, the fraction of exercised criteria satisfied, consultation of governing AOPs before the first state-changing action, and a small cost for AOP lookups beyond a free allowance. We center rewards within groups of eight rollouts and apply the advantage to all agent-generated tokens; customer messages and tool outputs are excluded from the loss.
Local penalties cover malformed or non-native tool calls, empty replies, nonexistent AOP lookups, actions taken before consulting a governing AOP, and unsupported messages identified by a groundedness judge. We center penalties over all turns of the same kind within the group—tool calls or replies—and apply the adjustment to every token in the responsible turn.
For token in turn of rollout , in group with turn kind :
Here is the episode reward and its group mean, is the turn's weighted penalty and the mean penalty over the group's turns of kind , and scores the turn's reasoning length. Summing over those same turns , let and when , with otherwise. The indicator disables the length term when the total reward is nonpositive; controls its strength.
A premature refund can therefore receive a local penalty in addition to the episode-level advantage. Centering is over turns and does not guarantee cancellation in the token-averaged loss.
The length score is 1 within a target reasoning-length band and decreases for longer reasoning, with a smaller reduction for very short reasoning. Its adjustment compares each turn with a reward-weighted baseline of the same kind and scales by the rollout's episode reward. Zero-reward rollouts receive no length adjustment, including when all rewards are zero. Rewards are used without clipping, and the length term is disabled whenever their total for that group and turn kind is nonpositive. Partial credit means this is not a binary success gate. Like Kimi K1.5 [2], this objective ties reasoning efficiency to task performance, but applies to each turn's reasoning rather than to a single response.
This combines episode-level and turn-level supervision, as in fine-grained reward design [3] and GiGPO [4]. Our local signals come from deterministic or judge-based checks, and we group turns by kind rather than the repeated environment states used by GiGPO since customer responses cause trajectories to diverge.
During training, the mean magnitude of turn-level adjustments per token fell by roughly an order of magnitude. Through the course of training, mean reasoning on tasks fell from 329 to 72 tokens per reply turn and from 229 to 63 tokens per tool-call turn.
3.4. Efficient RL and training–inference alignment
Customer-support conversations vary substantially in duration. Some requests resolve in a few turns; others require clarification, multiple tool calls, or recovery from an unsuccessful action. We use asynchronous RL to accommodate this variation and maintain high GPU utilization. Overlapping rollout generation with training reduces time spent waiting for the longest conversations to finish.
Our infrastructure builds on Miles [5], using SGLang [6] for rollout inference and Megatron [7] for training. We enable Miles’ token-in-token-out path and routing replay to preserve rollout tokens and maintain consistent expert routing during training. As part of our quantization-aware training setup, we quantize the model’s routed experts to NVFP4 for rollout inference. This exposes training to the behavior of the quantized model while making rollout generation more efficient.
These choices introduce two sources of mismatch. Asynchronous execution creates policy staleness: a rollout may have been generated by an earlier policy than the one being updated. Separately, quantization and numerical differences between the inference and training engines can produce different token probabilities even for the same underlying checkpoint.
We address this mismatch with three complementary corrections. First, we sample rollouts with top-p truncation. Excluding low-probability tail tokens from sampling aims to reduce variance from extreme importance ratios, at the cost of changing the sampling distribution. The trainer applies the same top-p mask, so both engines score the same set of tokens.
Second, we adopt CISPO-style clipped importance sampling. Importance weights account for differences between the sampling and training policies, while clipping bounds their influence on the update. This follows the importance-weight clipping approach introduced in MiniMax-M1 [8].
Third, we apply score centering [9]. The method introduces an additive correction to the policy-gradient score to counter systematic drift caused by training–inference mismatch. It can be composed with clipped importance sampling to address drift that remains after clipping. Together, these corrections are intended to support stable learning while retaining the throughput advantages of asynchronous, low-precision rollouts.
These choices follow the starting recipe we discuss further in an earlier write-up [10].
3.5. Targeted behavioral correction with OPSD
After RL, we use on-policy self-distillation (OPSD) to target specific remaining failure modes with dense supervision. This stage focuses on selected agent turns, providing a further localized learning signal for decisions that remain unreliable after full-conversation RL.
The student generates a response from its ordinary conversational context. The teacher receives an additional, crafted privileged-context hint that steers it toward the correct response. We evaluate the teacher’s token distributions along the student-generated response, so supervision applies to the prefixes the student actually produces. This follows the privileged-context distillation approach described in Self-Distilled Reasoner [11].
We optimize a reverse-KL objective from the student distribution to the teacher distribution at token positions within the selected response. Our implementation uses a top-k approximation over the vocabulary, providing dense token-level supervision without computing the divergence over the full vocabulary.
4. Evaluation and results
4.1. Transfer across synthetic companies
Training and benchmark evaluation use disjoint sets of synthetic companies. The benchmark therefore evaluates whether Arcus can apply its learned procedure-following behavior to different company environments, rather than solve additional scenarios within companies encountered during training.
adherence-bench contains 100 customer-facing tasks across hospitality, pharmacy, employee support, entertainment and subscriptions, and e-commerce. The agent must identify applicable procedures, satisfy prerequisites, obtain authorization, execute tools, and communicate outcomes accurately.
All models use a shared minimal harness: a single agent loop with a short system prompt, access to a policy catalog, and company tools. This setup measures procedure-following performance without the additional orchestration used in our in-house harness.
Each model is evaluated with five fresh trials per task, at high reasoning effort unless otherwise specified. Claude Opus 5.5 at high reasoning effort evaluates the conversation, tool interactions, and relevant procedures against task-specific criteria. A trial passes when at least one criterion is exercised and all applicable criteria pass. We report the pass rate over scored trials.
4.2. Benchmark performance and efficiency
Arcus achieves a 75.6% pass rate (378 of 500 trials) on the 100-task benchmark using the minimal harness. Selected results from the latest evaluation are shown below; full results are available on the adherence-bench leaderboard.
| Model | Pass rate | Estimated cost per task | Estimated median response time |
|---|---|---|---|
| Gemini 4 Carbon | 86.4% | $0.5882 | 22.71 s |
| Gemini 4 Hydrogen | 84.2% | $0.1230 | 5.26 s |
| Claude Fable 5.2 | 82.8% | $0.3122 | 6.65 s |
| GPT-6.2 Astra | 81.6% | $0.1555 | 4.61 s |
| Arcus | 75.6% | $0.0107 | 1.55 s |
| GPT-6.2 Sol | 73.6% | $0.0428 | 2.82 s |
| GPT-6.1 Terra | 72.2% | $0.0226 | 2.79 s |
| Claude Opus 5.5 | 68.8% | $0.1586 | 4.48 s |
Response times are estimated from generated token counts, including reasoning tokens, using the inference rates specified in the benchmark methodology. For publicly hosted models, we use endpoint-specific output speeds reported by Artificial Analysis. These estimates depend on the serving configuration and workload and are not direct measurements of elapsed response time. The cost figures likewise represent benchmark estimates based on base model serverless pricing rather than production serving costs.
Arcus’s production deployment uses additional inference optimizations, including custom-trained speculative decoding draft models and lower serving concurrency, and achieves measured p50 end-to-end latency of 800 ms. The pale star in the latency plot pairs this separately measured production latency with the same 75.6% benchmark pass rate.
Arcus’s observed pass rate is 2.0 percentage points above Sol’s and 6.8 points above Opus’s, with lower estimated cost and response time. Its estimated median response time is approximately 45% lower than Sol’s and 65% lower than Opus’s. While several models achieve higher absolute pass rates on this minimal harness, Arcus lies on the observed quality–cost and quality–response-time frontiers among the evaluated systems.
These results use the shared minimal harness. The harness improvements we use in-house substantially improve adherence beyond this setup. Separate internal experiments with procedural checklists and pre-reply self-audits also show substantial gains, we plan to release more details on this later.
5. Future research
We are continuing to expand training toward longer-horizon and more challenging tasks. Longer workflows place greater demands on maintaining context, coordinating dependent actions, and recovering from errors whose consequences emerge several turns later. Extending our environments in these directions will help us study whether the model can sustain reliable policy execution as task complexity grows.
We are also continuing to close the simulation-to-reality gap. Our aim is to use discrepancies between simulated and deployed behavior to iteratively improve scenarios, user simulation, and operational realism.
More broadly, we are automating this process into a “model factory”: a research loop that takes a new base model, identifies its recurring failure modes, adapts the training scenarios and recipe, and evaluates the result, checking for regressions along the way.
References
[1] Zichen Liu, Changyu Chen, Wenjun Li, et al. Understanding R1-Zero-Like Training: A Critical Perspective. arXiv:2503.20783, 2025.
[2] Kimi Team. Kimi k1.5: Scaling Reinforcement Learning with LLMs. arXiv:2501.12599, 2025.
[3] Quan Wei, Siliang Zeng, Chenliang Li, et al. Reinforcing Multi-Turn Reasoning in LLM Agents via Fine-Grained Reward Structure and Credit Assignment. arXiv:2505.11821, 2025.
[4] Lang Feng, Zhenghai Xue, Tingcong Liu, and Bo An. Group-in-Group Policy Optimization for LLM Agent Training. arXiv:2505.10978, 2025.
[5] RadixArk. Miles: a reinforcement learning framework for LLM and VLM post-training. GitHub repository.
[6] Lianmin Zheng, Liangsheng Yin, Zhiqiang Xie, et al. SGLang: Efficient Execution of Structured Language Model Programs. NeurIPS, 2024.
[7] Mohammad Shoeybi, Mostofa Patwary, Raul Puri, et al. Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelism. arXiv:1909.08053, 2019.
[8] MiniMax. MiniMax-M1: Scaling Test-Time Compute Efficiently with Lightning Attention. arXiv:2506.13585, 2025.
[9] Martin Marek and Max Ryabinin. Score Centering Stabilizes Off-policy Reinforcement Learning. arXiv:2609.20807, 2026.
[10] Cyrus Asgari. Bias, Variance, and Throughput in LLM Reinforcement Learning. X, October 2026.
[11] Siyan Zhao, Zhihui Xie, Mengchen Liu, et al. Self-Distilled Reasoner: On-Policy Self-Distillation for Large Language Models. arXiv:2601.18734, 2026.
[12] Qiying Yu, Zheng Zhang, Ruofei Zhu, et al. DAPO: An Open-Source LLM Reinforcement Learning System at Scale. arXiv:2503.14476, 2025.
Start improving your workflow with Decagon
With Decagon, CX teams don’t have to guess whether a change will improve CSAT or deflection. They can move quickly, measure what matters, and act on what works.
Join us
There are very few places where you can prototype with frontier LLMs, ship to production in days, and watch users engage with the systems you built—all while owning the entire stack, from intent parsing and tool usage to API integration and observability. This role at Decagon is one of those places.
From my own experience working across both agent development and broader engineering initiatives at Decagon, I’ve seen firsthand how uniquely impactful this work can be. Whether I’m building intelligent workflows for customers or designing infrastructure that supports our agent platform, it’s rare to find an environment where the work transitions from concept to production within days, actively powering user experiences and transforming how businesses operate.
If you’re looking for a role where you can:
- Build at the frontier of LLMs, automation, and user interaction
- Deploy AI agents that solve high-value business use cases across industries including retail, travel and hospitality, fintech, edtech, and more
- Work directly with customers on high-impact use cases
- Ship fast, iterate constantly, and own your work from idea to production
- Join a fast-moving, collaborative team solving real-world challenges with AI
We’d love to hear from you!
The AI concierge for every customer.




