Microsoft built a loop that keeps making AI agents better
Microsoft Research has released EnvOpt, a system that repeatedly improves training environments for tool-using AI agents. The source code and project page are already available to developers.
AI news faster than on the site — on Telegram KARMAZIN MEDIA

Microsoft Research has introduced EnvOpt, a system for training AI agents that work with tools. It analyzes the model's trajectories, finds weak spots, designs training environments around them, tests those environments, and starts a new reinforcement learning cycle.
After each iteration, EnvOpt evaluates the updated model and feeds the result into the next round. In experiments on τ²-Bench, BFCL-v4, and AppWorld, it kept improving Qwen3-4B, Qwen3-8B, and Qwen3-30B-A3B over 10 rounds, while a vanilla Codex agent stalled or regressed.
The code is public, but running it requires a Linux machine with NVIDIA GPUs, Docker, the Codex CLI, and an OpenAI-compatible API endpoint. Local jobs run sequentially across all available GPUs, so a home laptop will not be enough.
AI agents
Tools
AI agents