Sign InOpen 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.
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.

The Last Human Code Review: Building Trust in AI-Generated Code — Itamar Friedman, Qodo
AI Engineer · 2026-08-20

Automated code review depends less on a stronger model than on codifying team rules, architecture, incidents, and service contracts into context both humans and agents can inspect.

The Next Game Engine Won't Have a Manual — Arturo Nunez, Nereu
AI Engineer · 2026-08-18

Nereu argues that coding agents need an engine-native vocabulary, not more generated glue code: tags, reusable systems, and selective scene context turn game intent into reliable actions.

Context Engineering in 2026 — Louis-François Bouchard, Omar Solano & Samridhi Vaid, Towards AI
AI Engineer · 2026-08-17

In this AI-tutor evaluation, keeping full history beat compaction on recall and cost because cached tokens were cheap. Measure your constraint before shortening agent context.

Handover of In-Context Learning State Across Session Boundaries
arXiv · 2026-08-14

Agent handoffs should preserve task-relevant predictive state, not blindly compress the transcript. The paper offers a three-part record for carrying decisions, evidence, and irreducible observations across sessions.

SheetCompass: Hierarchical Relation Graphs for Agentic Spreadsheet Reasoning
arXiv · 2026-08-14

SheetCompass keeps spreadsheet structure as a hierarchical relation graph instead of flattening cells into text. Its agent memory retains task-relevant context across sheets, tables, and columns.

The Rise of CaaS: Context-as-a-Service for Agentic AI — Omer Primor, Bright Data
AI Engineer · 2026-08-14

A small company-enrichment test suggests rented web context is convenient for changing queries, while repeated stable queries may justify owning the pipeline. The reported crossover was around 15,000 queries.

Lessons from Studying Every Memory System — Shlok Khemani, Independent
AI Engineer · 2026-08-12

Persistent memory is a compute and product tradeoff, not just retrieval. Profiles need conflict detection, visibility, editing, and deliberate update cadence before agents can rely on them.

LLM Knowledge Bases: a practical guide — Ben Holmes, Warp
AI Engineer · 2026-08-12

A useful agent knowledge base starts with abundant raw Markdown, then adds controlled tags, backlinks, and generated indexes. Scheduled agents can maintain it, but sync and taxonomy need explicit rules.

Intelligence + Continual Learning = Expertise — Yu Su, NeoCognition
AI Engineer · 2026-08-12

Stronger models can still behave like smart novices inside company-specific workflows. Agents need learning loops that compress experience into reusable context, procedures, and judgment without losing reliability.

Scaling Compute on Context — Jack Morris, Engram
AI Engineer · 2026-08-12

Training directly on a private corpus can memorize it without producing useful behavior. Durable context learning likely needs synthetic study tasks and recursive self-improvement, not a single fine-tuning pass.

Evolution of agentic surfaces — Gagan Bhat & Isabella Kai He, Anthropic
AI Engineer · 2026-08-11

Anthropic’s harness fixes for Sonnet 4.5 became harmful under Opus 4.5. Treat model-specific scaffolding as replaceable, and keep sessions durable enough to recover context and tool failures.

Codex, Behind the Harness — Dominik Kundel, OpenAI
AI Engineer · 2026-08-10

Codex exposes several reusable harness patterns: deferred tools, persistent browser execution, sandboxed edits, automated permission review, WebSockets, and server-side compaction.

Velocity Sickness: What Happens When Your Whole Team Gets 10x Faster — Matt Dailey, Ref.
AI Engineer · 2026-08-09

Faster code generation can overwhelm merge queues and scatter team attention. The talk proposes durable shared plans as agent state, shifting human effort toward decisions and prioritization.

Anthropic's CCA Exam as a Field-Guide for Agentic Engineering — Frank Coyle, UC Berkeley
AI Engineer · 2026-08-08

A walkthrough of Anthropic’s architect exam doubles as a harness checklist: inspect stop reasons, narrow subagent scope, isolate outputs, and compact long-running context.

Blast Radius
arXiv · 2026-08-07

Blast Radius predicts which code and context a prompt will reach, then reversibly archives unused history. Across seven OpenAI models, it cut token consumption by 17–26%.

An Exploratory Evaluation of LLM-Assisted Rewriting of Moderate-Complexity Financial Sentences for DisCoCat-Based Sentiment Analysis
arXiv · 2026-08-07

Controlled LLM rewriting made harder financial sentences cheaper to process with DisCoCat, cutting circuit size by over 70%, but downstream accuracy improved only modestly.

Learning When to Trust via Selective Context Preference Optimization
arXiv · 2026-08-06

MIST tests whether models use good context while resisting bad context, exposing agents that appear robust only because they ignore external evidence altogether.

Teaching Nemotron Greek: Mining a Corpus, Adapting Retrieval, and Grounding Generation for Modern Greek across Specialist Domains
arXiv · 2026-08-05

A Greek RAG study shows generic multilingual embeddings can lose to BM25 in specialist domains, while targeted adaptation sharply improves retrieval and grounded answers. Language-specific evaluation still matters.

Chained Recursive Language Models for Multi-Iteration Reasoning
arXiv · 2026-08-05

Chained RLM repeatedly gives the same model a fresh context while preserving summaries, a blackboard, and artifacts—a concrete harness pattern for limiting error buildup.

Structured Memory for Edge Language Models: Persistent Context and Corpus Retrieval via O(1) SSM State Injection
arXiv · 2026-08-03

PRECOG precomputes SSM corpus states and injects them at query time, avoiding context re-ingestion. On a 1.2B edge model, reported prefill fell from about 27 seconds to under 6 ms.

Scaling to Long Horizons — Ross Taylor & Chengxi Taylor, General Reasoning
AI Engineer · 2026-07-31

Long-running agents strain context, reward design, and GPU scheduling at once. Compaction and value models can help, but each introduces another optimization trade-off.

Vercel MCP now supports the 2026-07-28 MCP specification
Vercel · 2026-07-31

Vercel MCP now serves the 2026-07-28 and 2025 protocols from one endpoint, letting newer clients adopt stateless requests and revised authorization without breaking older setups.

ReToken: One Token to Improve Vision-Language Models for Visual Retrieval
arXiv · 2026-07-30

ReToken adds one learned retrieval embedding to select relevant visual tokens from a cached context, improving long-image and video benchmarks while fitting training and inference on one H100.

AISPA: User-Centric System Prompt Auditing for Large Language Model Applications
arXiv · 2026-07-30

AISPA turns system-prompt review into an eight-dimension audit. Its survey suggests builders should test prompts for user protection and conflicting instructions, not merely check that safeguards exist.

Let's integrate AI Agents in Event-Sourced Systems — Divakar Kumar, FlyersSoft
AI Engineer · 2026-07-30

Add agents beside deterministic fraud systems, not in place of them: project cross-service events into a semantic layer, send only uncertain cases to specialist agents, then emit the verdict back into the saga.

Latest MCP spec now supported in mcp-handler
Vercel · 2026-07-30

mcp-handler 2.0 adds the stateless 2026 MCP protocol and SDK v2 while keeping 2025 Streamable HTTP clients working, but drops HTTP+SSE and raises upgrade requirements.

Wearing the Agent: From Group Chats to Glasses — Sai Krishna Rallabandi
AI Engineer · 2026-07-29

Shared agents need a different harness: action-boundary security, selective group memory, per-user privacy, and routing that decides both who receives information and when the agent should speak.

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.