Agent Harnesses
Agent Harnesses provide a lightweight, open format for defining the complete context an AI agent needs to fulfill a role. Harnesses do this by bundling capabilities and context into a single, portable, structured directory.What is a Harness?
A harness is a folder containing aHARNESS.md file plus any number of top-level subdirectories the domain requires. At startup the full HARNESS.md is loaded, establishing the agent’s role. As tasks arrive, the agent pulls in only the content each task requires — progressive disclosure applied at the harness level.
skills/ and references/ are common conventions, but the spec places no constraints on what top-level directories exist or what they’re called.
How Harnesses Relate to Skills
The Agent Skills standard defines how to package a single atomic capability — like “interact with a database” or “create brand assets”. A harness bundles many of these skills together to define a complete agent role. One analogy is to conceptualize a harness as a job title, where skills are like job requirements. A “technical support” role/harness might have “database management”, “ticket response”, and “spreadsheet modification” requirements/skills.Routing Through a Harness
For each top-level directory, the harness uses a routing file to help the agent navigate its contents. The routing file is named after the top-level directory in all-caps —TOOLS.md for tools/, DATA.md for data/, and so on. This convention propagates through every subdirectory in that branch:
HARNESS.md points to these routing files rather than listing every individual item, keeping the entry point short as the harness grows.
Routing files are optional — for small directories, filenames and description frontmatter are often enough. For larger or more varied groups, a well-written routing file is the difference between efficient discovery and exhaustive scanning.
Why do Harnesses Exist, and Why This Specification?
Harnesses have emerged organically across the industry as a necessity. When defining complex agents, many skills need to be leveraged in tandem, and much information is required to contextualize those skills and how they relate to the environment the agent is working in. Because of the richness of information required, agents that employ large harnesses are often slow. The underlying LLM needs to scan through large sets of documentation and a wide array of skills to effectively make correct decisions. Harnesses don’t currently have a defined structure, making it difficult to optimize agents to leverage the information within a harness efficiently. The goal of the “Agent Harnesses” standard is to standardize how agent harnesses are defined; making it easier to create harnesses, and to build agents that leverage them efficiently and effectively.Get Started
Specification
Read the full format definition.
Quickstart
Build your first harness in minutes.
Best Practices
Learn how to structure harnesses well.
Client Support
Add harness support to your AI client.