他们把AI的记忆从聊天日志改成5层结构,token瞬间降了100倍,在Slay the Spire 2里赢了6/10场,别的方法全输。
AgenticSTS项目用五层结构化记忆替代不断增长的聊天日志,将AI提示长度从超过50万tokens压缩至约5000tokens。在卡牌游戏Slay the Spire 2中,该代理赢得6/10局对局,而使用常规聊天日志的竞争代理零胜。结果表明结构化记忆可有效控制token成本并提升游戏策略表现。
AI agents win at Slay the Spire 2 after researchers replace growing chat logs with structured memory
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 article AI agents win at Slay the Spire 2 after researchers replace growing chat logs with structured memory appeared first on The Decoder .