← Back to brief
ResearchReportedThe Decoder

AI agents win at Slay the Spire 2 after researchers replace growing chat logs with structured memory

Jul 12, 2026

Researchers developed AgenticSTS, which replaces AI agents' ever-growing chat logs with five separate memory layers. This keeps prompts at around 5,000 tokens instead of ballooning past 500,000, enabling the agent to win 6 out of 10 games in Slay the Spire 2 while competing agents win none.

Why it matters: This structured memory approach could significantly improve AI agent performance in complex tasks by preventing context window overflow.

Full story at: The Decoder