Lesson deck
What is an agent harness? flashcards
Reviewing needs JavaScript. You can read every card in the list below.
Loading your cards...
Back to the lesson11 cards in this deck
Read all 11 cards as a list
- Front
- What is an agent harness?
- Back
- Everything around the model that makes it an agent: loop, tools, state, sandbox, permissions, verification, orchestration, observability. Agent = model + harness.
- Front
- What is harness engineering, and what is its unit of improvement?
- Back
- Designing the environment, constraints and feedback loops so an agent stays reliable, and improving them from observed failures. The unit is the environment, not the prompt.
- Front
- How do prompt, context and harness engineering nest?
- Back
- Prompt (wording of one call) sits inside context (what the model sees now), which sits inside the harness (adds persistence, enforcement, orchestration, observability and the improvement loop).
- Front
- Name the six harness component families.
- Back
- Instructions, tools, infrastructure (filesystem, git, sandbox, browser), orchestration, enforcement (hooks, permissions, linters, tests), observability.
- Front
- Inner versus outer harness?
- Back
- Inner (Böckeler: the builder's harness) is shipped by the tool or model builder and you do not control it. Outer (the user's harness) is what you add: instruction files, MCP servers, skills, hooks, linters, tests. That is where application engineers have leverage.
- Front
- What are the four failure layers and their fixes?
- Back
- Context (it lacked information): fix retrieval and docs. Constraint (acted outside scope): fix permissions and hooks. Verification (wrong output unchecked): fix tests and evaluators. Planning (wrong approach, loops): fix decomposition and loop detection.
- Front
- How do you estimate success of an n-step task?
- Back
- About p to the power n for per-step success p, assuming independent steps. 0.98 over 25 steps is about 0.60. Errors are usually correlated, so say roughly.
- Front
- Two levers for long tasks that keep failing?
- Back
- Raise per-step reliability (better tools, context, verification after a step) or add recovery (detect and repair an error mid-task, with checkpoints).
- Front
- What is the ratchet?
- Back
- Every real mistake becomes a permanent rule, check or hook, with the incident noted. When a stronger model makes it redundant, remove it.
- Front
- What does "assumptions decay" mean for a harness?
- Back
- Each component assumes something the model cannot do. Re-test it when the model changes: some scaffolding retires, harder tasks need new scaffolding.
- Front
- Which meanings of "harness" should you disambiguate in an interview?
- Back
- Test harness, evaluation harness (benchmark runner), reinforcement-learning environment wrapper, and agent harness. Ask which is meant.