Agentic Monte Carlo: Simulating Reinforcement Learning for Black-Box Agents
On the map: LLM agents and tool use → Reinforcement learning for LLM agents
Abstract (arXiv)
LLM agents operate in two distinct regimes: open-weight agents amenable to reinforcement learning (RL) and black-box agents whose behaviour must be controlled purely at test time. Although black-box agents are often backed by state-of-the-art proprietary LLMs, API-only access precludes parameter-level optimization, rendering most RL methods inapplicable. To address this limitation, we turn to a known equivalence between RL and Bayesian inference. We propose Agentic Monte Carlo (AMC) to directly sample from the optimal policy of a black-box agent rather than training it through RL. The optimal policy is a posterior over trajectories whose prior we define as the fixed black-box LLM agent. We employ Sequential Monte Carlo to sample from this posterior by learning a value function to steer the agent while leaving the underlying black-box model unchanged. We validate AMC on three diverse environments from the AgentGym benchmark, demonstrating significant improvements over prompting baselines and even outperforming Group Relative Policy Optimization (GRPO) as we scale the test-time compute of our method. AMC demonstrates the feasibility of performing principled RL-style optimization of black-box LLM agents. Code is available at https://github.com/layer6ai-labs/Agentic-Monte-Carlo
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Reinforcement learning for LLM agents, one of 16 directions in LLM agents and tool use. Builds on 31 of its 51 references that are in the map. First posted on arXiv 3 Jun 2026.
Builds on
31 of 51 references.
Closest ancestors · 1
Same direction, newest first
Other references · 30
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2018Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actorcited by 4,635
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2017Deep reinforcement learning from human preferencescited by 3,846
- 2023Let's Verify Step by Stepcited by 3,598
- 2019Fine-Tuning Language Models from Human Preferencescited by 2,124
- 2022WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agentscited by 1,197
- 2017Mastering Chess and Shogi by Self-Play with a General Reinforcement Learning Algorithmcited by 723
18 more
- 2017Reinforcement Learning with Deep Energy-Based Policiescited by 659
- 2023Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Modelscited by 551
- 2018Reinforcement Learning and Control as Probabilistic Inference: Tutorial and Reviewcited by 466
- 2024AgentBoard: An Analytical Evaluation Board of Multi-turn LLM Agentscited by 319
- 2022ScienceWorld: Is your Agent Smarter than a 5th Grader?cited by 298
- 2025Reinforcement Learning for Reasoning in Large Language Models with One Training Examplecited by 288
- 2023ADaPT: As-Needed Decomposition and Planning with Language Modelscited by 172
- 2022RL with KL penalties is better viewed as Bayesian inferencecited by 130
- 2025Is Best-of-N the Best of Them? Coverage, Scaling, and Optimality in Inference-Time Alignmentcited by 91
- 2023Sequential Monte Carlo Steering of Large Language Models using Probabilistic Programscited by 79
- 2024ExACT: Teaching AI Agents to Explore with Reflective-MCTS and Exploratory Learningcited by 61
- 2025ReflAct: World-Grounded Decision Making in LLM Agents via Goal-State Reflectioncited by 30
- 2022Critic Sequential Monte Carlocited by 16
- 2025From Reasoning to Code: GRPO Optimization for Underrepresented Languagescited by 10
- 2025Textual Bayes: Quantifying Prompt Uncertainty in LLM-Based Systemscited by 8
- 2024Fleet of Agents: Coordinated Problem Solving with Large Language Modelscited by 5
- 2018Finite Sample Complexity of Sequential Monte Carlo Estimatorscited by 4
- 2026Conformal Agent Error Attributioncited by 3
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2025The Landscape of Agentic Reinforcement Learning for LLMs: A Survey
- 2025Demystifying Reinforcement Learning in Agentic Reasoning
- 2026Beyond Scripted Search: Sample-Efficient Reward Discovery via Agentic Black-box Optimization
- 2026ARLArena: A Unified Framework for Stable Agentic Reinforcement Learning
- 2026ClawGym II: Exploring Black-Box RL on Agent Harness
- 2026AgentV-RL: Scaling Reward Modeling with Agentic Verifier
- 2026Rethinking Agentic Reinforcement Learning In Large Language Models
- 2026A Control System, a Dataset, and a Recipe for Making Frozen LLM Agents Learn a Domain