Sources
- Software agent (Wikipedia)
- Self-generated prompt injections in compaction summaries
- Compaction
- Effective context engineering for AI agents
- Context Rot: How Increasing Input Tokens Impacts LLM Performance
- Designing Tools for Agents: The Agent-Computer Interface | AgentEngineering.org
- Beyond Prompts: Measuring and Optimizing LLM Tool-Agent Harnesses
- LLM Knowledge Base Freshness Scoring: Metrics and Framework
- Building a Least-Privilege AI Agent Gateway for Infrastructure Automation with MCP, OPA, and Ephemeral Runners
- Context engineering: memory, compaction, and tool clearing | Claude Cookbook
- Fresh Memory, Stale Plans: Dependency-Scoped Validation for Distributed LLM-Agent Memory
- Does RAG Know When Retrieval Is Wrong? Diagnosing Context Compliance under Knowledge Conflict
- Building Harvey’s MCP Policy Engine
- Introducing advanced tool use for Claude
- Optimal Context Window for Coding Agents | LangWatch
- LLM Wiki v2: What Breaks at Scale
- Capable language models can outgrow the benefits of collaboration – MIT Media Lab
- TrueForge Context Compaction, Explained
- ACM: Agentic Context Management for Long Horizon Tasks
- Before the Tool Call: Deterministic Pre-Action Authorization for Autonomous AI Agents
- Claw-SWE-Bench: A Benchmark for Evaluating OpenClaw-style Agent Harnesses on Coding Tasks
Notes
- Tool design deserves prompt-engineering attention
- Context packing and tailored interfaces rival model choice
- Compaction summaries recycle instructions into trusted state
- Sentence-level judgments detect when grounded agents misread context
- Context signals outrank context size
- The focused-vs-full prompt gap is the metric that tells you which tokens carry signal
- Well-crafted tool interfaces rival model choice
- Short-lived task-scoped credentials beat standing keys at the tool boundary
- Freshness is a governance layer that grounding and faithfulness cannot see
- Clearing, compaction, and memory divide context management by failure mode
- Grounding holds only when every RAG stage fails closed
- Tool definitions are a three-layer problem: discovery, execution, and invocation
- Set the compaction threshold by task type, and preserve a verbatim tail rather than a wide window
- Long-horizon agents need agent-initiated context management, not just bigger windows
- Future-commit leakage hides reference fixes inside coding-agent benchmarks