What is a harness?

A model on its own answers one message at a time. An agent harness is what turns it into an agent: the system prompt, the skills and tools it can use, the MCP servers it talks to, and the loop that keeps it working until the job is done.

AgentFaceHub is a hub for harnesses, the way Hugging Face is a hub for model weights. People publish a harness once and anyone can pull it, either as plain files or straight into Claude Code or Codex. You pick the model.

What’s in a harness

A harness is a folder with one required file, harness.yaml, plus whatever it points at:

my-harness/
├── harness.yaml        # name, version, license, runtime, what the model needs
├── README.md           # shown as the harness card on the hub
├── prompts/system.md   # the system prompt
└── skills/
    └── cite-sources/
        └── SKILL.md    # a skill, in the same format Claude Code and Codex use

The manifest says which runtime the harness uses:

  • declarative: a system prompt plus skills. No code of its own, so it can be installed straight into Claude Code or Codex.
  • python, node, container: the harness ships its own agent loop. You download it and run it yourself. Read the code first.

It also says what the model has to support (tool_use, vision and so on), the context it needs, and what the harness may touch: which hosts it can reach and whether it can write to your files. All of it is shown on the harness page. See the harness.yaml reference.

Versions you can trust

Every published version is immutable. Each file is stored by its SHA-256 hash, and each version has a tree hash over all of its files. afh pull checks every file against its hash before writing anything, so what you run is exactly what was published.

Next