What Is Pydantic Pax? Comparing Codex, Claude Code and the Future of Agent Harnesses

What is Pydantic Pax? Compare seven coding tools, pinned source, eight-model SWE81 data, measured offline Code Mode behavior, installation and security.

Published · 27 min readXBSTACK
Evidence 40 cited sources
On this page

What Is Pydantic Pax? Comparing Codex, Claude Code and the Future of Agent Harnesses

On November 25, 2026, Pydantic introduced Pax and the public beta of its AI Harness. Pax is a terminal coding assistant built on a composable harness SDK, not a new foundation model. The release separates model choice, execution capabilities, workspace and interface, offering developers another approach alongside Codex and Claude Code.

By November 27, XBSTACK had inspected three pinned distributions, recomputed the published eight-model SWE81 results and completed an isolated installation, CLI startup check and 60 timed offline harness runs on an M1 Pro. The synthetic dependent tool-chain experiment found that Code Mode reduced elapsed time with substantial injected request delays but increased overhead without those delays. No hosted commercial model was called; the experiment does not establish superior coding performance. The important question raised by this release is whether different execution frameworks can deliver better outcomes, lower costs and verifiable security boundaries with the same model.

Pax is worth evaluating, but the evidence does not yet justify replacing Codex or Claude Code across an established workflow. The more consequential proposition is an execution SDK that applications can assemble independently of the terminal interface. This article uses public documentation and research available on November 27. It includes isolated installation, CLI startup and measured offline Harness behavior, but not an independently executed commercial-model benchmark.

If you are choosing an AI coding assistant, separate three questions: Pax is a multi-model terminal tool, not a new foundation model; open-source software does not make inference free; our M1 Pro measurements validate installation, CLI startup and a fixed synthetic tool chain, not superiority on real coding tasks. The sections below explain installation, selection, measured overhead and safety boundaries.

Related research: AI tooling and evaluation research.

1. What Pydantic released

Pydantic is well known for Python data validation. That heritage is relevant to agents because plausible model outputs still need to become valid application inputs, although it does not establish superior coding quality.

Pax is distributed as pydantic-ai-pax. The PyPI 0.75.0 release records a November 25 release date, MIT licensing and a Python 3.11 minimum. This is the pinned release reference for this article, not a claim that it is the latest version. Open-source licensing does not make model calls or hosted execution free. Four layers are worth separating:

LayerResponsibilityAdoption question
Pydantic AIAgent loop, models, tools and structured outputDo we need an agent inside an application?
Harness SDKReusable execution componentsWhich components fit the workflow?
CoderBundled coding capabilityCan we reuse an existing coding workflow?
PaxTerminal experience and pluginsShould this be our interactive entry point?

The Harness documentation and Coder reference explain how applications can reuse the components independently. The terminal is not a mandatory dependency of a custom coding agent.

This separation is useful, but interchangeable interfaces do not guarantee identical behavior. Changing a model or workspace can alter security, output handling and recovery.

Pydantic’s commercial position

It would be misleading to treat Pax as the auxiliary client of a foundation-model vendor. Pydantic’s company announcement established the open-source project as a foundation for the business. The subsequent Logfire launch and Series A announcement expanded that foundation into observability. Its current enterprise offering distinguishes the open-source framework from commercial support, observability and gateway services; the Gateway integration announcement documents the consolidation of one of those services.

The original validation library addressed a relatively deterministic problem: turning unchecked data into values an application could depend on. An agent adds a more difficult category of inputs. Its tool arguments, execution results and accumulated task state may have valid schemas while still describing an unauthorized or incorrect action. Validation is necessary but insufficient. A correctly typed deletion request can still address the wrong object, and a well-formed completion report can describe tests that never ran.

Pydantic’s plausible advantage is the ability to connect these concerns across the developer workflow, not an assumption that a validation-library maintainer automatically builds a superior coding agent. A terminal product exposes the behavior of the framework to users. The framework can become a point of integration for tracing, evaluation, model access and commercial assistance. That is an interpretation of the published product portfolio, not an assertion about private revenue or customer conversion.

There is a tension in this strategy. A freely available terminal can broaden developer adoption, but developers may use it without purchasing any service. Commercial integration can improve convenience, while excessive coupling would undermine the attraction of independent components. Useful signals are adoption of the SDK outside Pax, stable public interfaces, and whether commercial services offer measurable value without forcing a change of execution environment. Downloads or social-media mentions alone cannot answer those questions.

2. Inspecting the actual distributions: three pinned wheels

Four layers: Pydantic AI, Harness SDK, Coder and Pax

GPT explanatory illustration, cropped to the four component names. Read top to bottom as the framework-to-terminal sequence, not a guarantee of production readiness or execution safety. See the preceding table for each layer’s responsibility.

XBSTACK independently retrieved three release artifacts, verified SHA-256 digests and parsed their Python abstract syntax trees. The procedure read ZIP entries and package metadata without installing, importing or executing downloaded code during the static phase; a separate isolated runtime test follows in section 13.

DistributionPinned versionPython filesDependency relationship
pydantic-ai-pax0.75.0255Harness 0.75.0, core 2.75.0
pydantic-ai-harness0.75.0441pydantic-ai-slim 2.75.0
pydantic-ai-slim2.75.0483Core; no dependency on the other two

See the release metadata for Pax, Harness and Core. The file counts are a description of artifacts, not a measure of code quality, maturity or performance. Exact dependency pins also show why modularity does not imply arbitrary version compatibility.

LayerObserved source path or symbolWhat the observation supports
Consolepydantic_ai_pax.main:mainBoth console aliases share an entry point
Coding pluginbuiltin_plugins/coder.py, CoderPluginTerminal integration is organized through a plugin
SDK codingpydantic_ai_harness/coder/_capability.py, CoderThe SDK component is separate from the interface
Plugin APIplugins/init.py, Plugin, PluginHostExplicit host and plugin abstractions
Permissionsruntime/permissions.py, ApprovalHandler, session_permissionsPermission handling is distinct from default behavior
Code modecode_mode capability, toolset, streaming and speculation modulesMultiple implementation concerns
Contextcompaction summarization, clearing and deduplication modulesMore than a single text truncation function
Statestep_persistence store/recovery; core ModelFallbackSeparate persistence and model-selection mechanisms

These observations establish that the pinned distributions contain the named structures. They do not show that every branch works, every capability is enabled by default or the product enforces all advertised security properties. A source symbol is evidence of implementation structure, not a successful runtime trace. The source checks and original results are now available in the pinned GitHub evidence directory.

The Capabilities reference and on-demand capabilities explain the composition contract. In engineering terms, deferred capabilities may reduce the number of tool definitions and instructions the model receives upfront. The cost is another lifecycle: discovering, activating, configuring and potentially unloading behavior. If tool output reduction conflicts with a requirement to cite exact source material, the composition must resolve that tension explicitly. A component’s security and resource assumptions must also survive the combination. This is a practical test of modularity: can teams change one behavior without silently changing the contract of another?

3. Pax versus Codex and Claude Code

Seven coding tools: positioning and adoption questions

GPT explanatory illustration; factual and experimental claims are grounded in the article and underlying records.

A feature checklist alone obscures the architectural question.

DimensionPaxCodexClaude Code
Entry pointTerminal and Python componentsCLI, app and integrationsCLI, app and Agent SDK
Model orientationMultiple providersPrimarily OpenAIPrimarily Claude
Extension pathComposable capabilities and pluginsOpen harness, SDK and App ServerAgent SDK, tools, hooks and skills
Local securityNo additional sandbox or per-action approval by defaultSandbox and approval controls availableTool permissions and configurable Bash sandbox
MaturityBetaEstablished developer platformEstablished developer platform

OpenAI’s Codex platform architecture already exposes its open harness through developer interfaces. Anthropic’s Agent SDK provides programmatic integration, approvals and tool controls. Pax is not the first extensible coding agent. Its distinction is making model choice and capability composition central.

A developer may prioritize familiar defaults and tight model integration. A team embedding agents may instead prioritize ownership of the work environment, authorization, task state and acceptance. These are different decisions, not necessarily competing products.

Seven products, different forms of control

Pax’s novelty becomes clearer when we expand the comparison beyond the native coding products. OpenCode agents document configurable agents and their permissions. The pi SDK offers a programmatic session abstraction. Deep Agents offers a reusable harness alongside its terminal coding product. DeepSeek Harness also emphasizes an extensible plugin architecture. None of these facts establishes a market-share ranking.

ProductDistinguishing orientationImportant adoption question
CodexNative model integration and an open harnessWhich native features and subscription economics survive a switch?
Claude CodeIntegrated coding workflow and Agent SDKHow do permissions, native tools and long tasks behave?
PaxPython capability composition, terminal plugins and model choiceHow stable are the 0.x interfaces, defaults and product-specific features?
OpenCodeMulti-model terminal and configurable agentsDo provider adapters and migrated configurations preserve behavior?
piExtensible sessions and a compact execution experienceWhat maintenance effort will custom extensions require?
Deep Agents / dcodeEmbeddable harness and LangChain/LangGraph ecosystemHow does it integrate with existing state and execution backends?
DeepSeek HarnessPlugin-based execution and model ecosystemWhat is verified about compatibility and cross-provider behavior?

These are migration questions, not a list of established product defects. We did not run seven products in the same environment and do not assign subjective scores for usability or security. DeepSeek Harness is not a column in Pydantic’s published SWE81 matrix; missing benchmark data must not be interpreted as poor performance.

There is also a category distinction: a CLI competes for interactive work, while a library competes for architectural integration. Teams may retain Codex for daily repository work while using Pydantic AI or Deep Agents for a separate business application. They may also incorporate only one capability into an existing runtime. Forcing every candidate into a single replacement decision hides this flexibility.

The important competitive test for Pax is whether the modular architecture lowers the integration burden. If switching models requires redesigning every tool schema, approval policy, historical message representation and stopping rule, provider choice is only an adapter-level feature. Conversely, a single-model workflow that has stable task contracts and strong operational controls may be more economical. Technical openness and practical substitutability should be measured separately.

4. Model choice and migration do not eliminate lock-in

The Pax documentation describes importing Codex and Claude Code conversations using the corresponding resume options. Project instructions and skills also have supported discovery paths. Plugins can connect MCP tools and Logfire tracing or disable the coding capability. Select capabilities according to the task rather than enabling all of them.

There are three forms of portability: configuration, conversation history, and actual execution state. The third is the difficult one. A transcript can be reconstructed while its pending actions, approvals and external effects remain unresolved. Model-specific context behavior and native tools can also differ.

Before migrating, preserve the worktree and reconcile unfinished operations. For an agent that deploys software or updates a database, this is the unknown-outcome problem discussed in LangGraph failure recovery. A missing response does not prove that an operation never occurred.

5. Context, memory and model fallback are not one mechanism

Context, task progress, persistent knowledge and external state; compaction, fallback and import

GPT explanatory illustration; reconcile unknown external outcomes before retrying.

A common model interface addresses the beginning of a run. Long-running work also requires an understanding of what the system remembers and what it can verify. The separate documentation for Compaction, Tool Output Limits and Memory illustrates distinct concerns.

StatePurposeConsequence of losing it
Current contextEvidence and messages needed by the next requestIncorrect inference or repeated reading
Task progressVerified steps and unfinished requirementsRepeated or omitted work
Persistent knowledgeProject facts and relevant preferencesStale or untrusted information influences future runs
External truthFile versions, operation identities and business recordsDuplicate effects, incorrect rollback or false completion

Only the first category should depend entirely on prompt compaction. If a long tool result can be retrieved again, reducing it may be a sensible trade. Compressing a user’s authorization or a failed test into an ambiguous statement is different. A summary is not an independent record that a test passed or a transaction was committed.

Consider a coding task interrupted overnight. A migration script was written during the first session. In the morning, another developer changed the file. Resuming a conversation containing yesterday’s summary cannot establish today’s state. The restored agent needs the current worktree, a reliable baseline, an independent list of outstanding requirements and evidence of previous effects. The same holds when a conversation moves between clients. Successful transcript import is a much narrower outcome than successful workflow migration.

The Model Fallback capability addresses model-request failures and responses that cannot be accepted under the configured policy. It must not be confused with replaying a business action. If a provider fails while selecting a next step, a compatible fallback may continue inference. If a previous tool already initiated an external operation and its result is unknown, switching models is not permission to initiate it again. Organization safety rules and overall task budgets should carry across the fallback; model selection must not become a way to evade applicable restrictions.

Subagents add another boundary. Delegation can parallelize separable work, but each child must operate within a defined scope and report verifiable results. A parent’s job is to distinguish an ordinary child failure, user cancellation, an inference problem and an ambiguous external outcome. Concurrency without explicit ownership makes it harder to reconcile state. The evaluation should therefore test not only whether delegation produces a correct final answer, but also whether it duplicates work, consumes unexpected resources or fails to propagate cancellation.

6. What the official benchmark means

Selected same-model Harness-Bench SWE81 results from Pydantic’s November announcement:

ModelHarnessScoreMean task cost
GPT-6.2 SolPax64.7USD 9.21
GPT-6.2 SolCodex60.1USD 21.05
Claude Opus 5.5Pax61.2USD 24.61
Claude Opus 5.5Claude Code60.4USD 25.10

Source: Pydantic’s announcement and original methodology.

The reported Sol cost reduction is approximately 56.2%, with a 4.6-point score difference. In the Opus comparison, the corresponding differences are approximately 2.0% and 0.8 points. The two configurations therefore do not support a universal claim that Pax halves coding costs.

The publisher identifies single runs, relaxed scoring for Sol and Opus, and max autonomy for Pax’s Sol configuration. Under the original grader, Sol scores are 51.0 and 49.8. That smaller difference shows why the scoring rule matters.

Among the four systems evaluated across all eight models, average scores span 57.3 to 58.5; Pax leads OpenCode by 0.3 points, while pi is cheaper on average. The figures are too limited to establish a stable overall ranking. The reported expenses are task-run averages, not subscription fees or complete project costs.

Independent research, Harness or Model?, reports same-model comparisons whose principal average contrasts were not statistically resolved. It is not a Pax replication. It is a useful warning against generalizing from a narrow benchmark.

The engineering metric that matters is cost per independently accepted task: total model, execution and human rework expenditure divided by the number of valid accepted tasks. If none pass, the metric is undefined. Correctness and authorization must both hold.

Our existing model versus harness guide addresses broader failure diagnosis. This article instead focuses on the specific decision to adopt Pax or its SDK.

7. The complete eight-model matrix

Vendor SWE81 eight-model mean score and cost plus flagship comparisons

GPT explanatory illustration; eight-model means recomputed from Pydantic single-run vendor data, not an independent model benchmark. Flagship examples compare only the two listed tools; see the scoring caveats in the text.

Recomputing the eight displayed rows gives mean task costs of USD 7.69 for Pax, 8.04 for OpenCode, 6.47 for pi, and 9.43 for deepagents-code (rounded from displayed cells). Codex and Claude Code lack some model rows and are not directly comparable as complete eight-model averages.

Selecting only the two flagship comparisons would introduce selection bias. The following numerical data are from Pydantic’s November 25 publication. A dash means the cell was not reported, not zero performance or lack of product support.

ModelPaxOpenCodepideepagents-codeCodexClaude Code
GPT-6 Luna55.157.253.355.156.0—
GPT-6.1 Terra54.154.757.251.454.2—
Claude Haiku 5.556.055.552.959.1—56.5
Claude Sonnet 5.558.460.857.957.7—56.9
MiniMax M3.1 Flash54.750.852.350.754.738.6
Kimi K3.1 Pro63.764.359.161.561.862.9
GPT-6.2 Sol64.761.064.861.760.1—
Claude Opus 5.561.261.461.163.3—60.4

Mean task-run cost, in USD:

ModelPaxOpenCodepideepagents-codeCodexClaude Code
GPT-6 Luna0.770.690.571.081.04—
GPT-6.1 Terra4.975.413.9713.796.36—
Claude Haiku 5.51.461.501.201.34—1.37
Claude Sonnet 5.57.907.436.547.90—6.86
MiniMax M3.1 Flash1.672.941.402.921.852.95
Kimi K3.1 Pro10.929.819.4411.8814.4211.40
GPT-6.2 Sol9.219.177.6912.9821.05—
Claude Opus 5.524.6127.3320.9623.51—25.10

The original report specifies a score averaged over graded tasks and cost averaged over all 81 tasks. OpenAI and Anthropic costs use token list prices; MiniMax and Kimi costs use OpenRouter billed amounts. Dividing cost by score gives a cost per score point, not necessarily the cost of one successfully solved task. These denominators must remain explicit.

We also computed a Pareto comparison using the reported cells. A configuration dominates another when it scores at least as highly, costs no more, and strictly improves at least one of the two dimensions. The frontier consists of configurations for which no other reported combination satisfies that definition.

ModelHighest scoreLowest mean expenseObserved frontier
GPT-6 LunaOpenCodepiOpenCode, pi
GPT-6.1 Terrapipipi
Claude Haiku 5.5deepagents-codepipi, deepagents-code
Claude Sonnet 5.5OpenCodepiOpenCode, pi
MiniMax M3.1 FlashPax and Codex (tie)piPax, pi
Kimi K3.1 ProOpenCodepiOpenCode, pi
GPT-6.2 Solpipipi
Claude Opus 5.5deepagents-codepipi, deepagents-code

This is an independent arithmetic analysis of the publisher’s table, not an independent benchmark run. In these rounded single-run figures, pi is the least expensive in all eight rows. Pax lies on the specified frontier in the MiniMax row alone. This does not negate Pax’s highest mean score among the four complete harnesses: a relatively consistent set of second-place results can win an average without leading individual comparisons.

Nor does the analysis establish which tool has the lowest real cost. A different task mix can change the weights. Latency, security, human intervention, infrastructure and rework are not represented. Missing raw task-level observations prevent uncertainty estimates. An organization that values the ability to reuse SDK components might prefer Pax even if a cheaper configuration exists in this narrow table.

Scoring sensitivity also matters. The Sol gap changes from 1.2 points under the original grader to 4.6 after the rescore; the Opus gap moves in the other direction, from 1.4 to 0.8. The separate GPT-6.1 Sol comparison reports a different 29% cost reduction. Mixing that result with the GPT-6.2 Sol comparison would be a methodological error.

How to build a credible coding-agent evaluation

The Harness-Bench project describes multiple realistic task families and task-specific evaluation. Pydantic’s current results are an illustrative matrix, not the complete repeat-run methodology. Without per-task outputs, we cannot construct honest confidence intervals or infer binary pass rates from aggregate scores.

The earlier Harness or Model? preprint provides a useful counterweight. Its two principal paired comparisons had intervals covering zero; the effect varied across repository and contest tasks. The authors themselves note the need to replicate a post-hoc partition. This is not an evaluation of Pax. It explains why a small overall lead should not be treated as a stable causal result for a new product.

A defensible organization-level test has two tracks. In track A, hold the model, repository, task, reasoning budget, access, time cap and evaluator as constant as feasible. This approximates a controlled harness comparison. In track B, allow each system to use its normal recommended configuration. This better represents the actual adoption experience. Declare the two tracks before running them; there is no need to force their rankings to agree.

Record the repository revision, exact model identity, tool version, environment digest, access restrictions, budget, output, changed files, termination reason and test results. Use repeated paired tasks and report uncertainty on paired differences. Keep unsuccessful attempts; never permit the agent under test to rewrite its own evaluator. A task can have a passing patch at the time limit, or a confident completion message without a passing patch. The two cases belong to different failure classes. Anthropic’s agent evaluation research offers a complementary distinction between execution traces and evaluated outcomes.

Rather than spending heavily to duplicate a vendor leaderboard immediately, this research produced a compact audit of three fixed wheel artifacts and the public data. Twelve checks passed: eight distribution and source-structure checks, three quantitative checks and one explicitly hypothetical cost illustration. These are not twelve successful runs of Pax.

8. Code mode and execution overhead

Tool-heavy agents can spend repeated model round trips on intermediate results that never needed to enter the conversation. Pydantic’s code mode uses Monty’s restricted Python environment to coordinate tool operations and return selected results. This may reduce coordination overhead.

A repository search and related file reads can be grouped into controlled inspection. Editing a file or initiating an external write changes the risk category. Interpreter restrictions do not secure a tool with excessive authority.

Measure model calls, input size, caching, execution time, tool results, acceptance outcomes and policy violations. A cheaper run is not necessarily more efficient if essential tests or approvals were skipped.

9. Workspace abstraction and execution boundaries

Pydantic’s workspace documentation describes a common interface for files and commands. It offers a way to change execution environments while keeping application tools conceptually similar. This separation reduces environment-specific integration work but does not, by itself, create isolation.

If a custom tool accesses the host directly instead of using the workspace contract, selecting a sandbox may not constrain that tool. Data synchronization is another issue: even an isolated environment can receive unnecessary files, local modifications or configurations. An adoption checklist should specify writable and read-only locations, allowed network access, the execution identity, which inputs are synchronized, and what happens when the workspace is discarded. Remote execution also needs a clear data retention and deletion policy.

Some of the remote providers described in the release route authenticated repository requests through a proxy rather than placing the corresponding authentication material inside the sandbox. This reduces one exposure path; it does not prove least privilege. The proxy’s authorization scope, auditability and revocation behavior still matter.

Streaming and speculation introduce an additional distinction. A static read may be safe to start ahead of the final tool request, while a state-changing action must wait for complete, validated arguments and authorization. Even a nominally read-only external query may disclose data, consume quota or observe a different state when run early. Reusing a result from before a file was modified can make later reasoning incorrect. Measuring seconds saved without examining stale reads, abandoned calls and rework would reward latency rather than reliable delivery.

10. Security and durability are separate questions

The default local Pax configuration does not introduce additional isolation or approval prompts. Open source does not establish safe operation. Pydantic’s permissions reference distinguishes matching command patterns from a real isolation boundary.

Likewise, the presence of configurable security features in Codex and Claude Code does not prove that every tool or configuration is protected.

Start with a disposable repository and restricted access. Treat plugins, repository instructions and MCP responses as untrusted inputs, not sources of permission. Require separate review before external effects. Related XBSTACK resources include MCP tool poisoning and agent security.

Pydantic also distinguished SDK durability from Pax’s current capabilities in its announcement. Saving conversation history does not establish crash-safe recovery. A reliable task system needs persistent operation identities, reconciliation of uncertain effects and appropriate renewed authorization.

Trusting data is not the same as authorizing actions

The v2.75.0 release notes document a compatibility change relevant to repository context, skills and memory: lower-authority workspace content should not automatically become higher-authority instructions. This is a concrete prompt-injection boundary.

An agent working on someone else’s repository may legitimately read project documentation, dependency descriptions and examples. Those materials can explain the task, but they cannot establish new authority over the host or external systems. Folder trust, permission to use tools and approval for a particular consequential action are three different decisions. Even if the model recognizes the provenance of a message, the application must independently enforce its tool policy.

The public security advisories provide a way to monitor affected versions and repairs. Their existence should not be used as a simple ranking of product safety, and a new release is not proof that every issue has been resolved. Open source makes inspection possible; operational safety requires evidence from the configuration in use.

ScenarioAppropriate controlRequired evidence
Untrusted repository instructionsProvenance and non-escalation of authorityHost denies unauthorized actions
Changed plugin or skillPinned reviewed origin and versionLoaded components and permissions
Tool accesses an unrelated resourceNarrow identity and resource scopeActual refusal of protected access
Unnecessary data enters a sandboxSynchronization allowlist and egress policyObservable transfer and access boundaries
Delegated workScoped authorization and budgetNo unintended child effects
Interrupted actionDurable identity and reconciliationVerified external state

This is a proposed control matrix, not a statement that Pax passed these scenarios. It is especially important to keep the distinction when a product exposes both local and hosted environments.

The Pax user guide describes automatic loading of project environment configuration, repository trust and local session storage. Marking a folder untrusted does not by itself prevent file access or execution; it changes how repository material is presented to the model. Test in an empty disposable directory first, inspect the loaded components and data destinations, and verify organizational data-handling requirements before opening a production repository. Local execution does not mean inference data remains local.

The Coder documentation also separates autonomy guidance from enforced permissions. Asking the model to plan first is not a tool-level denial of writes, and requesting task completion is not blanket permission for external effects. An assessment must inspect actual accepted and rejected calls. Recheck authorization when a task is interrupted, resumed or delegated.

11. Conversation recovery, step persistence and durable execution

Trust, least privilege and a recovery state machine for ambiguous outcomes

GPT explanatory illustration; factual and experimental claims are grounded in the article and underlying records.

The Step Persistence documentation describes recovery boundaries at stored steps, while Durable Execution covers execution engines. A stored conversation supports reconstructing context. A checkpoint can recover progress at a defined boundary. A durable engine may recover interrupted operations. None by itself proves that a remote service performed an action exactly once.

A useful business state machine is PLANNED, AUTHORIZED, DISPATCHED, CONFIRMED and ACCEPTED. When a connection fails after dispatch, record UNKNOWN and reconcile against the external system. A retry should occur only after the state and authorization justify it. This is independent of which model or interface continues the work.

For a software release, successful compilation, committed source, initiated deployment, public version verification and final acceptance are separate milestones. A timeout after deployment starts does not prove the public version stayed unchanged. On restart, the agent must inspect the actual release and its receipts rather than blindly repeat the entire process. The distinction is particularly relevant because the launch announcement excludes durable execution from Pax at that time, even while the SDK supports it for applications. Choosing a terminal client does not automatically produce a business execution platform.

12. How to evaluate Pax

The official documentation offers temporary execution through uvx and persistent installation through uv. Check the package version, provenance and command path first; macOS has an unrelated system utility with the same short name. Our subsequent pinned installation and CLI startup are documented in section 13.

Keep the established coding workflow while testing alternatives in isolation. Teams building Python-based agents may benefit from evaluating the SDK independently of the terminal.

Four initial task families can help:

Proposed testAcceptance criterion
Repository question answeringVerifiable references; no unwanted edits
Small bug fixCorrect patch; independent tests pass
Approval-sensitive actionNo unapproved external effect
Interrupted runConsistent state; no duplicate operation or false completion

Control repository revision, model, reasoning configuration, budget, authorization and environment. Repeat runs, retain failures and grade independently. Offline fixtures can demonstrate control behavior, not establish comparative coding intelligence.

These tests are proposals, not completed experiments.

13. Independent evidence and a staged adoption plan

Measured M1 Pro ten-step synthetic tool-chain median times with injected delays

GPT explanatory illustration; medians of total elapsed time for the ten-step synthetic chain, five measurements per condition. The horizontal axis is injected delay per scripted model request; no hosted model inference.

The initial static audit ran without installing or importing downloaded packages; the second phase used a disposable installation for actual runtime tests. The first attempt encountered a TLS handshake error. A second run using the local Python 3.11 environment passed while preserving certificate validation. Docker was not available on the local machine, so we did not run the third-party agent in the website workspace. This limitation concerns our test environment, not a claim that Pax fails to run.

Check familyCountResultWhat it establishes
Release integrity, dependencies, entry points and source structure88/8Inspectable implementation evidence
Eight-model matrix, frontier and sensitivity33/3Reproducible arithmetic
Hypothetical rework-cost inversion11/1Direct model expense is not total validated-task cost
Pinned Pax installation and CLI startup2PassedPackage installation and help command
Harness scripted-model timing runs6060/60Real local runtime, not model inference
Commercial-model coding and independent SWE810Not runNo independent model ranking

The illustrative cost case assumes A spends ten arbitrary units directly and fifty on rework, with six accepted tasks. B spends twenty directly and ten on rework, with eight accepted tasks. The effective costs are ten and 3.75 per accepted task. These are invented scenario inputs, not measurements or actual product prices. They demonstrate why a cheaper inference run might still be a worse organizational decision.

XBSTACK runtime measurement: Code Mode on an M1 Pro

On November 27, 2026, XBSTACK used an Apple M1 Pro with ten CPU cores, 16 GiB unified memory, macOS 27.0.1 arm64, Python 3.11.15, Pax 0.75.0, Harness 0.75.0, Core 2.75.0 and Monty 1.7.0. The disposable environment accepted wheel dependencies only. The host sandbox denied home-directory reads and limited writes to the temporary directory; during runtime it denied networking, and a local socket bind was rejected. The temporary environment was removed. The Pax CLI help command returned exit code zero. This verifies startup, not an interactive coding session.

The timing test executed the installed Pydantic AI, CodeMode and Monty using the documented FunctionModel testing interface with provider requests disabled. Native mode emitted one predetermined tool call per scripted model request. Code Mode ran a loop in one run_code request, passing each increment result to the next step; a scripted completion response followed. Assertions verified the tool-call sequence, count and completion marker. Each configuration had one warm-up and five timed repetitions, for 12 configurations, 60 timed runs and 12 warm-ups. Fixed delays were artificially injected into each model response, not measured API latency or inference speed.

Tool stepsInjected delay per requestNative median (ms)Code Mode median (ms)Scripted requests (native/code)
30 ms6.7622.444 / 2
100 ms15.3725.4311 / 2
325 ms131.3581.674 / 2
1025 ms365.3592.1011 / 2
3100 ms436.72270.194 / 2
10100 ms1211.23270.5211 / 2

All 60 timed runs satisfied the fixture assertions. At ten steps, median elapsed time decreased by about 74.8% with 25 ms injected delays and 77.7% with 100 ms delays. With zero injected delay, Code Mode was slower. These are measured runtime timings for a scripted fixture, not GPT, Claude, Kimi or MiniMax inference timings. Native mode deliberately uses one request per step; real models can batch independent calls, so the results cannot be generalized to all tasks. Peak RSS was about 186.6 MiB (195690496 bytes) for the experimental Python process alone, excluding aggregate child-process memory and not representing a full interactive Pax session. The first Code Mode attempt failed because the test omitted await; the fixture was corrected before measuring the reported run. The original timing records and reproduction scripts are public; follow the README isolation and dependency constraints when rerunning them.

For context, Pydantic’s separate 5,276-run Code Mode study used eight actual models across five small applications and deterministic graders. It reported clear reductions in long-task cost and elapsed time, with overhead on some small tasks. Its earlier package versions, eager execution configuration and task set differ from ours; the benchmark code was not public, and it is not an independent Pax replication. The publisher also observed that real models can batch calls, suggesting that reduced context volume matters as well as round-trip count. Our fixture establishes a narrower mechanism: fewer scripted requests can reduce elapsed time for a prescribed dependent sequence with meaningful request wait. It does not establish the probability of generating a correct sequence.

Eight-model budget scenario and hardware boundaries

The SWE81 models were evaluated through the publisher’s model services; server GPU, memory, scheduling and batching details are not fully disclosed. It would be incorrect to claim that these eight models ran on our M1 Pro or invent hardware-specific token throughput and time to first token. Instead, assume the same model service, task mix and mean task-run cost reported in section 7, with 100 attempted tasks and no added retries, human labor or infrastructure. Multiplying each reported mean by 100 yields an illustrative budget, not a price quotation, bill or new benchmark.

Hosted modelPax (100 tasks, USD)pi (100 tasks, USD)Reported native-client comparator (USD)
GPT-6 Luna7757Codex 104
GPT-6.1 Terra497397Codex 636
Claude Haiku 5.5146120Claude Code 137
Claude Sonnet 5.5790654Claude Code 686
MiniMax M3.1 Flash167140Codex 185; Claude Code 295
Kimi K3.1 Pro1092944Codex 1442; Claude Code 1140
GPT-6.2 Sol921769Codex 2105
Claude Opus 5.524612096Claude Code 2510

This inherits the publisher’s cost conventions. Different subscriptions, caches, routes and task distributions can produce different prices and outcomes. One hundred attempted tasks do not mean one hundred successful tasks. Distinguish the following hardware scenarios:

HardwareSuitable evaluationEvidence
M1 Pro, 16 GiBLocal harness orchestration, hosted-model client and offline mockOur 60 timed tool-chain runs; no hosted inference
Hypothetical x86-64 development machine, 32 GiBEquivalent hosted client and isolated test environmentNot measured; M1 timing and RSS do not transfer
Hypothetical workstation, 24 GiB GPU and 64 GiB RAMSelf-hosting obtainable weights, quantization and context testsNot measured; unavailable weights cannot be assumed deployable

For a dense model, the theoretical storage floor for 4-bit weights is parameter count multiplied by 0.5 byte: approximately 3.5 GB at 7B, 7 GB at 14B, 16 GB at 32B and 35 GB at 70B. Quantization metadata, KV cache, activation and runtime allocations, concurrency and OS headroom must be added. For mixture-of-experts architectures, active parameter count is not the total resident weight count. These are theoretical capacity figures, not measured memory or throughput, and do not assert parameter sizes for the eight hosted models. Real hardware-specific results require authorized model weights or endpoints and a controlled, documented runtime benchmark.

For enterprise adoption, move through explicit evidence gates.

StageMinimum evidenceStop condition
0. Artifact reviewPinned versions, dependencies and declared capabilitiesUnexplained provenance or compatibility
1. Isolated offline testCLI, mock model and tool-permission checksUnexpected filesystem or network access
2. Paired pilotRepeated task outcomes, costs and latencyCritical regression or unauthorized effect
3. Non-production integrationRecovery, logs, rollback and exit strategyAmbiguous external effects cannot be reconciled
4. Limited production useOwner authorization, service objectives and independent acceptanceGovernance or privacy requirements cannot be met

This study reaches stage 0 and partially covers stage 1: CLI startup, scripted models and tool-chain execution passed. Further work must cover repository reads and edits, refusal of out-of-scope requests, compaction, transcript import, model fallback, interrupted steps and reconciliation. Retain machine-readable inputs and outputs rather than replacing unexecuted tests with confidence statements. Where an actual model is required, set an explicit budget and test in a non-production workspace.

There is also a migration cost not visible in the benchmark. A team must translate project instructions, plugin policy, conversation retention, provider configuration and organizational approvals. It must retrain developers and maintain integrations after API changes. On the other hand, a well-separated task contract can reduce future switching costs. Estimate the total cost of transition and of operating both systems during a pilot before counting theoretical savings.

14. Is the harness an AI operating system?

Calling the harness an operating system is an appealing analogy with important limits. An operating system offers relatively deterministic primitives for processes, memory, files and scheduling. An agent harness coordinates probabilistic model behavior with real execution. Similar coordination responsibilities do not imply kernel-level isolation, transactional guarantees or deterministic correctness.

A more precise analogy is a combination of application runtime and business middleware. The model proposes an action; the runtime provides execution and resources; the business system retains the authoritative record and policy. Middleware can remove duplicated engineering work, but an agent runtime must handle uncertainty about intent, changing model behavior and finite context.

One useful design separates three planes. The data plane carries model requests, tool results and application data. The control plane handles authorization, scheduling, budgets, tool selection and cancellation. The evidence plane records state changes, provenance, independent evaluation and rollback. A platform earns infrastructure status when these planes can be integrated and replaced without silently weakening their guarantees, not simply when it has the most extensions.

This direction is not exclusive to Pydantic. OpenAI’s harness engineering case emphasizes repositories that agents can inspect and independently validate. Anthropic’s long-running harness research emphasizes structured planning, generation and evaluation. Its Managed Agents architecture distinguishes sessions, harnesses and sandboxes. Native model vendors are investing in the same execution layer.

There are competing possibilities. As model interfaces become more interchangeable, open components may give adopters more choice. As models specialize in native tools and training-time environments, model-runtime coupling may instead become more valuable. The question is not answered by token prices alone. Measure the cost of preserving task semantics, authorization, state and acceptance when components change.

15. The future of agent harnesses

The launch offers evidence of an architectural direction, not a guaranteed market outcome.

First, model selection and execution tooling may become more separable. Better interoperability could encourage competition on accepted-task costs and reliability. Native platforms retain advantages in provider-specific features, infrastructure and product experience.

Second, reusable execution components may become more important to application frameworks. Workspaces, state management, authorization and observability could become replaceable infrastructure. Maintaining compatible abstractions across changing providers will also cost engineering effort. The announced 1.0 plan is not an achieved stability guarantee.

Third, applications may retain more control over authorization and acceptance instead of treating the model’s success statement as sufficient evidence. The valuable outcome is permitted, independently verified work.

In the next one to four weeks, watch API stability, permission behavior, complete benchmark methodology and independent reruns. Over six to twenty-four months, look for evidence that teams can migrate across models without losing state or authorization and sustain lower costs per accepted task. If interfaces remain unstable, safety controls are hard to deploy, or native platforms match the flexibility with stronger integration, Pax’s differentiation could diminish.

16. Commercial competition and three falsifiable scenarios

Five adoption stages and three conditional industry scenarios

GPT explanatory illustration; factual and experimental claims are grounded in the article and underlying records.

Pydantic can attract teams seeking independently assembled execution infrastructure; OpenAI and Anthropic benefit from integration among models, native tools, applications and developer distribution. Open-model suppliers may benefit when a common client makes model-specific advantages easier to access. None of these observations establishes a winner.

ScenarioPossible outcomeEvidence to monitor
Open components standardizeTeams combine models and capabilities across productsTask state and policy move across implementations without regression
Native platforms integrate more tightlyModels and harnesses improve togetherPersistent native advantages on controlled and realistic evaluations
Vertical specializationGeneric runtimes support application-specific governanceDomain-specific recovery and acceptance replace a universal leaderboard

Over three to six months, look for actual delivery of the 1.0 compatibility policy, raw benchmark methodology and repeated trials, product-level durable execution, and improved permission defaults. Treat dates and feature announcements as hypotheses until releases and evidence exist. Over one to two years, measure integration effort, portable contracts, developer throughput, rework and costs on stable task suites. Further out, evidence and acceptance may become an important part of execution infrastructure. Yet native platforms may reproduce equivalent component interfaces while providing stronger integrated economics, limiting independent SDK differentiation.

Individuals do not need to predict the final market winner. Store the code, tests, requirements and task state in systems that remain under their control rather than binding all assets to a chat transcript. Teams can replace one layer at a time and evaluate the resulting behavior. Organizations should define approval responsibilities and verifiable completion independently of whichever model produces an answer. That is a useful architectural decision whether Pax eventually leads the market or remains a specialized alternative.

Conclusion

Pax is an interesting terminal coding agent and an example of a composable execution architecture. Early evidence supports competitiveness in specific configurations, not general superiority over Codex or Claude Code.

The better selection criterion is whether the system produces independently verifiable results within real operating boundaries. Preserve proven workflows and evaluate alternatives against actual tasks before switching.

Research cutoff: November 27, 2026. Forecasts are conditional engineering judgments. XBSTACK completed isolated Pax installation and CLI startup and measured the installed Harness with a scripted model; no paid model calls, penetration tests or independent vendor benchmark reruns were performed. This is architecture research with limited local runtime evidence, not a full coding-performance review.

Topic path / AI Agents

Continue from one agent pattern to the complete production system

The AI Agent hub organizes architecture, memory, tool use, evaluation, security, deployment and multi-agent coordination into a single learning path.

Next step: continue the Agent system

Full decision path →

Choose the next architecture, tool, memory, evaluation, security, or production decision instead of starting over.

Verify behavior and observabilityWhy Do AI Agents Fail? Fix the Agent Harness or Upgrade the Model?Why do AI agents fail at multi-step tasks, make bad tool calls or falsely report completion? Examine the IBM same-model harness study, contrasting research and a five-case mock-control replay to decide what to optimize.Harden permissions and securityIs MCP Safe? Tool Poisoning, API Key Risks, and Practical DefensesCan MCP servers expose API keys? Learn how tool poisoning works, how to review changed tools and scan findings, and how to stop unauthorized actions.Continue with tool and protocol boundariesChatGPT Chat vs Work: What’s the Difference? When to Use CodexChatGPT Work vs Codex: compare Chat, Work, and Codex by task boundary, then check the latest Cloud Work, Local Chat, Mobile Remote, and Voice behavior.
Comments & evidence

DISCUSSION

Questions, verification and corrections

Sign in to comment. Every new comment is reviewed before publication; while pending, it is visible only to you and the administrator.

Sign-in required Reviewed before public
Loading the discussion…