← Back to news
Pax: A Modular Terminal Agent, With Humans Still Owning the Changes

Photo: Sebastiaan ter Burg / Wikimedia Commons — CC BY 2.0 (https://creativecommons.org/licenses/by/2.0/), Wikimedia Hackathon 2013; illustrative photo, not the product

28/11/2026

Pax: A Modular Terminal Agent, With Humans Still Owning the Changes

Pax: a terminal coding agent you can adapt, not just configure

Pydantic announced Pax alongside the public beta of its AI Harness on November 25. For a senior engineer, the interesting part is not another terminal chat interface. It is the separation between an agent, the machinery that makes it useful on a repository, and the interface through which a developer supervises it. Pax can run its stock coding agent or an agent defined in your own Python code. That opens a practical route from an internal engineering experiment to a repeatable team workflow.

The opportunity comes with an unusually important warning: the documentation says Pax runs commands and edits files with your user permissions, without a sandbox or approval step by default. Modularity is not a security boundary. My recommendation is therefore a bounded pilot: a disposable checkout, explicit credentials, a narrow task and independent verification. This guide is based on the official announcement, documentation and package metadata, not on a hands-on performance benchmark or a claim that we deployed Pax in production.

What the four layers actually do

Pydantic AI supplies the agent framework: models, tools, structured outputs and the execution loop. The Harness adds reusable capabilities around that loop, including workspaces, file and shell tools, context handling and recovery. Coder is a ready-made coding capability within that ecosystem. Pax is the terminal application in front of it. Installing Pax brings the supporting layers; you do not have to assemble an SDK project before trying the coding interface.

This distinction matters when choosing what to adopt. A team wanting help investigating a Python service can start with Pax. A team already building an internal agent may care more about the Harness and use Pax only as an interactive test interface. Neither choice requires replacing the team's IDE, CI platform or review process. Keep those responsibilities separate: an effective implementation assistant is not automatically a release system, a policy engine or an authorization service.

Install it as a tool, not a production dependency

The current package metadata requires Python 3.11 or newer. The documented installation route is uv tool install pydantic-ai-pax; a temporary trial uses uvx pydantic-ai-pax. These are developer-tool commands, not a reason to add the agent to an application's runtime requirements. At verification time, PyPI reported version 0.77.0. For a team evaluation, record the exact installed version and its dependency environment instead of assuming the November announcement and today's package are identical.

The executable names are pax and pydantic-ai-pax. On macOS, an unrelated archive utility already uses the short name, so the longer command avoids ambiguity. Find the maintained documentation at the official Pax documentation, package downloads on PyPI, and implementation and issue tracking in the official repository. Because this is beta software, pin a version for a shared experiment and review changes before updating.

Prepare the workspace before the first prompt

Start with a fresh clone containing synthetic fixtures rather than your everyday checkout. Inspect repository instructions, project configuration and parent directories first. The documentation describes loading AGENTS.md or CLAUDE.md instructions and discovering .env files in the launch directory or its parents. A folder that looks harmless can therefore inherit sensitive configuration. Do not launch under a directory tree containing production credentials and assume the agent only sees tracked source files.

Give the session no deployment credentials, no unrestricted cloud identity and no automatic merge permission. Use the minimum provider credential needed for the experiment, with your organization's approved data handling. A worktree separates changes from your active branch but still shares repository infrastructure; it is not isolation from your home directory or network. For untrusted code, use a deliberately configured sandbox or a disposable environment with independently enforced filesystem and network boundaries.

Authenticate deliberately and make the task measurable

Pax supports provider API keys and documented sign-in flows including /login openai-codex and /login github-copilot. Use /model to inspect or select a model. Check account entitlement, service terms and organizational policy rather than assuming a personal subscription authorizes every professional use. Model availability and extras vary by provider. Keep credentials out of prompts and source-controlled settings, and remember that generated traces and conversation history may contain repository content.

A useful first request is: “Explain how an incoming request becomes a database call. Cite the relevant files and symbols. Do not edit files or execute commands; list uncertainties separately.” This instruction limits the task but does not enforce a security boundary. Verify the cited path yourself. Define success as a checked navigation map, not a fluent explanation. Only then graduate to an edit with a testable acceptance criterion.

Use case one: navigate an unfamiliar repository

Repository orientation is a strong starting point because it reduces search overhead without requiring immediate writes. Ask for entry points, public interfaces, ownership boundaries, test locations and the configuration values controlling a behavior. For a timeout issue, have Pax trace the timeout from environment configuration through the HTTP client to the caller. Require references to actual symbols and distinguish an inferred relationship from a relationship demonstrated by code.

The output should be a compact engineering map: where the behavior begins, which module owns it, where a focused test belongs and which questions remain unresolved. Check a sample of the references against the current commit. Reject invented interfaces even if the proposed architecture sounds reasonable. The productivity gain is faster orientation and a better starting hypothesis, not permission to skip understanding the subsystem you are about to change.

Use case two: reproduce a bug before fixing it

Give the agent a sanitized symptom, a minimal failing input and the existing test conventions. Ask it to write one regression test first, explain the expected failure and run only the relevant test command in the approved environment. An example is a parser that accepts a malformed identifier only when whitespace appears at the end. State which behavior is contractual and which detail is incidental; otherwise an agent can “fix” the problem by changing the expected result.

Once the failure is reproduced, request the smallest implementation change that makes the test pass without broad cleanup. Ask for the exact commands, exit status and remaining uncertainty. Independently rerun the regression test and neighboring tests. A green result from a different environment or a mocked-out code path is weak evidence. The human still decides whether the observed behavior is a defect and whether the compatibility change is acceptable.

Use case three: make a constrained refactor

Good refactoring tasks have stable interfaces and a narrow scope: remove duplicated request validation, extract a pure transformation or replace repeated error handling with an existing helper. Specify the public functions that must not change, files that may be edited and dependencies that must remain untouched. Ask for a short plan before implementation, then review whether the plan actually preserves the behavioral contract rather than merely reducing line count.

For example: “Extract the repeated payload normalization in these three handlers. Preserve accepted inputs, error messages and response status codes. Do not change dependency versions.” Inspect the diff for unrelated formatting, deleted tests and accidental API changes. Run static checks and relevant integration tests outside the agent's narrative. The gain comes from delegating repetitive implementation mechanics while retaining architectural judgment and compatibility review.

Use case four: turn a flaky failure into an investigation

For intermittent CI failures, start with redacted logs, test identifiers and a known time window. Ask Pax to separate evidence from hypotheses: shared mutable state, an unawaited operation, an external dependency or nondeterministic ordering. Request a reproducibility plan and a controlled experiment before a patch. An agent that immediately adds a sleep or retries everything may hide the symptom while increasing suite duration and leaving the race intact.

A useful result includes the suspected interaction, a small experiment, the actual observed outcome and a proposed next step. Require explicit disclosure if the environment cannot reproduce the failure. Keep stress loops bounded and avoid connecting an exploratory session to real customer services. Productivity here is shorter hypothesis formation and more disciplined experiments, not a promise that a terminal agent can diagnose every distributed timing problem.

Use case five: prepare a review, without manufacturing certainty

Pax can help prepare a change summary, identify altered interfaces and suggest tests missing from a patch. Ask it to inspect the actual diff and explain potential consequences in concrete terms: a changed authorization branch, a broader exception handler or a dependency introduced only for a small helper. Keep source references short and actionable. “Possible null handling issue at this call site” is more useful than a generic security checklist.

Do not treat an agent reviewing its own patch as independent assurance. It can repeat the assumptions that produced the original mistake. A second model can add another perspective, but independence comes primarily from different evidence: tests, static analysis, runtime observations and a human reviewer who understands the contract. Let the agent prepare the review package; leave approval, merge rights and production deployment outside its authority.

Bring your own agent, and notice what disappears

The distinctive integration is pax --agent my_module:agent. According to the documentation, Pax loads that Pydantic AI agent with its own model, tools and instructions, without loading Pax's normal plugins. This makes it possible to interactively exercise an internal reviewer or documentation assistant rather than rebuilding a throwaway terminal interface. The Python import must resolve in the environment where the tool runs, so document how your module and its dependencies become available.

The absence of default plugins is also a governance trap. A logging, policy or permission mechanism you used in the stock configuration must not be assumed to accompany a custom agent. Inventory exactly which tools are registered and what permissions they carry. Treat the terminal configuration and service deployment as separate environments even if both import the same agent object: credentials, filesystem access, concurrency and observability can still differ.

Plugins are executable dependencies

Pax's plugin architecture can extend tools, menus and integrations without forking the application. That is useful for a team-specific documentation lookup or a narrow issue-tracker adapter. It is also a supply-chain decision: the official documentation explicitly warns that plugins are Python code running as you. A friendly plugin description does not reduce the privileges of its import-time code or its dependencies.

Use an approved source, review implementation and dependencies, and record the revision used in your experiment. Start with read-only integrations and explicit scopes rather than broad tokens. If you add MCP access, examine what each server can do and how its outputs reach the model. Untrusted tool output and repository text can attempt to influence the agent. Do not mistake a prompt telling it to ignore malicious instructions for an independently enforced access policy.

Sandboxing and approvals solve different problems

The documentation describes local and hosted sandbox options selected through /sandbox. These move work into a different execution environment; they do not certify the generated code. The launch article also describes credential proxying on certain providers, not every provider. Verify the chosen provider's actual filesystem, network, credential and retention behavior. Confirm which SDK extras, local runtime or remote account are required before offering a setup command to the team.

The current reference documents /permissions read-only as asking before writes and commands, rather than an immutable read-only operating-system boundary. This can be helpful for interactive supervision, but does not replace isolation. Likewise, a Git worktree prevents some branch interference but not credential exposure. Combine bounded credentials, external resource controls and human review; do not stack three interface features and call the result a security guarantee.

Sessions preserve context, not truth

Saved sessions and resume support can reduce the cost of re-establishing context after an interruption. Worktree support can help keep experiments separate. Use a session for one bounded engineering objective, and record the commit, environment and last verified result before pausing. On resumption, ask the agent to check whether the branch, tests and assumptions still match what it remembers.

A conversation is not a source of authority. The checkout may have changed, a dependency may have moved or a previous command may never have completed. Long histories can also preserve secrets and obsolete reasoning. Apply a retention policy to session data and exclude sensitive inputs in the first place. The useful artifact is a reproducible patch and verification record, not a long transcript that nobody can audit efficiently.

Measure accepted work rather than generated activity

The launch announcement reports favorable benchmark results but describes single runs and further methodology to come. That is a reason to investigate, not a transferable productivity guarantee. Your codebase, model, test suite and review burden will determine the result. Do not convert a benchmark ranking into a claimed percentage improvement for your team, and do not compare provider costs without accounting for model settings and failed attempts.

Evaluate several representative tasks against your existing workflow. Record elapsed time to a reviewed result, human review time, test quality, model cost, rework and escaped defects. Include failed attempts. A long agent run that produces an oversized patch may be worse than a short manual fix. A repository map that saves repeated searches may be valuable even if no code is generated. The metric is verified engineering progress per unit of attention.

A practical adoption gate

For an initial pilot, choose three tasks: explain one unfamiliar execution path, fix one reproducible defect and complete one small behavior-preserving refactor. Require source references, a bounded diff and independently rerun checks. Agree in advance on stop conditions: unexpected network access, secret discovery, scope expansion or unverifiable claims. If a task needs sensitive access, redesign it or move it into a properly reviewed environment rather than escalating permissions casually.

Pax deserves attention because its modular design lets engineers inspect and adapt the workflow around the model, especially when they already use Pydantic AI. Its limitations are equally clear: beta interfaces can move, plugins execute code, local defaults are permissive and generated changes still need evidence. Adopt it where it reduces navigation and implementation friction. Keep scope, trust, acceptance criteria and release authority with the humans accountable for the software.