hebel. today · 24 November 20263 / 79
Agentic Engineering · Context Engineering
Agent harnesses replace manual prompt tuning
Automated harness optimization. Teams now tune agents by running a loop that drafts small edits to prompts, skills, and tools, keeping changes only if they improve performance across test suites. Pinterest ran 30 iterations…
From 7 newsletters · 1 min read · one thing to try
Automated harness optimization. Teams now tune agents by running a loop that drafts small edits to prompts, skills, and tools, keeping changes only if they improve performance across test suites (Cloud Girl, Cloud Girl). Pinterest ran 30 iterations to keep 4 successful edits, while Microsoft and Together AI use similar loops to cut costs by up to 30.9% without modifying model weights. This approach treats the agent as a harness where the model remains fixed, using automated gates to prevent regressions and overcorrection during the refinement process.
Managing the skill lifecycle. Engineers diagnose agent failures by running a top-k sweep on past tasks to distinguish between retrieval misses and distractor noise (Hao Hoang from AI Interview Prep). To prevent append-only libraries from rotting, teams gate writes by checking for near-duplicates and tracking utility scores to evict low-performing skills. This lifecycle management ensures that only relevant, high-utility skills consume context tokens, as seen in the PolySkill pattern that consolidates site-specific variants behind a single interface.
Decoupling exploration from execution. Developers separate agent workflows into two distinct phases to maintain efficiency (The Learning Curve). A frontier model first explores APIs and writes deterministic, strictly-bounded tools, which a smaller, local model then executes daily to minimize latency and cost. By crystallizing knowledge into clean code and schemas, teams avoid the overhead of large models for routine operations while ensuring the agent remains reliable on real work.
Structuring context by matter. Systems gain reliability when organized around a "matter," defined as a single unit of work with its own history, documents, and deadlines (Daniel Williams from Claude Code for Non-Coders). This structure allows the agent to maintain continuity across sessions by treating the file as the memory rather than the persona. By isolating each project into its own folder or thread, the system tracks state transitions clearly and prevents the context window from becoming cluttered with unrelated information.
Try today · 20 min
Create a dedicated folder for your current active project and move all relevant prompt files, tool definitions, and historical logs into it.
Treat this folder as the single source of truth for the agent's memory on this specific project.
You need
- A project folder on your local machine
- All relevant documents, prompt snippets, and tool scripts
Steps
- Create a new directory named after your current matter
- Move all existing prompt templates and tool configurations into this directory
- Create a README file inside that summarizes the project's current state and active goals
- Point your agent's configuration to this new directory as its primary context root