AI agents achieve wins in Slay the Spire 2 with structured memory
Researchers replace growing chat logs with structured memory, enabling AI agents to win at Slay the Spire 2

The AgenticSTS project replaces the ever-growing chat log of AI agents with five separate memory layers. Tested on the card game Slay the Spire 2, the prompt stays at around 5,000 tokens instead of ballooning past 500,000. The agent wins 6 out of 10 games, while competing agents don't win any.
The AgenticSTS project's approach to managing AI agent memory appears to have paid off in the context of Slay the Spire 2. By structuring memory into five distinct layers, the researchers have prevented the kind of exponential growth in chat log size that can make it difficult for AI agents to operate efficiently. The results of the AgenticSTS project suggest that structured memory can be an effective tool for improving AI agent performance.
In this case, the AI agent was able to win 6 out of 10 games of Slay the Spire 2, a notable achievement given that competing agents were unable to secure any wins. The ability of AI agents to learn and adapt in complex environments like Slay the Spire 2 has implications for a range of applications, from game development to more general AI research. Why this matters: The success of the AgenticSTS project highlights the importance of effective memory management in AI agent development.
As AI agents are tasked with increasingly complex tasks, their ability to process and retain information will become ever more critical. The use of structured memory, as demonstrated by the AgenticSTS project, offers a promising approach to addressing this challenge. Developers and businesses working on AI applications will likely be watching this space closely, as advances in memory management could have significant impacts on the performance and efficiency of their own AI systems.
Open questions remain about the scalability and generalizability of this approach, but for now, it seems clear that structured memory has the potential to play a key role in the development of more capable AI agents.
Source: The Decoder