Harnesses

A harness is the runtime that executes your agent loop.

You can start a native harness session directly from the CLI without writing agent YAML:

omni claude
omni codex
omni pi

See Terminal for more launch commands.

To select a harness in agent YAML, swap one line:

executor:
  harness: claude-sdk

Tools, policies, prompts, and models stay the same across harnesses — only the runtime underneath changes.

Execution modes

Most coding agents can run in one of two modes:

Next steps