Long-running AI research agents often plateau in performance despite increased compute resources, according to a new study from Microsoft Research. The research suggests that accumulated conversation context can constrain an agent’s search process, causing it to fixate on suboptimal solutions rather than exploring more effective approaches.

What Happened

Microsoft researchers analyzed "Autoresearch agents," which are AI systems designed to repeatedly propose, evaluate, and refine solutions based on feedback. In eight independent runs of the same agent on the same task, the team observed significant performance disparities, with final scores ranging from 68.3 to 100.0. These gaps persisted even when the agents were given substantially more compute.

The study identified a phenomenon the authors call "idea basins." By plotting solutions on a two-dimensional map, the researchers found that solutions from a single run remained clustered in small regions. Agents spent a large portion of their remaining compute budget refining solutions within these less productive regions, missing out on better approaches that other runs had discovered. This pattern continued even when agents periodically compressed their conversation histories.

To address this, the researchers proposed a method called "Fork-and-Flush." This technique combines two mechanisms: "forking," where the agent splits into parallel branches that inherit the previous workspace and generated files, and "flushing," where each branch loses its entire chat context but retains the workspace. This allows the agent to start a fresh conversation while building on prior work, thereby restoring diversity in the search process.

Why It Matters

The implications for agent development are significant, particularly for long-running tasks where context management is a critical challenge. The study tested Fork-and-Flush on 13 long-running tasks, including polyomino packing, job-shop scheduling, cryptanalysis, compressing a CIFAR classifier, and optimizing a VLIW kernel. Individual runs lasted from several hours to over 100 hours, utilizing GPT-5.6-terra and GPT-5.5 via the GitHub Copilot CLI.

On the same compute budget, Fork-and-Flush achieved a min-max-normalized average score of 0.78, compared to 0.47 for single runs and 0.54 for a best-of-4 approach. The paper reports relative gains of 66.0% and 44.4%, respectively. The method also produced more consistent results, with the normalized standard deviation dropping to 0.16 from 0.26 for single runs. Notably, simply clearing the chat context without branching improved results by 22%.

The researchers also examined whether stronger models avoid "idea basins" by testing MAX-3-SAT problems across three model sizes: Qwen3.5-4B, 9B, and 27B. They found that variance between runs followed an inverted U-shaped curve, peaking on tasks at the edge of a model’s abilities. The authors argue that since open research problems inherently sit at the limits of model capabilities, the variation exploited by Fork-and-Flush is likely to persist as models improve, suggesting that regular context resets could remain useful for frontier research agents.

The Bottom Line

The Microsoft Research study demonstrates that clearing chat history while preserving workspaces can help AI agents escape local optima and find better solutions. By implementing the "Fork-and-Flush" method, developers can achieve higher performance and consistency in long-running agent tasks, a finding that may influence future agent architecture and context management strategies.