Agent Harness Construction
Designs and optimizes production-grade tool interfaces, observation payloads, and error-recovery contracts for AI coding agents.
Agent Harness Construction provides systematic engineering principles to architect and review the interface between LLM agents and system execution layers. It helps developers configure well-scoped action spaces, craft deterministic observation payloads, implement resilient error-recovery contracts, and optimize context budgets. Use this skill when building new agent tools, troubleshooting agent failure loops, reducing tool-selection hallucination, or selecting between ReAct, structured function-calling, and hybrid agent architectures.
主要功能
01Action space design with typed schemas, explicit naming, and risk-aligned granularity
022 GitHub stars
03Context window budgeting strategies to prevent prompt bloat and token drift
04Error-recovery contracts with root-cause hints, retry guidelines, and explicit stop conditions
05Harness benchmarking metrics including pass@1, retry rates, and cost per successful task
06Structured observation payload standards answering status, next actions, and artifacts
使用场景
01Diagnosing and fixing agents that get trapped in repetitive tool-calling retry loops
02Transitioning agent workflows to optimal hybrid ReAct and structured function-calling loops
03Designing safe and deterministic tool calling interfaces for custom AI coding agents