Pydantic Pax coding agent beta: no sandbox by default
Pydantic's Pax terminal coding agent is in beta. It runs commands as you with no sandbox or approval step, and its Codex benchmark is one run. Set it up safely.
Pydantic shipped Pax, a terminal coding agent, in beta on November 25. It sits on top of the Pydantic AI Harness, and everything in it is a plugin, including the coding agent. Pydantic's own numbers show it beating Codex for less than half the cost. Its own docs also say the line most teams will skip: Pax "runs commands and edits files as you, with no sandbox and no approval step." Read that line before you read the benchmark.
What actually happened
Pydantic announced Pax and the Pydantic AI Harness beta and published the Pax docs. The key facts:
- What it is: A terminal UI in front of the Harness's
Coder()capability. You run it withuvx pydantic-ai-paxor install it withuv tool install pydantic-ai-pax. It needs Python 3.11 or newer. - Plugins all the way down:
/pluginstogglescoder,sandbox,observability(Logfire),mcpand others. Disablecoderand you have a chat client with no file or shell tools. - Your own agent:
pax --agent my_agents:reviewerruns any Pydantic AIAgentfrom your codebase as-is, with no Pax plugins loaded.-pruns one prompt headless and prints only the answer. - Models: The default is OpenAI's
gpt-6-astrathrough a ChatGPT sign-in. GitHub Copilot sign-in works too, as do OpenAI, Anthropic and Google API keys. Other providers need an extra. - Benchmark: On Pydantic's Harness-Bench SWE81 (81 tasks), Pax on GPT-6.2 Sol scored 64.7 for $9.21 a run against Codex's 60.1 for $21.05. That uses a relaxed rescore. On the stock grader the gap shrinks to 51.0 vs 49.8. Pydantic calls these "single runs from November," with full method and reruns due at 1.0.
Why it matters for your business
A model-agnostic coding harness is a good thing. If the agent loop is yours, you can swap the model when prices move, and --agent means the agent you test is the agent you ship. That is the right design.
But the default is wide open. Here is what the docs say happens:
- No approval step. The agent edits files and runs shell commands as your user. An untrusted folder still gets read, edited and executed.
- Sandboxes are opt-in. Pick one with
/sandboxbefore the first prompt. Providers include local micro-VMs, E2B, Daytona, Modal and Kubernetes. - Token handling varies by sandbox. On E2B, boxd, Daytona and OpenSandbox, a proxy injects your GitHub token. On local smol, BoxLite, Modal, Render, Sprites and Kubernetes, the token sits inside the sandbox where anything running there can read it.
- Plugins are code. They run as you. Install only ones you trust.
We've said this about Copilot's local sandbox and Claude Code's sandboxed bash: the safety feature only counts if it's on.
Key takeaways
- Pax is Pydantic's beta terminal coding agent, installable with uvx or uv tool install
- It runs commands and edits files as you, with no sandbox and no approval step by default
- Choose a sandbox with /sandbox before the first prompt, and prefer one that keeps your GitHub token outside
- The Codex comparison is a single vendor run: 64.7 vs 60.1 relaxed, 51.0 vs 49.8 on the stock grader
- Use --agent to test the exact Pydantic AI agent you plan to ship
Want coding agents on your repo without handing them your laptop? We set up sandboxed agent runs, scoped tokens and model-agnostic harnesses your team owns. See how we build or tell us what your agents touch.
Sources: Pydantic (Pax and Harness beta), Pydantic (Pax docs).
- #pydantic
- #pax
- #coding-agents
- #agent-sandbox
- #python
Tommy Rush — Founder, Rush Commerce
Operator turned builder. 15+ years running operations — now shipping the systems businesses run on. More
Get The Rush Report weekly — one email, zero fluff.
Keep reading
Windows Server 2028 removes WSUS, SMBv1, VBScript and WMIC
Microsoft's Windows Server 2028 preview list removes WSUS, SMBv1, VBScript, WMIC, PPTP and legacy BIOS. Find what depends on them before you upgrade.
Read itRocket vibe-coding platform shuts down December 31
Rocket, an Indian rival to Lovable and Replit, closes December 31 and tells users to download their code and data. Here is what to export this week.
Read it