Head to head · Agent harnesses · October 2026 research run
OpenAI Agents API vs Pax
OpenAI Agents API scores 75.2 (BB) on agent readiness against Pax's 72.2 (BB), and leads in 5 of 7 scored categories. Pax leads on payments & pricing. Both do agent harnesses.
Best agent harnesses and coding agents · All 2017 harnesses comparisons
Which one, for what
Best for Teams that want OpenAI to run the agent loop, with sandboxes, MCP tools and subagents, and are fine with a beta API, US-only data residency and no Zero Data Retention.
Ahead on
- Schema & documentation, 88 against 76
- Agent ergonomics, 80 against 75
- Security & auth, 87 against 59
- Transparency & trust, 85 against 78
Also in its favour
- A hosted endpoint, with nothing to install
Watch for
Public beta since 10 September 2026 behind the agents=v1 beta header, with no GA date
Pax BB
Best for A developer who wants a terminal coding agent on any model, or a terminal front end for their own Pydantic AI agent (pax --agent).
Ahead on
- Payments & pricing, 90 against 45
Also in its favour
- No key needed to call it
- Open source
Watch for
The default full mode runs every command and file write without asking, and file tools reach paths outside the project
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Payments & pricing Pax +45
OpenAI Agents API 45
No machine payment protocol (0). Model, tool and container prices published without a login, and no fee for the API itself (20). The Free tier reading of the openai-api listing, half (10). Sign-up in a browser (0). 0 + 20 + 10 + 0 = 30. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 30 is 45.
Pax 90
Self-hosted rule. No payment protocol (0). A free MIT package with nothing to buy from Pydantic, so the pricing, free-tier and onboarding lines take 30 each. An agent can install it with uvx pydantic-ai-pax and run it against a self-hosted vLLM server or with a provider key, with no Pydantic account. 0+30+30+30 = 90.
Security & auth OpenAI Agents API +28
OpenAI Agents API 87
Project keys with restricted per-endpoint permissions, service accounts and workload identity, per the openai-api listing; we didn't confirm a key can be limited to /v1/agents (27 of 30). Automatic review for approvals, a sandbox network restricted to a host allowlist, vaults for secrets and a sandbox security guide (17 of 20). The agent reads web pages, MCP results and browser content; the sandbox security guide and approval flow are the mitigations, with no prompt-injection guide of its own found (8 of 15). Tracing, observability and usage per session and admin audit logs (15). SOC 2 Type 2, ISO 27001 family, Bugcrowd bounty and a disclosure policy, per the openai-api listing (20). Not ZDR-eligible and US residency only, recorded under transparency. 27 + 17 + 8 + 15 + 20 = 87.
Pax 59
Harness reading of the framework checklist, five lines, as for the other harnesses. The default-on observability plugin exports only when a Logfire token or OTLP exporter is configured, including in the environment, leaves prompts, results and files out by default, and tags session roots with the user's email. Pax checks for updates at startup on uv tool installs. Shell commands get Pax's environment minus provider API keys, and saved credentials are encrypted with a keychain key (20 of 30). The default full mode has no approval step and no sandbox, file tools reach paths outside the project, auto and read-only modes hold risky calls, and /sandbox moves a conversation into a local microVM or a cloud sandbox (10 of 20). Folder trust sends an untrusted repository's instruction files to the model as the repository's, and project plugins, hooks and MCP files need approval pinned to their contents, but the Harness's Prompt Injection Defender isn't on by default (9 of 15). Every conversation is saved, and OpenTelemetry spans cover model and tool calls when exported (12 of 15). Valid security.txt and GitHub private reporting for the repository, no advisories for Pax or pydantic-clai2 on OSV, but the threat model handles reports against Pax as bugs while it is unlaunched (8 of 20). 20+10+9+12+8 = 59.
Schema & documentation OpenAI Agents API +12
OpenAI Agents API 88
The reference is linked from the overview and the SDKs carry beta.agents types; we didn't confirm /agents/sessions in OpenAI's public OpenAPI file, so 15 of 25. llms.txt with every Agents API page and Markdown twins (10). The overview, architecture page and the agents guide that compares the Agents API, Agents SDK and Responses API say when to use it (20). Typed configuration with enumerated container sizes, network modes and environment types (13 of 15). Examples in six languages and an errors page with codes per HTTP status, turn and session (15). Dated changelog entries and a versioned beta header (15). 15 + 10 + 20 + 13 + 15 + 15 = 88.
Pax 76
Harness reading, as for opencode and mistral-vibe-cli. Settings are a typed table with defaults, the plugin API is Python, and read_pax_docs serves Pax's own docs to the agent, but there's no JSON schema for the config and no structured output for headless runs (12 of 25). pydantic.dev's llms.txt indexes the Pax overview with a Markdown twin (10). The four-layer table says when to start with Pax, Coder, the Harness or Pydantic AI, and the reference warns that file tools reach outside the workspace and that command patterns are not a sandbox (17 of 20). Permission modes, update channels and plugin settings are named values with stated defaults (11 of 15). Examples for every command, and headless errors go to stderr with a nonzero status, but only Ctrl+C's 130 is a documented code (11 of 15). Pax entries in the shared changelog at pydantic.dev/docs/ai/project/changelog/ and GitHub releases (15). 12+10+17+11+11+15 = 76.
Transparency & trust OpenAI Agents API +7
OpenAI Agents API 85
Closed service with clear terms, Apache-2.0 SDKs (15). Session state retained until deleted, deletable sessions and artifacts, not ZDR-eligible, US residency only, and the data-controls guide agrees; no retention period for artifacts after a sandbox expires (25 of 30). Dated deprecation notices with minimum periods for GA models; a beta API can change faster (15 of 20). Subprocessors and processing countries listed, per the openai-api listing (20). 15 + 25 + 15 + 20 = 75.
Pax 78
MIT, with third-party notices in the package (30). The README says where settings, sessions, plugins and credentials live and how credentials are encrypted. Pydantic's privacy policy covers its hosted services, and Pax's data goes to the model provider the user picks and to a telemetry destination only when one is configured (20 of 30). The pydantic-clai2 rename keeps old commands with a deprecation note and says the shim will stop being released in a future version, without a date, and the logfire plugin rename carried settings over (10 of 20). The telemetry section documents what is sent, the email tag and /plugins disable observability (17 of 20). 30+20+10+17 = 77.
Agent ergonomics OpenAI Agents API +5
OpenAI Agents API 80
Read as an API an agent drives. Context is compacted automatically, and session budgets and streamed events keep output sized (20 of 25). Sessions can be listed, continued and steered, events streamed or sent by webhook, artifacts fetched (15 of 20). Actionable error codes with recovery steps (20). No idempotency key; a documented check-then-retry procedure (10 of 20). One session call with defaults (medium sandbox, network enabled), SDKs in five languages (15). 20 + 15 + 20 + 10 + 15 = 80.
Pax 75
Harness reading, scored on what an agent or pipeline driving Pax supplies. Coder's six tools plus delegate_task, plugins switch off from a menu, and MCP servers load on demand by default so their tools stay out of prompts (22 of 25). --request-limit N bounds model requests and /compact trims context, but the reference says there is no spending cap in Pax (14 of 20). Headless runs exit nonzero with the error on stderr, and plugin load failures abort them, with no catalogue of exit codes (12 of 20). Every turn is saved, --resume, --continue and --fork-session work headless, conversations rewind, and fallback chains move to the next account on a rate limit (18 of 20). One required input for pax -p, but the default model needs a ChatGPT sign-in, output is text only, and Pax is Python only (9 of 15). 22+14+12+18+9 = 75.
Score by category
| Category | Weight | OpenAI Agents API | Pax | Edge |
|---|---|---|---|---|
| Reliability | 16% | 60 | 60 | even |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 88 | 76 | OpenAI Agents API +12 |
| Agent ergonomics | 13% | 80 | 75 | OpenAI Agents API +5 |
| Security & auth | 14% | 87 | 59 | OpenAI Agents API +28 |
| Payments & pricing | 10% | 45 | 90 | Pax +45 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 87 | 83 | OpenAI Agents API +4 |
| Transparency & trust | 7% | 85 | 78 | OpenAI Agents API +7 |
| Negative events | ≤15 | 0 | 0 | |
| Total | BB 75.2/100 | BB 72.2/100 |
Facts side by side
| Fact | OpenAI Agents API | Pax |
|---|---|---|
| Kind | HTTP API | Agent harness |
| Vendor | OpenAI | Pydantic |
| Hosted endpoint | https://api.openai.com/v1/agents/sessions | no (local only) |
| Transports | HTTP | |
| Auth | API key | None |
| Pricing | Pay per use | Free |
| x402 | no | no |
| Licence | Proprietary hosted API under OpenAI's Services Agreement. The SDKs are Apache 2.0 | MIT |
| Read-only variant documented | no | yes |
| llms.txt | yes | yes |
| Last release | 2026-10-16 | 2026-11-27 |
| Terms last updated | couldn't be read | no date given |
| Privacy policy last updated | couldn't be read | 2024-02-21 |
| Customer content may train models | couldn't be read | not found in the text |
| Terms restrict automated access | couldn't be read | not found in the text |
| Terms restrict benchmarking | couldn't be read | yes |
| Terms or service can change without notice | couldn't be read | not found in the text |
| Arbitration or class-action waiver | couldn't be read | yes |
How the scores have moved
Pax
No score change since it was listed.
Verdicts
OpenAI Agents API
OpenAI's hosted agent runtime, the Codex harness behind one session call, with MCP, functions, web search, computer use, subagents and sandboxes on OpenAI or your own infrastructure. Documentation, errors and SDKs are thorough. It's still public beta, can't use Zero Data Retention and keeps data in the United States only.
Pax
Pax puts Pydantic's Coder agent in a terminal with any Pydantic AI model, ChatGPT or Copilot sign-in, saved and forkable sessions, MCP servers loaded on demand and a plugin for every part. By default it runs commands and edits files with no approval step or sandbox, and the vendor still calls it beta.
Before you call either
OpenAI Agents API
- POST https://api.openai.com/v1/agents/sessions with a project key and the header OpenAI-Beta: agents=v1, or use client.beta.agents in the SDKs
- Before retrying, retrieve the session and turn and check which actions completed, since there's no idempotency key
- Set the sandbox network to restricted with an allowlist of up to 100 hosts when the agent doesn't need the open web
- Save files from /workspace/outputs before deleting a session; no retention period is stated for artifacts
- Don't send data that needs Zero Data Retention or non-US residency; the Agents API supports neither
Pax
- Before a headless run, set
pax config set run.permissions autoorread-only. Headless runs deny held calls instead of waiting - Pass
-mwith a model you have a key for. The default model needs a ChatGPT sign-in made beforehand with/login openai-codex - Read the stderr text and the exit status.
pax -pprints only the final answer on stdout, and Ctrl+C exits with 130 - Unset
LOGFIRE_TOKENand OTLP exporter variables, or run/plugins disable observability, if traces must stay on the machine - Use
--request-limit Nto bound a run. Pax has no spending cap of its own
Questions
Which is better for AI agents, OpenAI Agents API or Pax?
OpenAI Agents API scores 75.2 (BB) on agent readiness against Pax's 72.2 (BB), and leads in 5 of 7 scored categories. Pax leads on payments & pricing.
Can an agent call OpenAI Agents API and Pax without installing anything?
OpenAI Agents API has a hosted endpoint at https://api.openai.com/v1/agents/sessions. No hosted endpoint is listed for Pax.
Are OpenAI Agents API and Pax open source?
No open-source release is listed for OpenAI Agents API. Pax is open source (MIT).
Other comparisons with OpenAI Agents API or Pax
- Agent Autoloop vs OpenAI Agents API
- Agent Autoloop vs Pax
- Agent Zero vs OpenAI Agents API
- Agent Zero vs Pax
- AgentRun vs OpenAI Agents API
- AgentRun vs Pax
- Aider vs OpenAI Agents API
- Aider vs Pax
- Amp vs OpenAI Agents API
- Amp vs Pax
- Antigravity CLI vs OpenAI Agents API
- Antigravity CLI vs Pax
- Auggie CLI vs OpenAI Agents API
- Auggie CLI vs Pax
- AXLR vs OpenAI Agents API
- AXLR vs Pax
- boxes.dev vs OpenAI Agents API
- boxes.dev vs Pax
- Claude Code vs OpenAI Agents API
- Claude Code vs Pax
- Click vs OpenAI Agents API
- Click vs Pax
- Cline vs OpenAI Agents API
- Cline vs Pax
- Conductor vs OpenAI Agents API
- Conductor vs Pax
- Crush vs OpenAI Agents API
- Crush vs Pax
- Cursor CLI vs OpenAI Agents API
- Cursor CLI vs Pax
- DeepSeek Harness (dsh) vs OpenAI Agents API
- DeepSeek Harness (dsh) vs Pax
- dsh-superagent (DeepSeek) vs OpenAI Agents API
- dsh-superagent (DeepSeek) vs Pax
- Devin vs OpenAI Agents API
- Devin vs Pax
- Droid CLI vs OpenAI Agents API
- Droid CLI vs Pax
- Pi vs OpenAI Agents API
- Pi vs Pax
- Emdash vs OpenAI Agents API
- Emdash vs Pax
- Friday vs OpenAI Agents API
- Gemini CLI vs OpenAI Agents API
- Gemini CLI vs Pax
- GitHub Copilot CLI vs OpenAI Agents API
- GitHub Copilot CLI vs Pax
- goose vs OpenAI Agents API
- goose vs Pax
- Harness² vs OpenAI Agents API
- Harness² vs Pax
- HarnessRouter vs OpenAI Agents API
- HarnessRouter vs Pax
- Jules vs OpenAI Agents API
- Jules vs Pax
- Junie CLI vs OpenAI Agents API
- Junie CLI vs Pax
- Kilo Code CLI vs OpenAI Agents API
- Kilo Code CLI vs Pax
- Kimi Code CLI vs OpenAI Agents API
- Kimi Code CLI vs Pax
- Kiro CLI vs OpenAI Agents API
- Kiro CLI vs Pax
- Letta vs OpenAI Agents API
- Letta vs Pax
- Manus API vs OpenAI Agents API
- Manus API vs Pax
- mini-swe-agent vs OpenAI Agents API
- mini-swe-agent vs Pax
- MiniMax Code vs OpenAI Agents API
- MiniMax Code vs Pax
- Mistral Vibe CLI vs OpenAI Agents API
- Mistral Vibe CLI vs Pax
- Muse Code vs OpenAI Agents API
- Muse Code vs Pax
- OpenAI Agents API vs OpenAI Codex
- OpenAI Agents API vs OpenCode
- OpenAI Agents API vs OpenHands
- OpenAI Agents API vs OpenMausBot
- OpenAI Agents API vs Orca
- OpenAI Agents API vs Paseo
- OpenAI Agents API vs Prime Agent
- OpenAI Agents API vs Qoder CLI
- OpenAI Agents API vs Qwen Code
- OpenAI Agents API vs Mirror CLI
- OpenAI Agents API vs Rovo Dev CLI
- OpenAI Agents API vs Sculptor
- OpenAI Agents API vs T3 Code
- OpenAI Agents API vs Traycer
- OpenAI Agents API vs Unstoppable
- OpenAI Agents API vs Verdent
- OpenAI Agents API vs Vibe-Trading
- OpenAI Agents API vs Warp (Warp Agent CLI and the Oz Agent API)
- OpenAI Codex vs Pax
- OpenCode vs Pax
- OpenHands vs Pax
- Orca vs Pax
- Paseo vs Pax
- Prime Agent vs Pax
- Pax vs Qoder CLI
- Pax vs Qwen Code
- Pax vs Mirror CLI
- Pax vs Rovo Dev CLI
- Pax vs Sculptor
- Pax vs T3 Code
- Pax vs Traycer
- Pax vs Unstoppable
- Pax vs Verdent
- Pax vs Vibe-Trading
- Pax vs Warp (Warp Agent CLI and the Oz Agent API)
- Agent Relay vs Pax
- Clawboo vs Pax
- CLI Manager vs Pax
- Friday vs Pax
- Harness vs Pax
- herdr vs Pax
- OpenMausBot vs Pax
- Paperclip vs Pax
- Parallax vs Pax
Machine-readable
- This page as Markdown
/compare/openai-agents-api-vs-pydantic-ai-pax.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/openai-agents-api.json·/api/v1/tools/pydantic-ai-pax.json - From a terminal
anchor compare openai-agents-api pydantic-ai-pax(the CLI) - Over MCP
compare_tools {"a": "openai-agents-api", "b": "pydantic-ai-pax"}at/mcp, no key