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

Skills are new features: Building Skill-Centric Harness — Yogendra Miraje, FactSet
AI Engineer · 2026-07-29

FactSet treats skills as versioned product features and the harness as their runtime. Routing descriptions, model-specific evals, access controls, and governance matter as libraries grow.

AI tools for Forward Deployed Engineering — Vasuman Moza, Varick Agents
AI Engineer · 2026-07-28

Varick treats enterprise agents as process-reengineering systems: capture how work really happens, encode that context, then automate only the steps whose risk permits it.

How Forward Deployed Engineering is done at Ramp — Leo Mehr
AI Engineer · 2026-07-28

Ramp pairs strict request scoping with agents across the delivery pipeline. Its intake agent reportedly saves about 20% of scoping time, while humans retain final judgment.

UniMem: Complementary Episodic-to-Parametric Memory for Boundary-Agnostic Task Streams
arXiv · 2026-07-28

UniMem routes novel experience into retrieval memory and consolidates recurring patterns into expandable parameters, offering a design for agents that learn across unlabelled task streams.

Does Runtime Topology Context Improve LLM-Generated Kubernetes Security Patches?
arXiv · 2026-07-28

Kubernetes security patches improved sharply when the model received live service dependencies, showing that scanner findings alone omit context needed to avoid breaking workloads.

How Forward Deployed Engineering is done at Decagon — Sunny Rekhi
AI Engineer · 2026-07-28

Decagon splits deployment between configuring each customer’s agent and turning repeated enterprise requests into product features. The scarce skill is resisting brittle one-offs.

How Forward Deployed Engineering is done at Kepler — Vinoo Ganesh
AI Engineer · 2026-07-28

Kepler frames forward deployment as product discovery: observe real work, ship the smallest useful fix, then turn repeated pain and customer vocabulary into durable product leverage.

AI on Your Lakehouse: Context Comes in Shapes, Not Queries — Zach Blumenfeld, Neo4j
AI Engineer · 2026-07-23

Graph-shaped context can expose relationships and document structure that vector search or Text-to-SQL misses. Treat it as an additional retrieval surface, then benchmark it against your own data.

Citation Needed: Provenance for LLM-Built Knowledge Graphs — Daniel Chalef, Zep AI
AI Engineer · 2026-07-23

LLM synthesis breaks simple source pointers when facts merge, change, or outlive one input. Model provenance inside the context graph so agents can filter trust, debug derivation, and apply deletion policies.

WTF Is the Context Layer? The Missing Infrastructure for Production Agents — Prukalpa Sankar
AI Engineer · 2026-07-14

Atlan’s agent experiments argue for shared, versioned context instead of per-agent memory: a portable layer for business facts, skills, norms, retrieval, and feedback across changing harnesses.

Do AI Agents Know When a Task Is Simple? Toward Complexity-Aware Reasoning and Execution
arXiv · 2026-07-14

E3 makes agents estimate task scope, try the minimum viable path, and expand only after verification fails. In a controlled edit benchmark, it preserved task completion while sharply reducing work.

The Illusion of Robustness: Aggregate Accuracy Hides Prediction Flips under Task-Irrelevant Context
arXiv · 2026-07-14

Stable aggregate accuracy can hide individual answers flipping when irrelevant context is added. Agent evaluations should compare outputs per task and probe realistic context noise, not only average scores.

TencentCloud/TencentDB-Agent-Memory
GitHub

An open-source memory hub turns agent conversations, workflows, docs, and code into governed assets that can be reused across sessions and roles, reducing repeated project setup.

virgiliojr94/book-to-skill
GitHub

book-to-skill compiles books and document sets into on-demand agent skills, reducing repeated context loading while preserving chapter-level references and reusable decision rules.

How Temperature Shapes Ideological Discourse in Retrieval-Augmented Generation?

A RAG study finds that retrieved ideology carries into answers and varies with sampling temperature, so source audits and decoding tests should be evaluated together.

RLM: Recursive Language Models for Large Codebases - Shashi, Superagentic AI

RLMs treat a large repository as external data that an agent inspects with code, returning bounded evidence to the main context instead of loading or summarizing everything upfront.

Graphify-Labs/graphify

Graphify gives coding agents a queryable project graph with provenance-tagged relationships, reducing repeated repository scans while keeping inferred links visibly distinct from extracted facts.

CompactionRL: Reinforcement Learning with Context Compaction for Long-Horizon Agents

CompactionRL uses RL to teach agents to compact their own context mid-task, lifting GLM-4.5-Air 7 points to 66.8% on SWE-bench Verified; the recipe is now in GLM-5.2's training pipeline.

ReContext: Recursive Evidence Replay as LLM Harness for Long-Context Reasoning

ReContext is a training-free harness that replays query-relevant evidence from long inputs before answering, taking the best average rank across 8 long-context benchmarks up to 128K on Qwen3-4B/8B and Llama3-8B.

coreyhaines31/marketingskills

Marketing Skills gives coding agents shared product context and task-specific workflows for CRO, copy, SEO, analytics, pricing, and launch work, reducing repeated setup across growth tasks.

asgeirtj/system_prompts_leaks

A maintained archive of extracted system prompts from 100+ AI products — Claude Fable 5, Claude Code, ChatGPT 5.5, Gemini, Cursor — useful for studying how vendors actually instruct their agents.

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.