Microsoft proposes Fork-and-Flush to clear chat history and improve agent performance
A study from Microsoft Research found that long-running research AI agents get stuck in local solution regions due to accumulated conversation context, and increasing compute is hard to break through. The researchers proposed the Fork-and-Flush method: the agent splits into K parallel branches, each branch clears the conversation context but retains the workspace and generated files, and finally keeps the best branch. On 13 long-horizon tasks, this method achieved a normalized average score of 0.78 under the same compute budget, compared to 0.47 for single run and 0.54 for best-of-4, with relative improvements of 66.0% and 44.4%.