harness.yaml reference

Every harness has a harness.yaml at its root. The hub validates it on every push against the schema published at schemas/harness.v1.json, which you can also point your editor at. Paths are relative to the harness folder and can't leave it. Unknown fields are rejected.

# yaml-language-server: $schema=https://agentfacehub.com/schemas/harness.v1.json
spec: v1
name: acme/research-agent
version: 1.0.0
license: apache-2.0
description: Searches, reads and writes a cited report.
runtime:
  kind: declarative
  system_prompt: ./prompts/system.md
models:
  requires: [tool_use]
  min_context: 128000
tools:
  skills: [./skills/*]
permissions:
  network: [api.semanticscholar.org]
  filesystem: workspace-only

Fields

FieldTypeDescription
spec required"v1"Manifest format version. Always v1.
name requiredstringnamespace/name, lowercase. Must match the repo you push to, e.g. acme/research-agent.
version requiredstringSemantic version such as 1.3.0, with no leading v and no +build metadata. Each version can be published once.
license requiredstringSPDX-style license id such as apache-2.0 or mit. A hosted_only harness uses proprietary or a LicenseRef- id.
distributionopen · hosted_onlyopen (the default): anyone who can see the harness can download it. hosted_only: only you get the files. See [Publishing](/docs/publishing#hosted-only-harnesses).
descriptionstring
≤ 300 chars
One line shown in search results and on the harness page.
runtime requiredobjectHow the harness runs. The kind decides which other fields are needed; see Runtimes below.
modelsobjectWhat the model running this harness must support.
models.requireslist of tool_use · json_mode · vision · reasoning · computer_use
≤ 5 items
Capabilities the model must have.
models.min_contextinteger
> 0
Smallest context window, in tokens, the harness works with.
models.tested_withlist of string
≤ 50 items
Model ids the author has tested with. Informational.
toolsobjectTools the harness brings with it.
tools.mcp_serverslist of string
≤ 50 items
Paths to MCP server config files.
tools.skillslist of string
≤ 200 items
Skill folders, globs allowed (./skills/*). Each one must contain a SKILL.md.
permissionsobjectWhat the harness is allowed to touch. Shown on the harness page.
permissions.networklist of string
≤ 100 items
Hosts the harness may reach, such as api.example.com or *.arxiv.org. An empty list means no network.
permissions.filesystemworkspace-only · noneworkspace-only to read and write the working folder, none for no file access.
permissions.max_runtime_sinteger
≥ 1, ≤ 86,400
Longest a single run may take, in seconds.
permissions.max_cost_usdnumber
> 0, ≤ 1,000
Most a single run may spend on model calls, in US dollars.
ioobjectSchemas for structured input and output, if the harness has them.
io.input_schemastringPath to a JSON Schema for the input.
io.output_schemastringPath to a JSON Schema for the output.
evalslist of string
≤ 50 items
Paths to eval suites.

Runtimes

declarative harnesses are a system prompt plus skills and can be installed straight into Claude Code or Codex. The other runtimes ship their own agent loop that speaks stdio-jsonl/v1; people download them and run them themselves.

kind: python

FieldTypeDescription
runtime.kind required"python"Which runtime this harness uses.
runtime.entrypoint requiredstringFor python: package.module:function. For node: path to the entry file.
runtime.python requiredstringPython version, quoted, such as "3.12".
runtime.deps requiredstringPath to the dependency file (requirements.txt, package.json, …).
runtime.protocol required"stdio-jsonl/v1"The protocol the harness speaks on stdin/stdout. Always stdio-jsonl/v1.

kind: node

FieldTypeDescription
runtime.kind required"node"Which runtime this harness uses.
runtime.entrypoint requiredstringFor python: package.module:function. For node: path to the entry file.
runtime.node requiredstringNode major version, quoted, such as "22".
runtime.deps requiredstringPath to the dependency file (requirements.txt, package.json, …).
runtime.protocol required"stdio-jsonl/v1"The protocol the harness speaks on stdin/stdout. Always stdio-jsonl/v1.

kind: container

FieldTypeDescription
runtime.kind required"container"Which runtime this harness uses.
runtime.dockerfile requiredstringPath to the Dockerfile.
runtime.protocol required"stdio-jsonl/v1"The protocol the harness speaks on stdin/stdout. Always stdio-jsonl/v1.

kind: declarative

FieldTypeDescription
runtime.kind required"declarative"Which runtime this harness uses.
runtime.system_prompt requiredstringPath to the system prompt file.