# Pydantic AI Launches Terminal Coding Agent Pax and Harness Beta, Paving the Way to 1.0

> Built on the Harness SDK with every feature organized as a plugin, Pax tops the average score in a single Harness-Bench SWE81 run at less than half the cost of Codex

- **Canonical URL**: https://aipress.im/en/article/pydantic-ai-pax-harness-beta-coding-agent-9dd57b9793e5
- **Markdown URL**: https://aipress.im/en/article/pydantic-ai-pax-harness-beta-coding-agent-9dd57b9793e5.md
- **Language**: English (en)
- **Published**: 2026-11-25T09:00:00.000Z
- **Updated**: 2026-11-25T22:15:22.528Z
- **Category**: AI Products
- **Editorial Score**: 72/100
- **Primary Source**: Pydantic AI 官方文章 (https://pydantic.dev/articles/pax-harness-beta)
- **Topics**: AI Agents, AI Coding & DevTools, Tutorials & Playbooks, MCP & Tool Use

## Executive Summary

Pydantic AI has released the terminal coding agent Pax and the Harness beta, setting the stage for a 1.0 release in about a month. Pax is built on the Harness SDK, with all functionality plugin-based and support for switching sandboxes and bringing your own agent; in a single Harness-Bench SWE81 run, it ranked first on average among four harnesses at less than half the cost of Codex.

## Key Takeaways (TL;DR)

- Pydantic AI releases the terminal coding agent Pax (pydantic-ai-pax) and the Harness beta, with a formal 1.0 release planned in about a month.
- Everything in Pax is a plugin—including the coding agent itself, sandboxes, MCP, and Logfire observability—toggleable via /plugins.
- In a single Harness-Bench SWE81 run, Pax achieved the highest average score among four harnesses running eight models, at less than half the cost of Codex on GPT-6.2 Sol.

## Harness Heads to 1.0: Stress-Test First, Then Lock the Public API

Pydantic AI says Harness has evolved significantly since launching alongside Pydantic AI v2 in June, and is now the official capability and harness library for Pydantic AI, offering over 100 capabilities that can be added to any agent. The team plans to finalize it as 1.0 in about a month and adopt the same versioning policy as Pydantic AI. According to the company, now is the window for stress-testing, and it wants to collect remaining adjustments before the public API is locked in for the long term.

Alongside the 1.0 plan, Pydantic AI has released the terminal coding agent Pax (pydantic-ai-pax), built on the Harness SDK. The company positions it as a coding agent for everyday use and as a showcase of the Harness SDK's capabilities: users can point --agent at any Pydantic AI agent in their codebase, switch sandboxes at any time, and run any model.

- Harness provides production capabilities such as durable execution, a unified workspace API across local and more than a dozen cloud and local sandboxes, model fallback, and code mode.
- Pax does not yet include durable execution; the company explicitly notes that this capability applies only to agents built on the SDK.

> In a single Harness-Bench SWE81 run, Pax achieved the highest average score among four harnesses running eight models, though the lead is narrow.

### The Layered Relationship Between Pax and Coder()

By the company's definition, Pydantic AI is the agent framework responsible for the loop, model integrations, tools, and structured outputs; Harness is the production capability library built on top of it. What the industry calls a coding harness is implemented in Pydantic AI as a capability called Coder(), essentially a set of capabilities that turns any agent into a coding agent. Pax is the terminal interface in front of Coder().

## Everything Is a Plugin: Even the Coding Agent Itself Can Be Toggled

Pax's plugins are conceptually higher-level capabilities: they include agent-facing tools and hooks as well as terminal components such as /commands, status bar items, and login. Even the coding agent itself is a plugin; users can open /plugins to toggle modules such as coder, sandbox, observability (Pydantic Logfire tracing), and mcp. The company gives an example: after running /plugins disable coder, Pax becomes a pure chat client without file or shell tools.

Any Pydantic AI capability can be used as a plugin via its import path, and Pax can even write new plugins for itself when the user asks. The company's post also provides an example of bringing your own agent: by loading an agent defined in the codebase via --agent, Pax loads no plugins and runs exactly as that agent defines it—with its own model, tools, and instructions—while retaining terminal features such as --resume, --worktree, -p, and -m.

- The plugin mechanism lets the same agent object be built in the repo, tested in a real terminal, and then deployed to a service in the same form.
- In bring-your-own-agent mode, Pax does not layer on default plugins; behavior is entirely defined by the Agent passed in.

> According to the company, Pax is both an everyday coding agent and a showcase of what can be built on the Harness SDK.

### Sandbox Switching and Credential Isolation

File system and shell tools target the workspace, so the same agent can run in a local or cloud sandbox without changing tool code. In Pax, users can switch execution location with /sandbox before the first prompt; options include cloud sandboxes such as e2b, boxd, daytona, opensandbox, modal, render, sprites, and kubernetes, as well as local smol or BoxLite microVMs. Pax syncs branches and uncommitted changes, and all edits, builds, and ! commands run inside the sandbox, with /resume automatically reconnecting. On outbound channels that support proxying, GitHub tokens do not enter the sandbox; instead, the outbound proxy injects them when requests are made to GitHub.

## Cost Comparison and the Road Ahead

The company's disclosed cost comparison shows that Pax costs less than half as much as Codex on GPT-6.2 Sol, roughly on par with Claude Code on Claude Opus 5.5. This comparison is based on a single Harness-Bench SWE81 run; the company did not disclose specific dollar amounts or the full test configuration. For teams choosing between coding agents, the combination of average score and cost provides a reference point for value.

On the roadmap, computer use will be added in the next version as /computer-use: it must be run in a new conversation before /sandbox PROVIDER, and the sandbox will start with a desktop, with the model viewing and controlling the screen through computer tools. This feature requires /permissions full, and /computer-use off removes the tool again. Code mode is enabled by default in Pax, with the model writing short Python snippets in Monty to search and read, returning only the necessary results; pressing Ctrl+X then Ctrl+S enables speculative execution, initiating safe file reads while the model is still streaming output.

- Computer use will reuse native computer-use tools from OpenAI, Anthropic, or Google and provide a full desktop in Docker or ten sandboxes.
- With the observability plugin enabled, Pydantic Logfire still records each tool call as a separate span.

> Pax costs less than half as much as Codex on GPT-6.2 Sol, roughly on par with Claude Code on Claude Opus 5.5.

### Migrating from Other Coding Agents

The company's post mentions migrating from other coding agents at the end, but the provided material cuts off there and does not give specific migration steps or compatibility notes. Based on what has been disclosed, Pax's plugin-based structure and --agent mechanism are its main design choices that differentiate it from closed coding agents.

## Industry Impact & Outlook

For AI developers in Asia-Pacific, the significance of Pax lies in breaking the coding agent down into composable plugins and capability layers: teams can define agents in their own codebases and then move the same object between terminal and service, reducing dependence on a single vendor's closed tools. Harness's upcoming 1.0 release also means the public API is entering a stable period, which enterprises can use to assess long-term maintenance costs; however, the official benchmark is only a single run, so actual value must still be validated against your own workloads.

## Frequently Asked Questions

#### What is the relationship between Pax, Pydantic AI, and Harness?

Pydantic AI is the agent framework; Harness is the production capability library built on top of it; Coder() is the set of capabilities that turns an agent into a coding agent; and Pax is the terminal interface in front of Coder(), built on the Harness SDK.

#### Can Pax use a self-built Pydantic AI agent?

Yes. By pointing --agent at any Pydantic AI Agent in your codebase, Pax will load no plugins and run exactly as that agent defines it—with its own model, tools, and instructions—while retaining terminal features.

#### How does Pax perform on cost?

The company says that in a single Harness-Bench SWE81 run, Pax costs less than half as much as Codex on GPT-6.2 Sol, roughly on par with Claude Code on Claude Opus 5.5, but it did not disclose specific dollar amounts.
