Open Brain
Atlas / Context

Context Engineering

Open JSONConfidence: EditorialLast updated Jul 2, 2026

Current Answer

Deciding what belongs in an agent’s context window — and what to leave out — so the model spends its budget on decision-relevant material.

Implementation Consequence

Most agent failures are context failures: too much noise, missing facts, or stale material. Treating context as a ranked budget makes sessions repeatable.

Evidence

AI EngineerAI Engineer TalkTranscript Verified
Context engineering for coding agents — AI Engineer World’s Fair
A reusable framework for deciding what belongs in an agent’s context window and what to leave out.
AnthropicOfficial ReleaseOfficial Source
Claude Code ships subagents in isolated context windows
Long refactors no longer pollute the parent context — a child agent does the noisy work and reports back.
GoogleDocs UpdateOfficial Source
Gemini agent SDK adds shared context caching across sessions
Cached context is billed once and reused across agent sessions — changes the economics of long system prompts.
GitHubGitHub RepoRepo Verified
ctxlint: a linter for agent context files
Lints CLAUDE.md / AGENTS.md / rules files for staleness, contradiction, and dead links.
The Power of Meta Access in the Software of the Future --- Demonstrated on LLM Chat UIs and Chat AI
arXiv · 2026-11-05

A paper proposes giving assistants structured, permissioned access to application state and capabilities. Its prototype supports bounded retrieval and confirmed, reversible changes, while identifying control-plane and prompt-injection risks.

A Framework for Context Enrichment and Selective Robustness in LLM Social Agents
arXiv · 2026-11-04

The paper tests whether richer prompts make simulated LLM agents less brittle. Its selective-robustness criterion may help builders distinguish useful context from wording that merely changes behavior.

SpecCompact: Accelerating LLM Agent Context Compaction with Slot-Parallel Semantic Speculative Verification
arXiv · 2026-11-04

SpecCompact proposes parallel draft-and-verify summary slots to reduce agent-history compaction latency. Its reported speedups come with model- and task-dependent downstream trade-offs.

ACCT: Asymmetric Cross-LLM Context Transfer
arXiv · 2026-10-30

ACCT transfers selected KV cache states between differently sized models in the same family, so a target can reuse context computation. The paper reports faster prefill conversion and similar or better task performance with a smaller cache.

Subquadratic Attention with a Hierarchical Tree-Structured Indexer
arXiv · 2026-10-30

ZHA uses a tree index over compressed KV-cache summaries to retrieve sparse keys with subquadratic attention scaling. The paper reports maintained results on long-context and agentic coding evaluations; million-token performance is a scaling claim.

Ling 3.1 Flash 1019 now available on AI Gateway for free
Vercel · 2026-10-30

Ling 3.1 Flash 1019 is free on Vercel AI Gateway through Nov 3, 2026, with a 1M-token context window and support for coding, reasoning, and tool use.

Multi-State Linear Attention with Generalized Second-Order Routing
arXiv · 2026-10-27

MERLIN adds mean and variance estimates to how multi-state linear attention routes information from long-context segments. It improves reported RULER and LongBench results on two model variants, including against baselines using four times more memory.

Retriever-Free Retrieval: Navigating Documents with Decision Models
arXiv · 2026-10-26

DecisionRAG uses an LLM to navigate document branches without a first-stage retriever. Its reported gains suggest retrieval quality can improve by changing how candidates are searched, not only how they are ranked.

The Language of Instruction: Genre and Generative AI
arXiv · 2026-10-23

A paper frames instruction-tuned assistants as following a learned conversational genre shaped by system prompts, role labels, and special tokens. It offers a lens for understanding why prompt and message structure affect behavior.

Pixel Canary is now available in stealth for free on AI Gateway
Vercel · 2026-09-25

Pixel Canary reaches 90.3% on Vercel’s Next.js eval and 96.8% with docs in AGENTS.md, but lacks ZDR and may use prompts and responses for training.

Better prompt caching for GPT-6
OpenAI · 2026-09-22

GPT-6 adds cache diagnostics, explicit breakpoints, and controls aimed at improving prompt-cache hit rates, giving agent builders more levers over repeated-context latency and cost.

CliffCompaction: Cost-Efficient Compaction for Long-Horizon Coding Agents
arXiv · 2026-09-22

CliffCompaction cuts long-horizon agent costs by dropping or truncating original context instead of rewriting summaries, aiming to prevent drift across repeated compactions.

LoRA-generating hypernetworks for efficient on-device LLM generative personalization
arXiv · 2026-09-21

A hypernetwork can synthesize a user-specific LoRA on-device from context tokens, offering persistent personalization without extending every prompt or running local training.

How V7 gives AI agents institutional memory
OpenAI · 2026-09-21

V7 uses GPT-5.6 to turn scattered company files into source-linked context for agents, targeting complex work that needs institutional knowledge.

Total Recall: Agent Memory and Harness Engineering — Ignacio Martinez, Oracle
AI Engineer · 2026-09-18

Treat memory, context control, concurrency, and model routing as harness concerns. The workshop shows how these layers can improve agent behavior without changing model weights.

An Empirical Study of Harness Design for Coding Agents
arXiv · 2026-09-17

Harness components pay off differently by model and budget. Elide before summarizing, use planning selectively, and avoid elaborate tools when the model is already strong with bash.

Stop Chunking Like It's 2022 — Yuval Belfer, AI21 Labs
AI Engineer · 2026-09-16

Fixed chunk sizes leave query-dependent retrieval quality on the table; multiscale indexes plus reciprocal rank fusion improved recall across four tested datasets at a memory cost.

The unreasonable effectiveness of BM25 for agentic search — Jo Kristian Bergum, Hornet.dev
AI Engineer · 2026-09-16

Agent search changes the retrieval workload: models issue long, iterative queries and inspect literal matches. BM25 remains useful, but tuning, harness design, and end-to-end evaluation matter.

Pinecone 2.0 — Edo Liberty, Pinecone
AI Engineer · 2026-09-16

Pinecone’s Nexus packages persistent company context behind an agent-facing query layer. The useful idea is to maintain goals, decisions, tables, and indexes once instead of rediscovering them per session.

Corrupt Plans, Clean Traces: Evading Chain-of-Thought Monitoring with Plan Injection
arXiv · 2026-09-14

Plan injection can make an actor follow adversarial instructions while producing reasoning that looks benign to a monitor. Agent builders should treat chain-of-thought inspection as one signal, not a security boundary.

The Router Within: Eliciting Native Skill Routing from a Frozen LLM
arXiv · 2026-09-14

Gavel routes skills from a frozen model’s internal states without loading skill text into context. It suggests large skill libraries may need model-native selection rather than metadata-heavy prompts.

Training Taste — Thais Castello Branco, Taste Labs
AI Engineer · 2026-09-10

AI did not start web-design sameness, but it accelerates it. Builders should give design agents explicit brand context, varied references, and checks for repetition, fit, and coherence.

ConvMem: Convolutional Memory for Long-Context Reasoning
arXiv · 2026-09-09

ConvMem replaces sequential long-context memory updates with a parallel hierarchy of summaries, offering a training-free pattern for agents that must reason over oversized inputs.

MCP Apps: Give the Model Data, Give the User a UI — Dustin Mihalik, Indeed
AI Engineer · 2026-09-09

An MCP widget can reduce an agent’s useful work if rendering and retrieval share one tool. Keep data exploration separate, then render only the results the model selects.

Your agents lack context: Here's how to fix "You're absolutely right!" — Brandon Waselnuk, Unblocked
AI Engineer · 2026-09-09

In one same-prompt test, a context engine nearly halved agent token use. The design goal is targeted, permission-aware retrieval that resolves conflicts across engineering systems.

Your company brain will leak secrets: how we stopped it for big banks — Tanmai Gopal, PromptQL
AI Engineer · 2026-09-03

Shared agent memory needs user-scoped reads, human-approved writes, and per-request credentials. The talk offers a concrete security boundary for company-wide context and tools.

Agents' next frontier: agent-to-agent and network effects — Jean-Denis Greze, Town
AI Engineer · 2026-09-03

Cross-silo agents are primarily a context and privacy-boundary problem. Start with low-sensitivity data, explicit sharing policy, and approval at the moment information leaves a silo.

Large Language Models (LLMs) for Telecom Root Cause Analysis (RCA): A Structured Reasoning Framework for Evidence-Grounded Diagnosis
arXiv · 2026-09-02

A telecom diagnosis pipeline structures telemetry before forcing a decision path and evidence-grounded explanation. The pattern is relevant to agents reasoning over heterogeneous operational data.

Multimodal Collaborative Agents for Next-Gen Commerce — Nidhi Kaushik Vyas, Google DeepMind
AI Engineer · 2026-09-01

For fuzzy requests, an agent should identify the missing constraint with the most decision value, elicit it in the right modality, then choose a response format suited to the task.

AI-Native Organisations Run on Skills: How to Structure and Scale Them — Imad Touil, QuantumBlack
AI Engineer · 2026-08-28

Shared agent skills can turn team know-how into portable workflows, but unmanaged catalogs create duplication and policy risk. Treat skills as versioned, evaluated dependencies.

How to Generate Mergeable Code with a Context Engine — Peter Werry, Unblocked
AI Engineer · 2026-08-27

Agents often stop after finding plausible code context. Werry argues for task-specific retrieval that also surfaces decisions, conventions, PR history, and expertise before planning or review.

CritICL: Inference-Time Weak-to-Strong Generalization from Small Language Model Failure Modes
arXiv · 2026-08-27

CritICL turns recurring failures from smaller models into critique examples for stronger models, aiming to improve inference with fewer generations and lower token cost than repeated sampling.

How We Got LLMs to Recommend Our Open Source Library — Christopher Burns, Inth
AI Engineer · 2026-08-26

For fast-changing libraries, ship concise agent-facing docs inside the package as well as on the web; agents may inspect installed code before visiting your site.

AI in GTM at Notion — Flora Liu
AI Engineer · 2026-08-26

Notion treats GTM automation as a shared context system for humans and agents, not an AI layer over disconnected tools. The key design choice is keeping risky customer actions human-approved.

What If Your Chip Design Team Moved Like a Single Body? — Abduallah Mohamed, AIDAChip
AI Engineer · 2026-08-22

Tool-by-tool restrictions failed to contain a chip-design agent. Enforce permissions at the substrate, isolate files by role, and propagate approved spec changes from one source of truth.

From Regulation to Implementation: A Critical Evaluation of LLM-Assisted Regulatory Compliance in Industry
arXiv · 2026-08-21

LLM compliance generation behaves differently under vague and strict schemas: vague artifacts need richer context, while rigid formats can stay consistent yet hallucinate.

Building Agents Is Trivial Now, Context Is the Next Frontier — Jeff Ng, Unblocked
AI Engineer · 2026-08-21

A coding agent with repository access still recommended a known outage trigger. Background agents need reconciled decisions and incident context, not just more raw MCP results.

ConceptTS: LLM-Guided Concept Bottlenecks for Interpretable Multivariate Time-Series Forecasting
arXiv · 2026-08-21

ConceptTS turns LLM-proposed concepts into executable labels and interpretable forecasting bottlenecks, enabling concept-level inspection and intervention.

Inject, Align, Recover: Staged Post-Training for Retrieval-Free Document Knowledge Internalization
arXiv · 2026-08-20

IAR turns a fixed document corpus into parametric knowledge through separate injection, QA alignment, and recovery stages. It improved domain QA while retaining more general capability than vanilla SFT.

Your Fine-Tuned Model Is Tech Debt: A 50x ROI House of Cards — Dan Bjornn, Lease End
AI Engineer · 2026-08-20

Lease End replaced a fine-tuned intent classifier with skills and runtime context, cutting production fixes from about a week to under an hour. Higher API spend was offset by lower maintenance cost.

Agent-Ready Context

Treat context as a budget, not a dump. Rank material by decision-relevance; evict anything that does not change the next action. Isolate noisy subtasks into subagents. Cache stable material where the platform allows.
Stable permalink · evidence auto-collected from source labels · synthesis maintained by feed7 editorial
Local Graph
Context Engineering

Graph is progressive enhancement. Every edge listed below.