# Supported harnesses

URL: https://docs.usestitch.ai/docs/resources/harnesses



## Supported types [#supported-types]

| `type`        | Runtime     |
| ------------- | ----------- |
| `opencode`    | OpenCode    |
| `claude_code` | Claude Code |
| `codex`       | Codex       |
| `antigravity` | Antigravity |

Choose a supported `version`, model, and model-compatible authentication method from the schema.
Set each trigger's `agentId` to an agent available to that runtime and repository.

## Schema [#schema]

[Harnesses JSON Schema](/schema/harnesses.json): the factory's `harnesses` array.
Authentication entries use `method` and `secretName`. Model/auth compatibility also needs CLI validation.

```yaml
harnesses:
  - key: coding-agent
    name: Coding agent
    type: opencode
    version: 1.18.30
    model: openai/gpt-5.4
    auth:
      - method: openai_api_key
        secretName: OPENAI_API_KEY
```

Secret names must exist in the active organization. Do not invent models, versions, or auth methods.
Use the schema and `stitch validate` to check the selected combination.
