#context management

59 stories · 3 in 7 days · 9 in 30 days
Stories, products and papers tagged "context management", newest first.
Nov 21
Chinese contentSteve Yegge 谈 AI 编程助手的上下文污染:被推翻的旧指令仍会持续干扰

Yegge 这个观察挺扎心:你早就不想要的那条规则,agent 还在默默执行。写 CLAUDE.md 或 rules 文件的人应该定期删旧条目,别让上下文变成决策垃圾场,不然 debug 都找不到原因。

AI Engineer@aiDotEngineerSource
Nov 16
How-toBuildersSelected11:18
Main Session + Thread pattern cuts agent token costs

The counterintuitive point is that the strongest model belongs in the worker threads, not the coordinator — inverting how many developers set up agent pipelines. Builders deploying long-running bots on metered APIs can adopt the cache-expiry compaction trick immediately to lower costs without changing models. Compared with naive single-session designs, it trades a retrieval step for large savings on context re-sends, useful for teams in cost-sensitive ASEAN markets where API spend adds up fast.

宝玉@doteySource
Chinese contentCarryOn:为长程 LLM 智能体学习上下文保留策略

智能体跑长任务时历史记录越长越容易乱,摘要又会丢细节。这篇论文的 CarryOn 用学习型选择器挑证据保留,不加 LLM 调用,三个基准上超基线 6.7 个百分点。做智能体开发、被上下文成本折磨的人可以看看思路。

arXiv cs.AI@Lihuan Li et al. (8)Source
Nov 14
Nov 13
Chinese contentFolio:可恢复的多分辨率上下文折叠,提升长程智能体任务表现

搞智能体的朋友可以看看这篇。Folio 不靠模型写摘要压历史,而是运行时留三层记录直接程序化折叠,还能用句柄恢复原文。同一运行时下 75 个任务解决 66 个,比模型摘要方案的 54 个多不少,成本还只有 1/2.4,做长任务 agent 的值得对比一下自己的压缩方案。

arXiv: DeepSeek@Yubo Ruan et al. (14)Source
Nov 11
Nov 7
Oct 24
How-toBuildersSelected19:43
Billion-context: layered compression lets agents restore billion-token history

Unlike one-shot summaries, restoring original content on demand means day-one decisions remain traceable after weeks-long sessions with multiple refactors — no detail is permanently lost to compression. Developers running long-horizon coding or tool-using agents can adopt it across Claude Code, Codex, OpenCode and DeepSeek Harness to cut token costs while keeping history searchable.

AIGCLINK@aigclinkSource
Oct 21
How-toBuildersSelected18:37
dsh-context Tool Visualises Agent Context Usage for DSH

Context cost in long-running agents usually hides inside tool results and sub-agent calls, and dsh-context makes those allocations traceable instead of guessing from a total token count. Builders running multi-agent workflows on DSH can use it to diagnose cache misses, runaway context growth and per-sub-agent spend, then rebalance prompts or trimming before costs climb.

AIGCLINK@aigclinkSource
Oct 17
Oct 15
Oct 13
Oct 9
How-toBuildersSelected12:04
Agent session management: Chinese developers study Codex and Claude Code

The practical takeaway is that context management is where leading agent teams concentrate engineering effort, and that openly studying shipped coding agents like Codex and Claude Code is the standard playbook rather than a shortcut. Engineers building agents can go read how Codex and workbuddy handle images to cut tokens and hallucinations. The report that a top Chinese agent team converges on the same solutions as Western tools shows how tightly designs are globalising.

AIGCLINK@aigclinkSource
Oct 8
Oct 4
How-toBuildersSelected12:49
Agent Development Pattern: Patch Weaknesses, Then Absorb Them into Models

The takeaway is a systems view: agent reliability today depends on scaffolding that future model versions will gradually internalise, so over-engineering external layers carries a hidden tax. Builders designing agent stacks can use this lens to decide what to build versus what to wait for. The trade-off framing is a useful counterpart to tool-heavy frameworks like LangChain when evaluating thin versus thick orchestration.

李继刚@lijigang_comSource
PapersBuildersSelected01:29
AutoCompact trains agents to decide when to compact context

The notable shift is model-harness co-design: instead of hard-coded rule-based compaction, the model learns when to invoke it — part of a broader trend including AutoHarness and AutoContext. Builders of agent frameworks can compare this learned approach against the rule-based compaction already packaged in harnesses, and the arXiv paper (2610.02163) details the judge-then-RL pipeline for replication.

elvis@omarsar0Source
Oct 1
Sep 30
PapersBuildersSelected73°21:26
LLM context editing method

This approach addresses a fundamental limitation in how LLMs manage context, potentially reducing computational overhead while improving memory retention. Developers working on long-context applications should explore this technique as it may offer significant efficiency gains over traditional context management methods.

Nathan Lambert@natolambertSource
Sep 12
Chinese content更多内存不等于更好,IBM研究指出AI代理需精准检索历史

IBM研究说,给AI代理加更多内存不一定更好,反而可能让无关历史干扰当前任务。他们发现不同模型对记忆的需求不同,比如gpt-oss-120b模型用精选检索比用完整指南集效果更好,还少用很多令牌。如果你在开发需要持久记忆的代理,这个研究方法值得参考。

Milvus@milvusioSource
Sep 7
Sep 6
Sep 3
Sep 1
Aug 31
Aug 26
Aug 23
Aug 18
Aug 10
Aug 3
Aug 2
Jul 28
Jul 25
Jul 24
Jul 8
Jul 3
Jun 28