Overview
The terminal coding agent category already looks full. Claude Code, Codex, OpenCode and pi each hold ground, and Pydantic shipped one anyway. Pax is not aimed at winning another leaderboard. It exists to give the company's Harness SDK a surface people can touch, described officially as the terminal UI in front of Coder().
To make sense of that line you have to see four layers. At the bottom sits Pydantic AI, an agent framework handling the loop, model access, tools and structured output. Above it are capabilities, reusable bundles of tools, instructions and hooks that attach to any agent. Above that is Pydantic AI Harness, a library with more than 100 capabilities, released in June alongside Pydantic AI v2. Pax is the terminal on top. What the industry calls a coding harness is, in this stack, a single capability.
The design principle follows: everything in Pax is a plugin. A plugin equals a capability one level up, bundling agent tools and hooks plus terminal components such as slash commands, status bar items and login flows. Visible plugins include coder, sandbox, observability and mcp. Since coder is itself a plugin, running /plugins disable coder collapses Pax into a clean chat client with no file tools and no shell. The reverse also holds: any Pydantic AI capability can be mounted by its import path, and Pax can write a new plugin for itself on request.
The --agent flag is a different mechanism. It does not extend the default agent; it replaces it wholesale, running an agent already defined in your codebase while keeping --resume, --worktree, -p and -m. Plugins add to Pax's agent, --agent swaps the agent out, and the two should not be confused.
Scores come from Harness-Bench SWE81: 81 tasks across eight models, with each harness tested against the same model set. Among the four harnesses that ran every model, Pax averaged 58.5 for first place at $7.69 per run. OpenCode took 58.2 at $8.04, deepagents-code 57.6 at $9.43, and pi 57.3 at $6.47, the cheapest. The margins are small enough that 58.5 against 58.2 means little on its own.
The comparison against native harnesses carries the real information. On GPT-6.2 Sol, Pax scored 64.7 for $9.21 where Codex scored 60.1 for $21.05, so 4.6 points more at less than half the cost. On Claude Opus 5.5, Pax scored 61.2 for $24.61 against Claude Code at 60.4 for $25.10, up 0.8 points at roughly equal cost. On the older GPT-6.1 Sol it actually trailed by 0.6 points while spending 29% less, using 8.0M input tokens against 20.8M.
Together those three results point somewhere: harness choice moves scores by one to four points and moves cost by up to a factor of two. The same model under different tooling writes similar code and burns very different token counts. The team flags its own limits: one month, single runs, relaxed regrading shared across Sol and Opus, Pax running Sol in unattended autonomy mode, and full methodology held until 1.0.
A few engineering details are handled more carefully than usual. Code mode is on by default, so the model writes short Python for Monty rather than calling tools directly, with Ctrl+X then Ctrl+S triggering speculative execution and Logfire recording each tool call as its own span. Sandboxes are swappable across e2b, boxd, daytona, opensandbox, modal, render, sprites and kubernetes, with smol or BoxLite micro-VMs locally. Under agentic providers the GitHub token never enters the sandbox, injected instead by an egress proxy when a request leaves, which matters when running untrusted code.
Migration is considered. /resume lists Pax, Claude Code and Codex sessions side by side, and pax --resume-claude or pax --resume-codex adopts an existing session. Repository conventions read AGENTS.md and CLAUDE.md, skills load from .agents/skills and .claude/skills, so existing setup does not need rewriting.
Two install traps exist. Use uvx pydantic-ai-pax to try it without installing, or uv tool install to keep it. macOS ships an unrelated /bin/pax archive utility, so if pax fails to start afterward, open a new terminal or run rehash in zsh or hash -r in bash, or invoke pydantic-ai-pax directly.
What is missing matters too. Durable execution exists in the SDK but not yet in Pax, so crash recovery is unavailable. Computer use arrives next release as /computer-use behind /permissions full. Harness 1.0 is planned in about a month, around December, at which point versioning aligns with Pydantic AI and the public API freezes, making now the window for pushing changes.
The right use is as a disassemblable harness base. If you want a terminal agent where sandbox, model, observability and tools are all your own, Pax is one of the few implementations with every layer replaceable. For turnkey coding, Claude Code and Codex are more finished; Pax is still beta.
Key Features
- Everything is a plugin: coder, sandbox, observability and mcp are plugins, and disabling coder yields a plain chat client
- Built on the Harness SDK: More than 100 capabilities can be composed into a custom coding agent
- Swap in any agent: --agent runs an existing Pydantic AI Agent from your codebase while keeping resume and worktree
- Sandbox and token isolation: Seven remote sandboxes including e2b, daytona and modal, with GitHub tokens never entering the sandbox
- Code mode by default: The model writes short Python for Monty, Ctrl+X then Ctrl+S triggers speculative execution, Logfire traces each call
- Session migration: --resume-claude and --resume-codex adopt existing Claude Code and Codex sessions
Use Cases
- Teams replacing sandbox, model, observability and tools with their own implementations
- Moving an existing Pydantic AI agent into the terminal with --agent
- Running agents on untrusted code with GitHub tokens isolated behind an egress proxy
- Measuring token consumption for one model across different harnesses
- Building an internal plugin-based coding assistant with switchable capabilities
Pros
- Averages 58.5 on SWE81 for first place, 0.3 ahead of OpenCode
- Cost advantage at equal models, under half of Codex on Sol
- Every layer is replaceable, from model to sandbox to observability
- Sessions migrate from Claude Code and Codex with existing config reuse
- Open source and free, installed locally with no subscription
Pricing
The tool is open source and free, installed through uv. Actual cost is the model API spend, which ran from $0.77 to $24.61 per evaluation run depending on the model used.
Summary
Pydantic's official terminal coding agent, built on the Harness SDK with everything as a plugin, averaging 58.5 on SWE81 and cutting cost to under half of native tooling at the same model.
Version History
- Pax beta (2026-11-25): Pydantic AI released the Pax terminal coding agent and Harness beta with everything as a plugin, averaging 58.5 on SWE81 and costing under half of Codex on Sol, with 1.0 planned for December