Pydantic Pax: how to install and use the coding agent
2026-11-29 · 4 min read
Pydantic Pax is a coding agent that runs in your terminal, built by the team behind Pydantic, the Python validation library. To try it, open a project folder, run uvx pydantic-ai-pax, sign in with a ChatGPT or GitHub Copilot subscription or an API key, and hand it a task.
The posts
Pydantic announced Pax on November 25. The post from @pydantic calls it the official Pydantic AI coding agent for the terminal, and its main claim is an unusual one: "Everything in it is a plugin, even the coding agent." It also tells developers who already built a Pydantic AI agent to run it in Pax with pax --agent, then ship the same agent in their own service.
A day later, the Agentic AI Foundation's daily edition ran the launch under the line "Pydantic Opens Up the Harness." That's a fair reading. Pax is a shell you wrap around whichever model you already pay for.
Pax shipped with the Pydantic AI Harness beta, a library of more than 100 agent capabilities, and Pydantic's announcement puts 1.0 about a month out.
How to install and use it
From the Pax docs:
- Get Python 3.11 or newer and the uv package manager. Run
uvx pydantic-ai-paxto try it without installing, oruv tool install pydantic-ai-paxto keep it. - Change into your project folder and type
pax. Macs already ship an unrelatedpaxarchiving tool, so if the wrong one starts, open a new terminal, runrehash, or typepydantic-ai-paxinstead. - Sign in. The default model is GPT-6 Astra on your ChatGPT subscription, connected with
/login openai-codex./login github-copilotworks too, and so do OpenAI, Anthropic or Google API keys set in your environment, a.envfile or/keys. - Pick a sandbox with
/sandboxbefore your first prompt. You can use a local micro-VM (/sandbox local smolor/sandbox local boxlite) or a hosted one such as E2B, Daytona or Modal. - Give it work. Try "Find every place we send an email and list what triggers each one." For a quick one-off,
pax -p "Explain this repository"skips the interface. - If you're coming from Claude Code or Codex,
pax --resume-claudeandpax --resume-codexcontinue an existing session, tool calls included. Pax also readsAGENTS.mdandCLAUDE.mdand loads skills from.claude/skills.
Plugins live under /plugins. The built-in set covers the coding agent, context compaction, saved sessions, MCP connections and tracing. Optional plugins add GitHub, Linear, Notion, Slack and Google Workspace. (On that last one, Google now wants agents to reach Workspace data through its official MCP servers or CLI.) If you've used Claude Code mods, the idea is familiar, but here even the core agent is swappable.
Pax is free to install. It ships from Pydantic's MIT-licensed pydantic-ai repository, so the model is your only bill. Sign in with ChatGPT and you're spending your plan's allowance, which OpenAI keeps adjusting: GPT-6.2 now draws it down faster after a billing fix.
Read this line before you run it
The docs say Pax "runs commands and edits files as you, with no sandbox and no approval step." Two defaults soften that. Folders start untrusted, so instruction files and skills in a repo you just cloned count as the repo's, not yours, until you run /trust. And shell commands the agent runs can't see your provider API keys. Plugins are Python code that runs as you, so only install ones you trust.
The benchmark numbers
Pydantic ran Pax on its own Harness-Bench SWE81 suite across eight models. Pax averaged 58.5, just ahead of OpenCode at 58.2. Against each lab's own tool:
| Model | Pax | Native harness |
|---|---|---|
| GPT-6.2 Sol | 64.7, $9.21 per run | Codex: 60.1, $21.05 |
| Claude Opus 5.5 | 61.2, $24.61 per run | Claude Code: 60.4, $25.10 |
Pydantic says these are single runs from November with a relaxed rescore. Under the stock grader, Pax's lead shrinks to between one and one and a half points. On GPT-6.1 Sol, Pax scored slightly below Codex, 62.4 to 63.0, at 29% less cost. Pydantic promises the full methodology with 1.0.
My read
Until the reruns arrive, I'd treat the score gaps as noise. The cost gap is harder to wave off: on Sol, Pax scored at least as well as Codex for well under half the price. It's one run, though.
What I like more is the portability. The agent you test in the terminal is the same one you deploy, and sessions carry over from Claude Code and Codex. So when a vendor changes prices or limits, as OpenAI did this week, you can switch models without rebuilding your setup. Just mind the no-sandbox default: a careless first run can change real files.
What it means for a business
Agent wrappers are getting as easy to swap as the models under them. If a developer or agency builds tools for you, ask whether that work is locked into one vendor's app or can move when pricing shifts. Then ask what the agent can touch on the machine it runs on. For help picking which of your processes are worth handing to an agent at all, New Face Design's free process audit is a good place to start.