Configure another harness
Make Codex, pi or opencode read pair and run it headless, and declare which harnesses the project supports.
Goal: make another AI harness (Codex, pi, opencode) read pair, interactively and as an engine for unattended runs.
Prerequisites
- A pair-enabled project
- The harness installed and authenticated
Steps
- Pick the harness: read its page, Codex, pi or opencode. Which modes each one supports: Modes by assistant.
- Install the targets it reads
- With pair-cli:
pair-cli install --list-targetsshows the registries;pair-cli installwrites the bridge files and skill directories every supported harness discovers.
- With pair-cli:
- Declare it
- In your assistant:
/pair-capability-setup-harnesswrites## Harness(and optionally## Model Policy) intech/automation.md. - With
/pair-assistant(optional, Claude Code): "switch the harness to pi".
- In your assistant:
- Try it headless (optional)
- With pair-cli:
pair-cli run --card <id> --engine <pi|opencode|codex|claude> --dry-run.
- With pair-cli:
Verify
- The harness lists the pair skills and reads
AGENTS.md. pair-cli run --dry-runnames the engine you declared.
Related
- Harnesses and engines
- Share AI artifacts with your team: distribute skills and
AGENTS.mdthrough a Git repository - Adoption settings