---
url: /harnesses.md
---
# Harnesses

A harness is the coding agent program that runs an agent: Claude Code, Codex, or Pi. A package holds no harness settings, so the same agent runs on each, with the harness, model, and login you choose:

```sh
pandra run github.com/acme/reviewer@v1.2.0 --harness codex --prompt "Review PR 12."
```

1. Prepare: `pandra run` writes the agent's skills, instructions, and MCP servers into a harness home, the directory the harness reads its configuration from, made for this run.
2. Choose: `--harness` picks the program that runs the agent, `claude-code`, `codex`, or `pi`. Without it, a target or the harness Pandra finds decides.

* [Choosing a harness](/harnesses/choosing.md): flags and targets that choose the harness and model, installing and pinning harness versions, and how the harnesses differ.
* [Permissions](/harnesses/permissions.md): the automatic review, skipping it, and agents that only read.
* [Claude Code](/harnesses/claude-code.md), [Codex](/harnesses/codex.md), and [Pi](/harnesses/pi.md): what is particular to each harness.

## What every harness gets

* **A configuration of its own.** The harness reads the run's harness home instead of your own configuration. Your own settings, skills, and plugins stay out of the agent, and the agent's stay out of your setup, apart from a few exceptions, such as managed settings.
* **Its own login.** The harness uses the login it already has, unless you give a target a credential ([target credentials](/configure/targets.md#target-credentials)).
* **Every skill.** A plugin's skill keeps the plugin's name as its namespace on Claude Code and Codex, such as `superpowers:brainstorming`. Pi has no namespaces and gets the bare name, `brainstorming`.
* **The agent's MCP servers**, with the values your configuration gives them ([MCP servers](/mcp-servers.md)).
* **The agent's instructions**, while the harness's own system instructions stay as they are, so it keeps its guidance on tools and safety.
