Pax is Pydantic’s official terminal coding agent, released in beta on 25 November alongside the public beta of the Pydantic AI Harness. It is a command line tool that writes, reads and runs code for you, and it is built on a simple idea: everything in Pax is a plugin. The coding agent itself, the sandboxes, the tracing and even the chat interface are plugins you can switch on or off. This guide covers installing Pax, signing in, choosing a model, and running your first coding session.
What Pax Is and How It Differs From Other Coding Agents
Most terminal coding agents ship as one fixed product with a fixed set of tools. Pax takes the opposite route. It is built on the Pydantic AI Harness SDK, and every capability is a plugin. Open the /plugins menu and toggle things on or off. Turn the coder plugin off and Pax becomes a plain chat client with no file or shell tools,
The plugin-first design also means Pax can grow without a rewrite. Sandboxes, MCP support and Logfire tracing are all plugins, and you can write your own. For a wider look at how coding agents fit into everyday work, see how to use Claude Code in code mode. Pax is open source under the MIT licence, from the team behind Pydantic AI. The beta version is 0.75.0, with version 1.0 about a month away, so expect changes while the beta settles.
Install Pax in Two Minutes
You need Python 3.11 or newer. If you only want to try Pax once, run it without installing anything:
uvx pydantic-ai-pax
That downloads and runs Pax in one step. If you like it and want it kept on your machine, install it with:
uv tool install pydantic-ai-pax
Both routes use uv, the fast Python package manager. Once installed, type pax in your terminal to start it. One quirk on macOS: the system ships an unrelated archiver also called pax at /bin/pax. If you type pax and an archiver starts instead of the coding agent, open a new terminal window or run pydantic-ai-pax directly.
Sign In and Pick Your Model
Pax does not ask for an API key. The default model is openai-codex:gpt-6-astra, and you sign in with a subscription you already hold. Run /login openai-codex to sign in with a ChatGPT subscription, or /login github-copilot to sign in with a GitHub Copilot subscription. Either route connects Pax to the model through your subscription, with no key to copy, paste or rotate.
If you want a different model, use /model and pick from the list. Different models suit different jobs: a lighter model may be fine for a quick edit, while a stronger model earns its keep on a tangled refactor. Pax lets you switch mid-session. For a comparison of what the GPT-6 family can do, read how to use GPT-6.2 Sol in ChatGPT and how to use GPT-6.2 Astra in ChatGPT and Codex.
How Code Mode Works
Code mode is on by default in Pax, and it changes how the agent works with files. Instead of shuffling results between tools, calling one tool to list files, another to read them and another to search, the model writes a short Python snippet that searches and reads files, and Pax runs it with the Monty interpreter. The effect is fewer round trips, fewer chances for the agent to lose track of what it already found, and faster answers on codebases with many files.
Plugins: Turn Pax Into What You Need
The /plugins menu is the control panel. Every capability in Pax is a plugin, and you can toggle each one. The coding agent itself is a plugin. Sandboxes are plugins. MCP support is a plugin. Logfire tracing is a plugin. Your own plugins sit alongside them.
That structure has a practical payoff. If you are reviewing a design and do not want the agent touching files, turn the coder plugin off and Pax becomes a plain chat client. Turn it back on when you are ready to change code. Writing your own plugin is also on the table: Pydantic built Pax on the Harness SDK, so a plugin is a normal piece of the same framework. Start with something small, such as a plugin that loads your project conventions.
Run Your Own Agent With the Agent Flag
Pax can run an agent you already built. Point it at any Pydantic AI Agent from your own codebase with the –agent flag, and Pax runs that agent instead of its built-in coder, while keeping the terminal conveniences such as –resume and –worktree. That is useful if you have already invested in a custom agent for your team: you get the terminal interface, the session handling and the plugin system without rebuilding the agent itself.
Sandboxes, Sessions and Resuming Past Work
Sessions in Pax can move into cloud sandboxes such as E2B, Daytona, Modal or Render. That matters when the agent needs to run code you do not want running on your own machine, or when you want a clean environment that matches your deployment target. A sandbox gives the agent a place to execute safely, away from your local files and credentials.
Pax also imports existing sessions from other tools. Use –resume-claude to bring in a Claude session, or –resume-codex to bring in a Codex session. For a comparison with another multi-agent tool, see GitHub Copilot Fusion, and Claude Ship code review covers a different way to get an agent to review pull requests.
What Pax Does Not Do Yet
Pax is a beta, and two features are not in it yet. Durable execution, which lets a long job survive interruptions, is still only in the Harness, not in Pax. Computer use, which lets an agent operate a desktop, arrives in the next release as /computer-use. Do not plan a workflow around either feature until it lands.
Pydantic’s Own Benchmark Numbers
Pydantic published its own benchmark figures for Pax, and they should be read as the vendor’s own single runs, not as independent results. On Harness-Bench SWE81, a set of 81 tasks run across eight models, Pax averaged 58.5, ahead of OpenCode at 58.2, deepagents-code at 57.6 and pi at 57.3. The gaps are small, and a single benchmark run is not a verdict on which agent is best for your codebase.
The cost figure is more concrete. Pydantic reports a run on GPT-6.2 Sol cost $9.21 with Pax against $21.05 with Codex. Again, that is one run, on one task set, reported by the vendor. Test costs on your own workload instead of taking it as a promise. For more on keeping agent access safe while you test, read how to check Claude Code for leaked secrets.
A Practical First Session With Pax
Start with a small, real task in a repository you know well. A good first job is to ask Pax to explain a module you have not touched in a while, then ask it to fix a small bug or add a test. Watch how it searches the code, read the snippet it runs, and check the change before you accept it.
Pax is at its best when you treat it as a fast, flexible terminal agent rather than a finished product. The official announcement explains the design in full in the Pydantic article on the Pax and Harness beta, and the package page lists the install details in the Pydantic AI package on PyPI.
FAQs
Do I need an API key to use Pax?
No. Sign in with a ChatGPT subscription through /login openai-codex, or with a GitHub Copilot subscription through /login github-copilot. No API key is needed for either route.
What Python version does Pax need?
Python 3.11 or newer. Install it first if your system Python is older, then run uvx pydantic-ai-pax to try Pax without installing, or uv tool install pydantic-ai-pax to keep it.
Can Pax run my own custom agent?
Yes. Point Pax at any Pydantic AI Agent from your own codebase with the –agent flag. It runs your agent instead of the built-in coder while keeping terminal features such as –resume and –worktree.
Does Pax have computer use yet?
Not yet. Computer use arrives in the next release as /computer-use, and durable execution is still only in the Harness. Do not plan a workflow around either feature until it lands.

