:

AI AGENTS MASTER CARD GAME WITH STRUCTURED MEMORY

AI DESK2 MIN READ
SUN, JUL 12, 2026

■ AI-SUMMARIZED FROM 1 SOURCE ▸ TIMELINE

Researchers improved AI agent performance in Slay the Spire 2 by replacing sprawling chat logs with five-layer memory architecture, reducing prompt size by 98% while achieving a 60% win rate.

The AgenticSTS project addresses a fundamental inefficiency in how AI agents track information during extended tasks. Traditional approaches accumulate every interaction in a growing chat log—a method that becomes unwieldy and expensive as conversations lengthen. Instead of this linear accumulation, the new system organizes memory into five distinct layers. This structured approach keeps prompts stable at around 5,000 tokens, compared to the 500,000+ tokens required by competing methods. Tested on Slay the Spire 2, a turn-based card game requiring strategic decision-making across multiple rounds, the structured memory agent won 6 out of 10 games. Competing agents with standard chat log approaches won zero games, demonstrating a significant performance gap. The breakthrough matters beyond gaming. AI agents face scalability problems whenever they need to maintain context over extended interactions—customer service conversations, research tasks, code debugging, and complex problem-solving all suffer from token bloat. By the time a chat log reaches hundreds of thousands of tokens, it becomes increasingly difficult and expensive for AI models to process efficiently. Structured memory represents a practical middle ground. Rather than keeping raw conversation history, the system organizes information into categorical layers that preserve essential context while discarding redundancy. This approach mirrors how human memory works—we don't retain every word spoken in a conversation, but we remember key facts, decisions, and patterns. The AgenticSTS results suggest this architectural change could improve AI agent reliability and cost-effectiveness across applications. Keeping prompts compact reduces computational overhead and latency while maintaining or improving decision quality. The research highlights an ongoing challenge in AI development: scaling agent capabilities without proportionally increasing computational demands. As AI systems take on more complex tasks, efficient information management becomes as important as raw model capability.

■ SOURCES

The Decoder

■ SUMMARY WRITTEN BY AI FROM THE LINKS ABOVE

■ MORE FROM THE AI DESK

Startups like Altur are deploying AI chatbots to handle debt collection calls, automating a process traditionally done by humans. Y Combinator has backed six debt collection and settlement startups over the past six years.

JUST NOWAI Desk

Vint Cerf, co-inventor of TCP/IP, is creating a framework to identify and track artificial intelligence agents operating on the open internet.

JUST NOWAI Desk

Following recent earthquakes, Venezuelan developers and citizens deployed AI-powered websites and apps to locate missing persons and coordinate disaster relief as government response lagged.

1H AGOAI Desk

Prime Minister Anthony Albanese has created a dedicated AI office and committed to protecting Australian creators from copyright infringement by artificial intelligence companies. The government rejected plans to grant tech firms free access to Australian data.

3H AGOAI Desk

■ SUBSCRIBE TO THE DAILY BRIEF

ONE EMAIL, 5 STORIES, 06:00 UTC. UNSUBSCRIBE ANYTIME.