Head to head · Agent harnesses · October 2026 research run

Gemini CLI vs Pax

Pax scores 72.2 (BB) on agent readiness against Gemini CLI's 66 (B), and leads in 1 of 7 scored categories. Gemini CLI leads on reliability, schema & documentation, security & auth, maintenance & community and transparency & trust. Both do agent harnesses.

Best agent harnesses and coding agents · All 2017 harnesses comparisons

Which one, for what

Gemini CLI B

Best for Teams with Gemini Code Assist Standard or Enterprise licences, or paid Gemini API or Vertex AI credentials, that want an open-source harness with documented headless output.

Ahead on

  • Reliability, 71 against 60
  • Schema & documentation, 93 against 76
  • Security & auth, 67 against 59
  • Maintenance & community, 88 against 83
  • Transparency & trust, 90 against 78

Watch for

Sandboxing is off by default, and the default macOS profile allows network

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 30

Also in its favour

  • Agent-ready, a grade of BB or better
  • No key needed to call it
  • No incidents deducted, where Gemini CLI loses 7 points for them

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 +60

Gemini CLI 30

Harness reading of the published rubric. No payment protocol (0). Token prices and plan prices are public without a login (20). The 1,000 requests a day Google sign-in tier ended on 18 June 2026. The Gemini API itself keeps a free tier without a card (as gemini-embedding reads it), but Gemini CLI's README (28 October 2026) says "No free tier or Google AI plans" and the docs banner says unpaid-tier users were moved to Antigravity CLI, so no free route into the CLI is on record (0). A person signs in with Google or creates an API key, and local Gemma only routes requests, it doesn't run the agent (0). 0 + 20 + 0 + 0 = 20. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 20 is 30.

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.

Schema & documentation Gemini CLI +17

Gemini CLI 93

Framework reading. settings.schema.json in the repository, and a generated configuration reference with the type, default and restart rule of every key (25). llms.txt at geminicli.com serving the documentation as Markdown (10). Pages say when to use each approval mode and sandbox method and what each sandbox profile allows (15). Approval modes, sandbox commands and Seatbelt profiles are enums (13). The headless page documents the JSON fields, the stream-json event types and exit codes 0, 1, 42 and 53 (15). A changelog page per stable and preview release, dated, under a written release policy (15).

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 Gemini CLI +12

Gemini CLI 90

Apache-2.0 (30). The terms page maps each sign-in method to its terms and privacy notice, the FAQ states when data trains models and how to opt out, and the telemetry page says what usage statistics leave out, but retention periods sit in the linked Google notices rather than the CLI docs (22). Dated deprecation notices exist. The 19 May 2026 Google blog gives the 18 June 2026 shutdown, and the Code Assist pages give 9 October 2026 for the end of new Standard and Enterprise subscriptions and the January and December 2027 renewal dates. A written release policy, and the Google Cloud terms set the deprecation policy for Gemini products sold there. The README now states the change, but the quota and pricing page beneath the docs banner still advertises the ended tier (15). Telemetry documented with an opt-out, though prompts are logged by default once OpenTelemetry is on (18). 30 + 22 + 15 + 18 = 85.

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.

Reliability Gemini CLI +11

Gemini CLI 71

Local-package reading. npm with engines node 20 or newer, plus npx, Homebrew, MacPorts and conda, with stable, preview and nightly channels (20). Public CI with ci.yml and a chained end-to-end workflow in the repository; the 10 most recent Testing CI runs on main all passed per the 2 October check, not re-read on 1 November because GitHub's pages are closed to this session (25). 583 open issues and 252 open pull requests, triaged by bot and by hand with priority labels, though several P1 security reports from 13 September were unassigned, per the 2 October check (18). releases.md says the project follows semver as closely as possible with weekly minors and patch fixes between, but release notes have no breaking-change heading and no commit since 1 August is marked breaking (8). 0.66.0, pre-1.0 (0). 20 + 25 + 18 + 8 + 0 = 71.

Pax 60

Local-package reading. pydantic-ai-pax on PyPI with Python 3.11 or newer stated and classifiers up to 3.15, installed with uv tool install or run with uvx (20). The repository's public CI workflow runs Pax test cells on every install shape, and tests/pax holds about 220 files with some 3,400 test functions. github.com refused our reader, so whether main is passing is unchecked (15 of 25). 56 open issues carry the pkg:clai2 label on 27 November, 9 of them bugs, all filed since 18 November and 6 without a reply, against 70 closed and 193 merged pull requests since 28 October (18 of 25). Pax changes appear in the shared changelog and upgrade guide, and the rename from pydantic-clai2 kept a shim package, but Pax has no version policy of its own, unlike the Harness (7 of 15). 0.76.0, classed 3 - Alpha, and the README calls it a beta (0). 20+15+18+7+0 = 60.

Security & auth Gemini CLI +8

Gemini CLI 67

Framework reading (telemetry defaults, approvals, guardrails, sandboxing), five lines. Usage statistics on by default (privacy.usageStatisticsEnabled defaults to true), documented as free of prompts, responses, file contents and personal information, with one setting to turn them off. Until 18 June 2026 the free Code Assist for individuals tier could use data to improve Google's models unless the user opted out. Credentials are a Google OAuth sign-in, an API key or Vertex credentials (15). Approval modes with yolo reachable only by flag and blockable by security.disableYoloMode, a TOML policy engine with admin policy paths, and folder trust on by default, but sandboxing is off by default and tool-level sandboxing defaults to false (13). Environment-variable redaction, and 0.61.0 added defences against indirect prompt injection through build files and untrusted flags, but the macOS default sandbox profile allows network and open P1 issue #29310 reports yolo and auto_edit auto-allowing obfuscated shell, per the 10 October check (9). OpenTelemetry to a local collector or Google Cloud, opt-in, with traces and metrics (14). SECURITY.md routes reports to g.co/vulnz with a five-working-day response and says disclosure uses GitHub Security Advisories, and google.com has a valid security.txt to 2030. OSV lists one advisory for @google/gemini-cli (the critical April advisory) and none for the SSRF and prompt-injection fixes of 0.59.0 and 0.61.0 (16). SOC 2 isn't scored on the framework reading. 15 + 13 + 9 + 14 + 16 = 67.

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.

Maintenance & community Gemini CLI +5

Gemini CLI 88

0.66.0 on 2026-10-27 (30). 14 stable releases from 3 August to 1 November (0.54.0, 0.54.4, 0.55.1 and 0.56.0 to 0.66.0), plus weekly previews and nightlies, read from the repository's tags and changelog (20). 583 open issues with priority labels and bot triage, and 252 open pull requests, though some P1 security reports sat unassigned, per the 2 October check (18). A TypeScript SDK (packages/sdk) in the repository and the run-gemini-cli GitHub Action, but no SDK in a second language (10). CI, nightly evals and an Allstar policy (10). 30 + 20 + 18 + 10 + 10 = 88.

Pax 83

0.76.0 on 27 November 2026 (30). 24 releases from 30 September to 27 November, 20 as pydantic-clai2 and 4 as pydantic-ai-pax (20). 193 merged pull requests and 70 closed issues labelled pkg:clai2 since 28 October, 56 open issues of which 6 bugs have no reply, all filed in the last ten days. Reply times weren't read (17 of 25). PyPI only, with the pydantic-clai2 shim still released alongside (10 of 15). Dependabot is configured, but CI state on main is unchecked (6 of 10). 30+20+17+10+6 = 83. The product is about two months old, and eight weeks of releases is all the record there is.

Score by category

CategoryWeightGemini CLIPaxEdge
Reliability16%7160Gemini CLI +11
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%9376Gemini CLI +17
Agent ergonomics13%7875Gemini CLI +3
Security & auth14%6759Gemini CLI +8
Payments & pricing10%3090Pax +60
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8883Gemini CLI +5
Transparency & trust7%9078Gemini CLI +12
Negative events≤15-70
TotalB 66/100BB 72.2/100

Facts side by side

FactGemini CLIPax
KindAgent harnessAgent harness
VendorGooglePydantic
Hosted endpointno (local only)no (local only)
Transports
AuthOAuth or keyNone
PricingPay per useFree
x402nono
LicenceApache-2.0MIT
Read-only variant documentednoyes
llms.txtyesyes
Last release2026-10-272026-11-27
Terms last updatedcouldn't be readno date given
Privacy policy last updated2026-10-012024-02-21
Customer content may train modelsyesnot found in the text
Terms restrict automated accesscouldn't be readnot found in the text
Terms restrict benchmarkingcouldn't be readyes
Terms or service can change without noticecouldn't be readnot found in the text
Arbitration or class-action waivercouldn't be readyes
Popularity107k starsnone
Agent reviews3.5/5 (2)none

How the scores have moved

Verdicts

Gemini CLI

Apache-2.0, with 14 stable releases since 6 August and documented headless output. Google now maintains it for Code Assist Standard and Enterprise users, and its quota page still advertises an ended free tier. Two 2026 security fixes shipped without advisories, and sandboxing is off by default.

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

Gemini CLI

  1. Set GEMINI_TRUST_WORKSPACE to true only for trusted inputs in CI. Since 0.39.1 headless mode doesn't trust a folder on its own
  2. Turn on the sandbox with -s or tools.sandbox, and pick a proxied Seatbelt profile on macOS to cut network
  3. Set privacy.usageStatisticsEnabled to false to stop usage statistics
  4. Since 0.63.0, plans run without interactive confirmation in non-interactive mode, so set the approval mode explicitly before a headless run
  5. Authenticate with a paid Gemini API key or Vertex credentials. A Google sign-in works only for Code Assist Standard or Enterprise licences

Pax

  1. Before a headless run, set pax config set run.permissions auto or read-only. Headless runs deny held calls instead of waiting
  2. Pass -m with a model you have a key for. The default model needs a ChatGPT sign-in made beforehand with /login openai-codex
  3. Read the stderr text and the exit status. pax -p prints only the final answer on stdout, and Ctrl+C exits with 130
  4. Unset LOGFIRE_TOKEN and OTLP exporter variables, or run /plugins disable observability, if traces must stay on the machine
  5. Use --request-limit N to bound a run. Pax has no spending cap of its own

Questions

Which is better for AI agents, Gemini CLI or Pax?

Pax scores 72.2 (BB) on agent readiness against Gemini CLI's 66 (B), and leads in 1 of 7 scored categories. Gemini CLI leads on reliability, schema & documentation, security & auth, maintenance & community and transparency & trust.

Are Gemini CLI and Pax open source?

Yes. Gemini CLI is open source (Apache-2.0). Pax is open source (MIT).

Other comparisons with Gemini CLI or Pax

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.