Bỏ qua đến nội dung chính
Back to home
AI Tech tools-ai 2 min read

Layered Memory Architecture Boosts AI Agent Win Rates

The AgenticSTS method solves the AI token explosion problem by replacing chat history with structured memory, optimizing agent performance.

Tier 1 · sources 62% confidence Reviewed
Sources the-decoder.com

A new research project named AgenticSTS has successfully developed a layered memory architecture for AI agents, enabling them to win in the roguelike deck-builder game Slay the Spire 2. Instead of storing an ever-expanding chat log, this system breaks down information into structured memory layers, optimizing the processing efficiency of large language models (LLMs).

Detailed Developments

In real-world tests with the complex strategic deck-builder Slay the Spire 2, traditional AI agents often struggle as gameplay extends. Cumulative chat histories and action logs quickly overload the prompt input. According to the AgenticSTS project report, replacing linear storage with a decoupled memory structure helps the AI make more accurate decisions. Experimental results show that the AI integrated with this new architecture achieved an impressive win rate, whereas competitors using traditional methods failed entirely.

Technical & Technological Analysis

The core of AgenticSTS lies in replacing continuous chat logs with five distinct, structurally designed memory layers. This technical solution limits the prompt size to around 5,000 tokens throughout the operation. This upgrade prevents input data from ballooning to over 500,000 tokens, as is common in standard agent systems. Controlling the token size not only minimizes API costs and computational resources but also prevents the 'needle in a haystack' effect (information loss) in LLMs when dealing with excessively long contexts.

Expert Insights & Perspectives

According to researchers from the AgenticSTS project, optimizing an agent's working memory is key to deploying AI in long-term, complex tasks beyond gaming. Tech observers note that winning 6 out of 10 matches in a highly tactical game like Slay the Spire 2 demonstrates the superior practicality of layered memory architecture compared to the traditional approach of stuffing context into the prompt.

Impact & The Future

The success of the AgenticSTS project opens up new directions for designing AI agents in real-world and production environments. Solving the token bottleneck will enable automated systems to operate more sustainably in enterprise settings, where task sequences can span days or weeks rather than just a few minutes of gameplay.