name: agent-harness-assembly
description: "Assemble the agent harness: model access, tools, memory, permissions, evaluation hooks, and observability in one runtime."
metadata:
source: skills/09-agentic-patterns/agent-harness-assembly.md
category: 09-agentic-patterns
version: "v1"
Agent Harness Assembly
Description
Assemble the agent harness: model access, tools, memory, permissions, evaluation hooks, and observability in one runtime. The procedure is constrained by explicit inputs and acceptance criteria rather than best-effort judgment alone.
When to Use
- A task requires agent harness assembly before downstream steps can proceed safely.
- Ambiguity or missing evidence would change the outcome.
- The result must be recorded with reasons and evidence for later verification.
Inputs / Outputs
| Area |
Contract |
| Inputs |
Task context, candidate inputs, and explicit acceptance criteria for agent harness assembly. |
| Outputs |
A decision or artifact with recorded reasons, rejected alternatives, and verification evidence. |
| Safety |
Failures must fail closed and be reported with evidence rather than retried silently. |
Procedure
- Define the goal, the constraints, and the boundary of what this procedure may change.
- Inventory the available inputs and flag gaps or ambiguities that block progress.
- Execute the agent harness assembly steps in a bounded, checkpointed way.
- Compare the actual outcome against the expected outcome and record deviations.
- On failure, apply the declared fallback path, and never widen permissions to recover.
- Emit a structured result with evidence and provenance for downstream consumers.
Runnable Example
def assemble(parts, required):
missing = [r for r in required if r not in parts]
if missing:
raise ValueError("missing: %s" % missing)
return "harness-ready"
assert assemble(["model", "tools", "memory", "evals", "observability"], ["model", "tools", "evals"]) == "harness-ready"
Failure Modes
- Acting outside the declared task boundary.
- Assuming an estimate or preview equals the verified effect.
- Retrying without preserving state or evidence.
- Using stale inputs as if they were current.
- Reporting success without checking the resulting state.
Boundary
This skill operates inside the declared task boundary. It does not grant permissions, bypass approval gates, or widen access to achieve its result.
Evidence
Harness engineering is an active 2026 ecosystem topic covering tools, evals, memory, and permissions assembly. These are dated public signals, not adoption metrics.
Related
- progressive-skill-loading.md
- tool-inventory-cataloging.md
- meta-cognition.md
1---2name: agent-harness-assembly-23description: "Assemble the agent harness: model access, tools, memory, permissions, evaluation hooks, and observability in one runtime."4---5---6name: agent-harness-assembly7description: "Assemble the agent harness: model access, tools, memory, permissions, evaluation hooks, and observability in one runtime."8metadata:9 source: skills/09-agentic-patterns/agent-harness-assembly.md10 category: 09-agentic-patterns11 version: "v1"12---1314# Agent Harness Assembly1516## Description17Assemble the agent harness: model access, tools, memory, permissions, evaluation hooks, and observability in one runtime. The procedure is constrained by explicit inputs and acceptance criteria rather than best-effort judgment alone.1819## When to Use20- A task requires agent harness assembly before downstream steps can proceed safely.21- Ambiguity or missing evidence would change the outcome.22- The result must be recorded with reasons and evidence for later verification.2324## Inputs / Outputs25| Area | Contract |26|---|---|27| Inputs | Task context, candidate inputs, and explicit acceptance criteria for agent harness assembly. |28| Outputs | A decision or artifact with recorded reasons, rejected alternatives, and verification evidence. |29| Safety | Failures must fail closed and be reported with evidence rather than retried silently. |3031## Procedure321. Define the goal, the constraints, and the boundary of what this procedure may change.332. Inventory the available inputs and flag gaps or ambiguities that block progress.343. Execute the agent harness assembly steps in a bounded, checkpointed way.354. Compare the actual outcome against the expected outcome and record deviations.365. On failure, apply the declared fallback path, and never widen permissions to recover.376. Emit a structured result with evidence and provenance for downstream consumers.3839## Runnable Example40```python41def assemble(parts, required):42 missing = [r for r in required if r not in parts]43 if missing:44 raise ValueError("missing: %s" % missing)45 return "harness-ready"46assert assemble(["model", "tools", "memory", "evals", "observability"], ["model", "tools", "evals"]) == "harness-ready"47```4849## Failure Modes50- Acting outside the declared task boundary.51- Assuming an estimate or preview equals the verified effect.52- Retrying without preserving state or evidence.53- Using stale inputs as if they were current.54- Reporting success without checking the resulting state.5556## Boundary57This skill operates inside the declared task boundary. It does not grant permissions, bypass approval gates, or widen access to achieve its result.5859## Evidence60Harness engineering is an active 2026 ecosystem topic covering tools, evals, memory, and permissions assembly. These are dated public signals, not adoption metrics.6162## Related63- progressive-skill-loading.md64- tool-inventory-cataloging.md65- meta-cognition.md