When to Ask: An RL Environment That Teaches AI Agents to Act on What Users Mean and Not Just What They Say
Sharan Nagarajan, Puru, Muhammad Zane A
When to Ask is a reinforcement-learning environment that trains AI agents to work out what the user actually means before they use a powerful credential, instead of just carrying out the literal instruction. Agents today often hold real payment keys, database access or delete rights, and they're built to finish tasks on their own. So when a user mistypes an amount, forgets a "not", buries a risky step inside a long harmless message, or clicks past a warning they didn't read, the agent does exactly what the words said. The action can't be undone, and the user never wanted it.
Ask First builds each test as a pair of near-identical requests. In one, going ahead is right. In the other, something small shows that what the user wants differs from what they typed. The agent only scores when it handles both correctly: it acts on the clear request, and it pauses to ask a short, specific question on the ambiguous one. It gets no credit for asking about everything. A programmatic grader scores this, so the skill can be trained, not just prompted.
Across 9 models run on the same 96 test cases (48 pairs), even Claude Opus 5 got both requests in a pair right only 58% of the time. Llama-3.1-8B did so 4% of the time and took a dangerous action in 49% of cases. After 300 training steps in the environment, a small Qwen3-4B model rose from 27% to 52%, and its dangerous actions fell from 24% to 16%. The result is agents that treat a credential as something to use for the user's intent, not simply as permission to execute.
No reviews are available yet
Cite this work
@misc {
title={
(HckPrj) When to Ask: An RL Environment That Teaches AI Agents to Act on What Users Mean and Not Just What They Say
},
author={
Sharan Nagarajan, Puru, Muhammad Zane A
},
date={
},
organization={Apart Research},
note={Research submission to the research sprint hosted by Apart.},
howpublished={https://apartresearch.com}
}


