Harnesses
Harnesses
Choose the agent runtime your factory uses to complete tasks.
Schema
Harnesses JSON Schema: the factory's harnesses array.
Authentication entries use method and secretName. Model/auth compatibility also needs CLI validation.
Every harness must set version to pin a release. There is no default.
Runs and saved retries keep that version.
Stitch accepts any non-empty version string without a version-range check.
The release must exist upstream and work with the harness adapter.
harnesses:
- key: coding-agent
name: Coding agent
type: opencode
version: 2.0.26
model: openai/gpt-5.4
reasoningEffort: default
auth:
- method: openai_api_key
secretName: OPENAI_API_KEYSecret names must exist in the active organization. Model and effort fields are
required free-form strings; choose values your harness supports. Versions and
auth methods must match the schema.
Use the schema and stitch validate to check the selected combination.