Brief #191
Context engineering is inverting: practitioners are abandoning prompt optimization for state management infrastructure—30% of engineering time now spent on harness/memory/skills systems that preserve intelligence across sessions. The bottleneck has moved from 'better prompts' to 'persistent context architectures.'
State Files Over Prompts: Loop Architecture Displacing Prompt Engineering
EXTENDS state-management — confirms state as critical but adds new dimension: state files as primary interface replacing promptsPractitioners are replacing prompt optimization with explicit state management systems (text-based state files, loop architectures) that preserve agent context across sessions. The shift: intelligence compounds through persistent state rather than resetting with better instructions.
Practitioner reports 30% time allocation to context/state systems, predicts shift to 90%. Direct testimony that harness/memory work dominates over traditional engineering.
Loop architecture using state files where 'model reads its own history before every round' to prevent redoing work. Explicit compounding mechanism through readable state persistence.
Anthropic explicitly positioning 'loop design' as successor to prompting. Three required elements: success criteria, loop boundaries, external state awareness.
Multi-Tier Model Orchestration: 92% Performance at 37% Cost
Advisor/executor splits recover 92% of premium model performance using mid-tier executors with strategic advisor calls. The pattern: concentrate expensive reasoning at coordination layer, distribute cheap execution at scale.
Practitioner testing pull (executor asks advisor) vs push (orchestrator delegates) models. Reports cost optimization while maintaining quality through strategic model role assignment.
Context Routing as Infrastructure: Algorithmic Not LLM-Based
Production systems route context decisions algorithmically rather than delegating to LLMs. Runtime context strategy selection (write state, compress, retrieve, isolate subagent) reduces costs and latency by avoiding expensive LLM routing calls.
Explicit recommendation: determine context strategy algorithmically at runtime based on context type/triggers. Reserve LLM calls for nondeterministic tasks, not routing.
MCP as Context Protocol: Standardizing Service Definition Context
MCP adoption reflects shift from embedding context in prompts to formalizing it as machine-readable protocol. Service definitions (purpose, inputs, outputs, capabilities) become explicit contract layer rather than inferred from natural language.
MCP video articulates systematic approach to connecting agents to external systems while preserving context about tool capabilities across multi-turn interactions.
Tool Definition Pressure: RAG for Tool Discovery
Multi-tool agents exhaust context windows on tool definitions before processing queries. Solution: treat tool catalogs as RAG corpus, semantically retrieve relevant tools per query rather than loading entire catalog.
Explicit problem statement: tool definitions create context pressure. RAG-based tool discovery enables selective loading of only relevant tools per query.
Enterprise Context Governance: Judgment Requires Institutional Knowledge
Autonomous agents fail in enterprise not from model limits but from missing institutional context (margins, strategy, permissions, definitions, lineage). Context governance is prerequisite for agent judgment, not a nice-to-have.
Enterprise AI failing because models lack institutional context to judge outputs. Problem isn't capability but context governance (seasonal patterns, margins, strategy, permissions).
Integration Context Over New Tools: AI Sandwich Adoption Pattern
High-impact AI workflows integrate into existing information flows (email, calendar, Slack) rather than introducing new tools. The 'AI sandwich' (human intent → agent execution → human judgment) preserves context at handoff boundaries.
Impact workflows integrate into existing contexts (calendar/inbox) not new tools. AI sandwich model preserves human intent and judgment at boundaries. Failures become training data in feedback loop.
Daily intelligence brief
Get these patterns in your inbox every morning — plus MCP access to query the concept graph directly.
Subscribe free →