Chan Wu (@WuChannn) header
Chan Wu (@WuChannn) profile picture
Joined January 2016
Chan Wu retweeted
Agent 记忆真是太特么卷了啊! 不得不说,这个赛道越多人加入越爽啊! Tencent AI团队花了整整6个月,就死磕一个问题:AI agent长会话里疯狂丢上下文。 他们最后把一套记忆系统做完,直接开源了。 我看完他们的分享,最大的感受是,99%的人还在卷上下文长度,真正把agent拉回正轨的,是这三招硬核操作。 第一招,实时压缩过期上下文。 直接把token消耗砍掉61%。 以前动不动就爆上下文,现在中途就瘦身,agent还能保持清醒。 第二招,给agent画一张结构化的任务地图,用mermaid语法直接生成。 30多步的复杂流程里,丢轨概率大幅下降。 agent不再像无头苍蝇,它知道自己现在在哪一步,该往哪走。 第三招,专门给agent建了Persona记忆。 人格一致性从48%直接跳到76%。 它不再一会儿专业一会儿随意,回答风格和角色设定稳得一批。 这套东西不是理论,是他们真实踩坑6个月踩出来的。 Repo已经挂出来了,谁在做agent的赶紧去试。 以前总觉得agent记忆难,是因为我们把问题想简单了。 真正难的不再是存更多信息,是需要解决让它在正确的时间用正确的方式想起正确的东西。 你还在靠堆token解决agent记忆问题吗? 项目地址:github.com/Tencent/TencentDB…
We spent 6 months on one problem: agents losing context in long sessions. Ended up building and open-sourcing an agent memory system. A few things we learned: 🪄compressing stale context mid-session cut token usage by 61% 🪄giving agents a structured task map (mermaid-based) made them way less likely to lose track in 30+ step workflows 🪄persona coherence jumped from 48% to 76% once we added dedicated persona memory repo 👉 github.com/Tencent/TencentDB… Agent memory is genuinely hard and we don't have all the answers. Happy to dig into architecture, benchmarks, tradeoffs, whatever. AMA👇 @TencentDBAbxo2 team is here to talk about it.
29
187
5
910
132,698
Chan Wu retweeted
谷歌悄悄发了个工具,专治看不懂的开源项目。 CodeWiki,丢一个 GitHub 仓库链接进去,AI 直接把整个代码库翻译成一份可交互的文档。 它不是简单总结一下代码,而是: - 自动生成架构图和依赖关系图 - 逐个模块讲清楚是怎么跑起来的 - 配套生成保姆级的使用教程 - 还内置了一个懂整个代码库的聊天机器人,可随时追问 链接:codewiki.google 以前接手一个陌生开源项目,光看懂目录结构就得花上大半天,现在直接丢进去几分钟就能上手。
29
321
9
1,353
128,837
Chan Wu retweeted
LeBron throws down some serious slams in Brooklyn, through the lens of our slo-mo #PhantomCam! amp.twimg.com/v/930f1676-791…
21
421
800
Hello I am here. The first day in twitter.