Problem
Ramp's spreadsheet agent (Ramp Sheets) answers questions over workbooks. Its main model spent 17.8% of all tool calls on opening tabs, reading ranges and filtering out irrelevant sheets before it had the data it needed. About 75% of those calls were immediately followed by another read call, so the first read often missed. Every extra turn adds latency, cost and distracting context.
Example from the article: "What was the revenue from March to May?" requires the agent to find the right tabs, read the right ranges and return one number.
Solution in brief
Ramp moved retrieval into a separate subagent, Fast Ask: a Qwen3.5-35B-A3B model (about 3 billion active parameters) post-trained with reinforcement learning. The training environment is synthetic finance workbooks with decoy tabs, three tools and a deterministic reward on the final answer. On a held-out set the model beat Claude Opus 4.6 by 4+ points of exact match at about Haiku 4.5 latency.
Questions this case answers
- How to move a repeated, exactly checkable retrieval step from a slow general-purpose model into a small specialist model without losing accuracy
- How to train a tool-using agent with reinforcement learning when correct answers can be checked automatically but correct trajectories are not labeled
- How to stop a main LLM agent from wasting tool calls on navigating and reading spreadsheets?
- How to train a small, fast subagent that beats a frontier model on a narrow retrieval task?
Tools and methods
- GRPO — policy gradient that scores each rollout against others for the same question
- Qwen — Qwen3.5-35B-A3B as the base model for the subagent
- Synthetic workbooks — 14 task types with exact ground truth
- Claude — Opus 4.6, Sonnet 4.6 and Haiku 4.5 as evaluation baselines
- Prime Intellect Lab and verifiers — hosted RL training and the environment framework
Google or a one-time email code. No password.