Installation¶
Prerequisites¶
Before installing AgentPair, ensure you have:
- Go 1.21+ — Required for building from source
- claude CLI — Claude Code installed and logged in
- codex CLI — OpenAI Codex installed and logged in
Optional:
- tmux — For side-by-side agent view
- Git — For worktree isolation feature
Install with Go¶
Ensure $GOPATH/bin is in your PATH:
Build from Source¶
Move to a directory in your PATH:
Verify Installation¶
Agent Setup¶
Claude CLI¶
Install Claude Code following the official documentation:
Codex CLI¶
Install OpenAI Codex following the official documentation:
Safety Note
AgentPair runs agents in auto-approve mode by default. Consider running inside a VM or container for safety. The agents can execute commands and modify files.
tmux (Optional)¶
For the side-by-side view feature:
Verify:
Next Steps¶
- Quick Start — Run your first paired session
- Configuration — Customize AgentPair settings