The team behind the Python data validation library Pydantic released Pax, a terminal coding agent, on November 25. The package is called pydantic-ai-pax. The team also moved the Pydantic AI Harness it is built on into public beta. In its blog post, the team says Harness will reach 1.0 in about a month and will follow the Pydantic AI versioning policy from then on.
To try it, a single uvx pydantic-ai-pax launches it without installing anything; for long-term use, run uv tool install pydantic-ai-pax. On macOS, the command name pax collides with a tool that ships with the system, so launch it by its full package name instead.
Everything is a plugin
Pax is designed around splitting a coding agent into pluggable parts. The blog puts it this way:
"everything is a plugin: the coding agent itself, sandboxes, MCP, Logfire tracing, and your own."
Built-in plugins include coder, sandbox, mcp, compaction, persistence and observability, among others. Type /plugins disable coder and Pax turns into a plain chat client with no file or shell tools. Developers can also swap out the default agent with the --agent flag, for example pax --agent my_agents:reviewer. In that case no plugins are loaded and the custom agent runs as is, while terminal features such as session resume and worktrees keep working.
Sandboxing is another selling point. The /sandbox command switches the runtime environment before the first prompt, and 10 are supported: eight in the cloud, including E2B, Daytona, Modal, Render and Kubernetes, and two local ones, smol and the microVM-based boxlite. For the cloud sandboxes that offer proxy forwarding, the GitHub token never enters the sandbox itself.
Pax enables code mode by default. The model writes short Python snippets to search and read files, which are then handed to the Monty interpreter for execution. The Harness underneath is said to offer more than 100 capabilities, including a unified workspace interface spanning local and cloud environments, model fallback and computer use. Computer use is not yet available in Pax; the blog says it is coming in "the next release".
The benchmarks and the bills are self-reported
The blog compares frameworks on Harness-Bench SWE81, a benchmark the team built itself: 81 tasks and 8 models. Among the four frameworks that completed runs with every model, Pax averages 58.5 points, OpenCode 58.2, deepagents-code 57.6 and pi 57.3, so the top four sit within 1.2 points of each other. Costs spread out much more. The average cost per run is $6.47 for pi, $7.69 for Pax, $8.04 for OpenCode and $9.43 for deepagents-code.
The comparison with the model vendors' own tools is more interesting. On GPT-6.2 Sol, Pax scores 4.6 points higher than Codex while spending less than half as much. On GPT-6.1 Sol, Pax actually loses narrowly to Codex, 62.4 to 63.0, but costs 29% less, using 8 million input tokens against 20.8 million. As a rough extrapolation, running 100 similar tasks on this data would cost about $921 with GPT-6.2 Sol on Pax, against about $2,105 on Codex.
These numbers come with two caveats. The benchmark was designed and run by Pydantic itself, and no third party has reproduced it so far. In the cost figures, MiniMax and Kimi are priced through OpenRouter, so they are not fully comparable with direct official API prices. The GPT-6.1 Sol run, where Codex comes out ahead, also shows that the gaps between frameworks shift with the model.
Can developers in China use it?
Pax itself is a Python package, Pydantic AI supports the major model vendors, and the benchmark includes two Chinese models, MiniMax M3.1 Flash and Kimi K3.1 Pro, so access is not closed off. The blog does not name a license and only labels the project as open source in its categorization. For people already using Claude Code or Codex, whether to switch depends on whether they need custom agents and multiple sandboxes; on scores alone, the differences are within a point or two.
Sources: Pydantic official blog, CocoLoop, PyPI project page. The average Harness-Bench SWE81 scores and per-run costs for each framework are cited on Pydantic's own self-reported basis.