Have a project in mind? Let's talk.

Pydantic Pax is the newest entrant in the terminal coding agent race, and it arrives with an unusual pedigree: it is the official coding agent from the team behind Pydantic, the most widely used data validation library in Python. Announced on November 25 alongside the Pydantic AI Harness beta, Pax (pydantic-ai-pax) is a terminal UI built on the Harness SDK's Coder capability, and the design claim is bold: everything in Pax is a plugin, including the coding agent itself. The release is a beta on the road to a 1.0 that Pydantic says is about a month away, which makes this the window where early feedback can still shape the public API. Source: Introducing Pax and the Pydantic AI Harness beta, Pydantic
Pax is the top of a four-layer stack, and the announcement is careful to explain the layering because each layer works without the one above it. Pydantic AI is the agent framework: the loop, models from every major provider, tools, and structured output. The Pydantic AI Harness is a library of more than 100 production capabilities you assemble into a harness of your own: durable execution that survives crashes, one workspace API across your machine and a dozen cloud sandboxes, computer use on each provider's native tool, model fallback that also catches refusals, and code mode, plus file and shell tools, guardrails, memory, sub-agents, context management and Agent Skills. Coder() is a ready-made coding agent packaged as a single capability. Pax is the terminal interface in front of Coder, and, because it accepts --agent, a terminal interface for any Pydantic AI agent at all. Source: Introducing Pax and the Pydantic AI Harness beta, Pydantic and Source
The practical install is one line: uv tool install --compile-bytecode pydantic-ai-pax, or uvx pydantic-ai-pax to try it without installing. Pax needs Python 3.11 or newer, ships with the OpenAI, Anthropic and Google SDKs, and defaults to openai-codex:gpt-6-astra running on a ChatGPT subscription, with /login and /model for switching. One macOS quirk: the system already ships an unrelated /bin/pax archiver, so a fresh install may need a new terminal or a rehash before pax resolves. Source: Source
The plugin model is the architectural bet. A Pax plugin is a Pydantic AI capability one layer up: tools and hooks for the agent, plus terminal pieces like slash commands, status-bar items, and logins. The built-in set includes coder, sandbox, observability (Pydantic Logfire tracing), mcp, persistence, repo_context and more, all toggleable from a /plugins menu. Disable the coder plugin and Pax becomes a clean chat client with no file or shell tools. Any Pydantic AI capability works as a plugin by its import path, and Pydantic says Pax can even write new plugins for itself when asked. Source: Introducing Pax and the Pydantic AI Harness beta, Pydantic
That last point matters more than it might look. Most terminal agents are forked or configured; Pax is composed. A custom approval gate, status-bar metric, or internal tool becomes a few lines of Python rather than a fork that drifts from upstream. Whether the plugin API holds that promise is what the beta period is for. Source: Introducing Pax and the Pydantic AI Harness beta, Pydantic and Source
The --agent flag is the feature platform teams will care about most. Point Pax at any Pydantic AI Agent from your own codebase, for example pax --agent my_agents:reviewer, and it loads that agent as-is, with its own model, tools, and instructions, while Pax supplies the full terminal: --resume, --worktree, -p for one-shot prompts, and -m for model selection. None of Pax's plugins load in that mode. The workflow this enables is tight: build an agent in your repo, test it interactively in a real terminal, then ship the exact same Agent object in your service. Source: Introducing Pax and the Pydantic AI Harness beta, Pydantic
This is also where the Harness story connects to production. The same Coder() capability that powers Pax slots into an agent you deploy, and Pydantic has been building out the durability side of that story for a while; we covered the Azure Durable Task integration for Pydantic AI agents in an earlier post. Durable execution for SDK-built agents is listed as a Harness capability, though the announcement notes it is not in Pax yet. Source: Introducing Pax and the Pydantic AI Harness beta, Pydantic
File and shell tools in Pax talk to a workspace abstraction, so the same agent runs on your machine or in a cloud sandbox without changing tool code. You can swap where a session runs before the first prompt: /sandbox e2b, boxd, daytona, opensandbox, modal, render, sprites or kubernetes for cloud, or local smol and BoxLite micro-VMs. Pax syncs your branch and uncommitted diff into the sandbox while edits, builds and shell commands run inside it, and /resume reconnects automatically. On proxy-enabled providers, the egress proxy injects your GitHub token on outbound requests, so the token never enters the sandbox itself. A ComputerUse() capability gives any agent a full desktop on Docker or ten sandboxes using the providers' native computer-use tools, and Pax gets it as /computer-use in the next release. Source: Introducing Pax and the Pydantic AI Harness beta, Pydantic
The documentation is unusually direct about the default risk posture: out of the box, Pax runs commands and edits files as you, with no sandbox and no approval step, and the docs tell you to run it in a project you trust. That is the same trust model as most incumbent terminal agents, but it is stated plainly enough that teams can make the sandbox decision deliberately rather than by accident. For unattended runs there is a Coder(autonomy='max') setting that never stops to ask, which makes the sandbox question more than academic. Source: Source
Pydantic benchmarked Pax against other harnesses on Terminal-Bench and Harness-Bench and published one illustrative result: Harness-Bench SWE81 across eight models, holding the model fixed within each comparison. Pax had the highest average score of the four harnesses that ran every model, narrowly: 58.5, ahead of OpenCode at 58.2, deepagents-code at 57.6, and pi at 57.3. pi was the cheapest at an average of $6.47 a run to Pax's $7.69. Against the native harnesses, Pax cost $9.21 to Codex's $21.05 on GPT-6.2 Sol, and $24.61 to Claude Code's $25.10 on Claude Opus 5.5, while scoring slightly higher than both in those pairings. Source: Introducing Pax and the Pydantic AI Harness beta, Pydantic
The caveats are stated by Pydantic itself and deserve equal billing. These are single runs from November. Sol and Opus results use a relaxed rescore applied identically to every harness. Pax ran Sol with Coder(autonomy='max'), the unattended setting. A separate head-to-head on GPT-6.1 Sol actually had Codex ahead, 63.0 to 62.4, though Pax used 29% fewer input tokens. Full methodology, more runs and more benchmarks are promised with the 1.0 launch. The honest reading is that Pax is cost-competitive and score-competitive with the incumbent harnesses in Pydantic's own early numbers, not that a new leader is crowned. We have seen how much harness choice moves results in our coverage of ShellBench, and single-run scores should always be read as directional. Source: Introducing Pax and the Pydantic AI Harness beta, Pydantic
Pydantic is clearly courting incumbent users. /resume shows your existing Claude Code and Codex sessions next to Pax's own, and pax --resume-claude or pax --resume-codex imports a session directly so you can continue it on any model. Repository setup carries over as well: the repo_context plugin reads AGENTS.md and CLAUDE.md, and the default coder plugin loads Agent Skills from .agents/skills and .claude/skills directories. Combined with sign-in via ChatGPT or GitHub Copilot subscriptions, the switching cost is deliberately close to zero. Source: Introducing Pax and the Pydantic AI Harness beta, Pydantic and Source
Code mode rounds out the speed story. Instead of shuffling results between tools turn by turn, the model writes a short Python snippet in Monty that searches, reads files, and returns only what matters, and a speculative execution shortcut (Ctrl+X, then Ctrl+S) starts safe file reads while the model is still streaming. With the observability plugin on, Logfire traces every tool call as its own span, so the speed gains do not cost you the audit trail. Source: Introducing Pax and the Pydantic AI Harness beta, Pydantic
Our assessment: Pax is the most credible challenger the terminal coding agent category has produced this quarter, not because of the benchmark headline, but because of who is building it and how. Pydantic's distribution in Python is enormous, the Harness SDK gives Pax a composability story that fork-based agents cannot match, and --agent turns the terminal into a test harness for agents you actually ship. The cost numbers on flagship models, if they hold up under the full methodology due at 1.0, put real price pressure on Codex in particular, which is timely given how usage limits have been shifting; we tracked the latest Codex changes in our usage limits post. The things to watch during the beta are the plugin API's stability, whether durable execution arrives in Pax itself, and whether independent benchmark reruns confirm Pydantic's single-run numbers. For teams already on Pydantic AI, trying uvx pydantic-ai-pax this week is close to free. For everyone else, the migration hooks from Claude Code and Codex make a side-by-side trial on a real branch the sensible next step.
Pax is the official coding agent for the terminal from the Pydantic team, released in beta on November 25, 2026. It is a terminal UI built on the Pydantic AI Harness SDK's Coder capability, and everything in it, including the coding agent itself, is a plugin you can toggle, replace, or write yourself. Source: Introducing Pax and the Pydantic AI Harness beta, Pydantic
Run uv tool install --compile-bytecode pydantic-ai-pax, or try it without installing via uvx pydantic-ai-pax. Pax requires Python 3.11 or newer. On macOS, if pax does not start right after installing, open a new terminal or run rehash, because macOS ships an unrelated /bin/pax archiver. Source: Pax docs, Pydantic
Pax runs models from every major provider through Pydantic AI, and you can sign in with a ChatGPT or GitHub Copilot subscription or bring API keys for OpenAI, Anthropic, Google and others. The default model is openai-codex:gpt-6-astra, and you can switch models mid-conversation with /model. Source: Pax docs, Pydantic
By default Pax runs commands and edits files as you, with no sandbox and no approval step, so Pydantic's own docs say to run it in a project you trust. For stronger isolation you can route sessions to cloud sandboxes or local micro-VMs with /sandbox, and on proxy-enabled providers your GitHub token never enters the sandbox. Source: Pax docs, Pydantic
In Pydantic's own single-run November benchmarks on Harness-Bench SWE81, Pax scored slightly higher than Codex on GPT-6.2 Sol at less than half the cost, and roughly matched Claude Code on Claude Opus 5.5 at similar cost. A separate head-to-head on GPT-6.1 Sol had Codex narrowly ahead on score with Pax 29% cheaper on input tokens. These are vendor-run single runs with a full methodology promised at 1.0, so treat them as directional and test on your own codebase. Source: Introducing Pax and the Pydantic AI Harness beta, Pydantic
Ready to take the first step towards unlocking opportunities, realizing goals, and embracing innovation? We're here and eager to connect.