Coding agents
wsx runs Claude Code in each workspace by default. You can pick a different coding agent for all new workspaces or for one workspace.
wsx config set coding_agent codex # default for new workspaces
wsx workspace create backend --agent pi # this workspace only
A workspace created from inside another workspace inherits its agent kind. See wsx workspace create.
| Agent | Project | Its own config |
|---|---|---|
claude (default) | Claude Code | ~/.claude.json |
pi | @earendil-works/pi-coding-agent | ~/.pi/ |
hermes | hermes-agent | ~/.hermes/config.yaml |
codex | OpenAI Codex | ~/.codex/config.toml |
omp | oh-my-pi (@oh-my-pi/pi-coding-agent) | ~/.omp/agent/config.yml |
wsx runs the binary of the same name from PATH. Override the path with WSX_<AGENT>_BIN, and the model with the agent's model variables. See Environment variables.
Capabilities
| Capability | claude | pi | hermes | codex | omp |
|---|---|---|---|---|---|
| wsx instructions and auto-rename | ✓ | ✓ | ✓ | ✓ | ✓ |
| Related repos as extra dirs | ✓ | – | – | – | ✓ |
| Automatic status from the harness | ✓ | – | – | ✓ | – |
| Each agent resumes its own session | ✓ | ✓ | – | ✓ | ✓ |
Yolo mode (--yolo) | ✓ | – | ✓ | ✓ | ✓ |
| MCP inheritance | ✓ | – | – | – | – |
| Remote control | ✓ | – | – | – | – |
~/.claude/skills and ~/.claude/commands | ✓ | skills | – | commands | ✓ |
- "wsx instructions" is the process doctrine, the auto-rename prompt, and the repo's custom instructions.
- Agents without automatic status still report through
wsx status set. See Status and recap. - Session resume is covered in Multi-agent workspaces.
claude
- Instructions go in
--append-system-prompt. Related repos go in--add-dir. - wsx adds status hooks through
--settings. - Yolo passes
--dangerously-skip-permissions. - Remote control is on by default. Turn it off with the
remote_controlsetting.
pi
- Instructions go in
--append-system-prompt. - wsx loads a small extension (
pi -e) that reports each session start, so each pi agent resumes its own session. WSX_PI_MODELandWSX_PI_PROVIDERpick the model for new sessions.- pi reads skills from
~/.claude/skills.
hermes
- Hermes has no flag for extra instructions, so wsx writes them into a
<!-- BEGIN wsx-managed -->block at the end of the worktree'sAGENTS.mdon each start.- When wsx creates
AGENTS.md, it copies the repo'sCLAUDE.mdinto it. - An untracked
AGENTS.mdis added to.git/info/exclude. - A tracked
AGENTS.mdshows as modified while the block is present.
- When wsx creates
- On resume, wsx picks the newest Hermes session started since the workspace's first Hermes spawn. If two worktrees start Hermes within a few seconds, it can pick the wrong one.
- Added Hermes agents always start fresh.
WSX_HERMES_MODELoverrides the model in~/.hermes/config.yaml.WSX_HERMES_PROVIDERis passed as--provider, which Hermes's default REPL mode may ignore; set the provider inconfig.yamlto be sure.- The detail bar shows chat and tool counts, but not edited files.
codex
- Requires Codex 0.146.0 or newer.
- Instructions go in
-c developer_instructions=…. Nothing is written to the worktree. Codex readsCLAUDE.mdwhen the repo has noAGENTS.md. - Instructions are set only on a fresh start. A resumed session keeps the ones it started with, so edits to custom instructions or related repos don't reach it.
- Status comes from Codex's
notifyafter each turn. - Your
~/.claude/commands/*.mdare mirrored into a Codex plugin on each start, so commands such as/pull-requestwork in Codex. - wsx turns off Codex's startup update prompt, which would block input. Update Codex yourself, for example with
npm install -g @openai/codex. - Yolo passes
--dangerously-bypass-approvals-and-sandbox. - The detail bar doesn't show edited files.
omp
omp and pi are separate harnesses with different binaries. You can install both.
- Instructions go in
--append-system-prompt. Related repos go in--add-dir. - Yolo passes
--approval-mode yolo. Otherwise omp uses yourtools.approvalMode. WSX_OMP_MODELsets the model. It acceptsprovider/id.- On each start wsx passes
--config <state dir>/omp-config.yml. This overlay turns on omp's~/.claudeskills, commands and Claude plugins, which omp 18 turns off by default.- It overrides your own settings for those keys in wsx sessions, and replaces your
enabledProviderslist. - It enables every skill and command under
~/.claude, not only wsx's. - Your
~/.omp/agent/config.ymlis never edited.
- It overrides your own settings for those keys in wsx sessions, and replaces your
- Pinned chips that name a bundled skill are sent as
/skill:<name>. See Agent skills.