← All concepts

context window management

2579 articles · 15 co-occurring · 10 contradictions · 137 briefs

Documentation explicitly covers context windows, compaction, and editing as first-class API features

@marfinxx: Microsoft researchers just proved that Frankenstein multi-database setups are...

Article argues memory problems stem from architecture, not window size. Larger windows treat symptom (conflicting evidence) not root cause (lost temporal structure).

@shao__meng: OpenWiki repo - @LangChain

Suggests bigger context windows aren't the solution to agent memory problems; rather, smarter invalidation tracking is

@petergyang: Instinct is very well done.

[STRONG] "I can't see myself doing real work with Instinct since it's all just in one thread" — Article identifies a key limitation: inability to maintain multiple parallel conversation contexts, which contradicts the capability for effective context management in multi-threaded workflows

@mathemetica: Open-loop inverse kinematics drifts: tiny errors compound as you integrate

This suggests mere context window size is insufficient; stability comes from feedback architecture, not volume

@IntuitMachine: I believe there's a huge gap in understanding what LLMs actually do and the n...

The problem isn't fitting more context in the window—it's including the RIGHT context. This suggests context engineering is less about window size and more about specification completeness.

@zhengyaojiang: Had a look at Cordis, the theory behind DeepSeek Harness's plugin architectur...

Author argues that context windows make true component independence impossible, directly undermining separation-of-concerns patterns

@askalphaxiv: "Full-bandwidth Transformer"

Full-bandwidth approach suggests improving information flow through architecture rather than managing external context windows. Potentially reduces need for aggressive context pruning if model can internally preserve richer state.

@monokern: This is f*cking required reading

Article frames problem as architectural (too many agents) not token efficiency. Argues against complexity scaling, which could indirectly improve context efficiency by reducing handoffs.

@tokenbender: giving the model a tool that says <think> and getting a response in it vs get...

[INFERRED] "leak decrypted cot from server side" — Article implicitly challenges the notion that hidden server-side reasoning extraction is equivalent to transparent tool-based reasoning, introducing a security/transparency concern that complicates context and reasoning visibility management

@kotekjedi_ml: We can finally talk about it:

Reveals that advertised context windows are misleading because hidden reasoning tokens consume space not visible to users. This undermines traditional context window optimization strategies.

2026-W35
10045
2026-W34
5704
2026-W33
8491
2026-W32
7002
2026-W31
6895
2026-W30
8185
2026-W29
9436
2026-W28
9300
2026-W27
6527
2026-W26
3869
2026-W25
8903
2026-W24
8670

Article directly discusses staying within token limits while managing context across multiple LLM calls

Documentation explicitly covers context windows, compaction, and editing as first-class API features

Article explicitly lists 'context windows' as engineerable dimension alongside retrieval, compression, memory, and ordering

Entire guide is about optimizing token allocation within context window constraints

Post frames business workflow visibility as a context window and discusses explicit management strategies

Article's core subject is managing what enters context window—compression, retrieval, dropping stale data.

Context Stuffing leads to Context Bloat, a phenomenon where performance degrades, costs skyrocket, and latency becomes unbearable." — Article directly addresses managing context windows in LLMs, citin

Single analysis agent could only read 'tiny fraction' of total data; understanding improved when fuller dataset accessed. Direct evidence that context window is the binding constraint.

The trick is to break up the work to keep the context window small for each sub-agent." — Direct statement of a practical technique: subdividing tasks across multiple sub-agents to manage context wind

Article directly teaches context window management as core discipline, with strategies for adding/removing/condensing information.

Article demonstrates five concrete strategies for managing context window constraints in production agents

Article directly addresses managing what goes into limited context windows through intentional inclusion and structure

Article directly discusses context window as constraint and optimization target

Article demonstrates practical context window budgeting: 200k tokens → 200 tokens is core context management decision.

Article is explicitly about managing context window usage to prevent performance degradation

Article is entirely about deliberate management of context window as a systems problem, using the RAM/thrashing metaphor as core organizing principle

Article directly addresses the core challenge of context engineering: deciding what information goes into the context window and how to structure it for consistent outcomes.

Article explicitly builds a system to manage context window allocation, compression, and token budgeting

The entire thread is about managing token consumption and context window pollution through architectural isolation patterns.

The agent started losing context mid-run. It would correctly identify an anomaly in step 3, then forget it existed by step 7 when it needed that finding to make a final decision. The context window wa

Specialized knowledge for each capability doesn't fit comfortably in a single prompt. If context windows were infinite and latency was zero, you could include all relevant information upfront. In prac

Context is everything. In this lesson, you will learn how to identify, collect, and serve the right information and tools to your AI Agents at the right time." — Article directly addresses identifying

As the session context crosses 85% of the model's available window, Deep Agents will truncate older tool calls, replacing them with a pointer to the file on disk and reducing the size of the active co

Cache efficiency directly impacts token usage and context window utilization

[direct] "The trick is to break up the work to keep the context window small for each sub-agent." — Provides tactical evidence that work decomposition across sub-agents is a core strategy for managing

All of the information pulled together from the long-term or stored in local memory is called short-term or working memory. Compiling all of it into a prompt will produce the prompt to be passed to th

Turn unstructured inputs into a context layer that agents can use" — Nicolas's role as 'Context Engineering Intern' demonstrates practical application of structuring context for agent optimization and

MCP servers may have up to 50+ tools and take up a large amount of context... Tool Search allows Claude Code to dynamically load tools into context when MCP tools would otherwise take up a lot of cont

The agent accumulates text after each tool call and passes it to the LLM again, so I need a way to handle this accumulation efficiently to optimize latency and token usage." — Article presents a real

Subagents tackle a fundamental problem in agent engineering: context bloat. This is when an agent's context window becomes close to full as it works on a task." — The article identifies context bloat

Without orchestration, agents duplicate effort, contradict each other, and lose context at every handoff. With it, you get systems that resolve customer tickets, process insurance claims, and manage s

Context — Structured data (documents, database records, knowledge bases)" — Article identifies context as a core problem MCP solves, directly addressing how structured data is managed for LLMs

控制什么内容留在上下文窗口中、什么内容被摘要压缩、以及何时使用子 agent 或上下文压缩等技术" — Article directly addresses context window as a managed resource, discussing what content stays, compression strategies, and sub-agents for long task

a developer using a robust set of tools might sacrifice 33% or more of their available context window limit of 200,000 tokens before they even typed a single character of a prompt" — Article demonstra

这些外部依赖带来的是上下文污染,Agent 表现反而下降。" — Article provides evidence that excessive tool integrations and plugins cause context pollution, directly demonstrating a key principle of context window management.

SKILL.state is a specific implementation of context window optimization through state compression rather than history truncation.

Demonstrates that context window size alone doesn't solve the problem; what matters is *how* you decide what fills that window. This is the core of context window management strategy.

takes all the scattered information around a cancer diagnosis, like medical documents, doctor conversations, decisions, questions and updates, and puts everything into one place" — Demonstrates practi

Directly addresses how to manage context within token budgets through intelligent eviction and projection rather than compression

Explicitly distinguishes short-term memory (in-context) from long-term (external), framing context window as a finite resource requiring lean management

All four techniques (progressive disclosure, code mode, externalization, compression) are direct context window optimization strategies

Weighted Memory Tree is a solution to context window management that replaces traditional pruning with dynamic retrieval and decay scoring.

Proteus directly addresses how to optimize memory usage within context windows—a core context window management problem.

TTT is a specific approach to managing long context windows by making them adaptive rather than static. It moves from passive windowing to active weight adaptation based on context distribution.

KV cache-aware design is a specific optimization strategy for managing limited context windows by making cache preservation a first-class architectural concern

This is the first week in @linear's history when issues created through MCP surpassed application created ones." — Demonstrates MCP achieving critical adoption milestone in production system (Linear),

My context window is a manuscript, and I am every scribe in its lineage at once." — Article uses manuscript copying as a metaphor for how context windows force systems to operate within bounded inform

Reveals that advertised context windows are misleading because hidden reasoning tokens consume space not visible to users. This undermines traditional context window optimization strategies.

a hook that fires after every compaction...augments whatever Claude does with my own custom recipe of restored context" — Demonstrates practical implementation of context restoration after compaction

query this concept
$ db.articles("context-window-management")
$ db.cooccurrence("context-window-management")
$ db.contradictions("context-window-management")