← All posts

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:

  1. Get Python 3.11 or newer and the uv package manager. Run uvx pydantic-ai-pax to try it without installing, or uv tool install pydantic-ai-pax to keep it.
  2. Change into your project folder and type pax. Macs already ship an unrelated pax archiving tool, so if the wrong one starts, open a new terminal, run rehash, or type pydantic-ai-pax instead.
  3. Sign in. The default model is GPT-6 Astra on your ChatGPT subscription, connected with /login openai-codex. /login github-copilot works too, and so do OpenAI, Anthropic or Google API keys set in your environment, a .env file or /keys.
  4. Pick a sandbox with /sandbox before your first prompt. You can use a local micro-VM (/sandbox local smol or /sandbox local boxlite) or a hosted one such as E2B, Daytona or Modal.
  5. 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.
  6. If you're coming from Claude Code or Codex, pax --resume-claude and pax --resume-codex continue an existing session, tool calls included. Pax also reads AGENTS.md and CLAUDE.md and 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.

08 / Start here

Which of this can you use today?

Tell us what you use today and we'll reply within one business day with what it would take. Free, 20 minutes, no pitch deck.

Email

pgorski@newfacedesign.com

Phone

+1 (773) 627-2176

Based in

Chicago area

Working with clients everywhere

Skip the form: grab a 20 minute slot.

Open the calendar →