AI Agents Do Not Fail Alone: The Context Fails First

The Context Fails First (arXiv:2607.14275) by Fouad Bousetouane validates context-engineering quality as an independent leading indicator of AI agent reliability. Agents do not fail in isolation: their behavior is shaped by the instructions, tools, memory, retrieved knowledge, guardrails, and untrusted inputs in their context. When the context is weak, agents drift, hallucinate, misuse tools, ignore constraints, become vulnerable to injection, and waste tokens.

The model is fixed — the context is the variable that fails first

In a controlled study across regulated agent domains, holding frontier LLM agents fixed and varying only their operating context, context-quality criteria consistently predict their corresponding behavioral outcomes. The measurement is implemented in the open-source ProofAgent Harness with multi-juror, consensus-based scoring, and the context score is isolated from behavioral metrics and release decisions, enabling a non-circular validation.

Seven context-engineering criteria

Headline finding

Context measurement is a validated preflight signal for AI agent reliability, and context engineering is an auditable layer of agent evaluation and governance. The measurement ships open source in the ProofAgent Harness (arXiv:2605.24134) under Apache 2.0, so a team can score their own agent context before release.