Agent Harness Construction
Architects robust tool interfaces and observation loops to maximize AI agent autonomy and completion rates.
This skill provides a comprehensive framework for designing and optimizing the 'harness' through which AI agents interact with codebases and external systems. It offers specific guidance on action space granularity, structured observation formatting, and sophisticated error recovery contracts to prevent agents from getting stuck. By implementing these patterns, developers can significantly reduce token waste, improve task success rates, and create more predictable ReAct or function-calling workflows within Claude, ensuring agents converge on completions more efficiently.
主な機能
01Action space optimization with micro, medium, and macro tool granularity rules.
02Error recovery contracts providing root cause hints and safe retry instructions.
03Benchmarking metrics for tracking completion rates, retries, and cost per task.
042 GitHub stars
05Context budgeting strategies to manage system prompts and large document references.
06Standardized observation design including status, summary, and actionable artifacts.
ユースケース
01Building custom AI coding assistants with specialized file-editing and search tools.
02Designing robust error handling for automated deployment or database migration agents.
03Optimizing agentic workflows to reduce token consumption and improve task reliability.