Head to head · Agent harnesses · October 2026 research run

Kimi Code CLI vs Pax

Pax scores 72.2 (BB) on agent readiness against Kimi Code CLI's 61.8 (C), and leads in 4 of 7 scored categories. Kimi Code CLI leads on reliability and schema & documentation. Both do agent harnesses.

Best agent harnesses and coding agents · All 2017 harnesses comparisons

Which one, for what

Kimi Code CLI C

Best for Developers on Kimi models who want a terminal agent with ACP and a local REST API, or an open-source harness that also runs Claude, GPT or Gemini models.

Ahead on

  • Reliability, 68 against 60
  • Schema & documentation, 85 against 76

Also in its favour

  • Free to start without a card

Watch for

Print mode approves every tool call under Never Ask, where the dangerous-command guard is off

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

  • Security & auth, 59 against 45
  • Maintenance & community, 83 against 72
  • Transparency & trust, 78 against 62

Also in its favour

  • Agent-ready, a grade of BB or better
  • No key needed to call it
  • No incidents deducted, where Kimi Code CLI loses 8 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.

Transparency & trust Pax +16

Kimi Code CLI 62

MIT (30). The docs have no privacy page for the CLI. The Kimi terms (effective 13 August 2026, NOVASCENT PRIVATE LIMITED, Singapore) let Moonshot use content to train its services unless the user opts out by email, prospectively only, and the Kimi privacy policy says content is used for training. The Kimi Platform privacy policy keeps inputs while the account is active. Neither says which applies to CLI sessions (12). The kimi server tree prints a deprecation notice until the next major version, a table names each deprecated config key and the version that replaced it, and the Python Kimi CLI was archived with a migration guide, though its notice gives no date for when old installations stop working (13). Telemetry is documented as on, with a config key and an environment variable to turn it off, but what it collects isn't listed, and print mode ignored the opt-out until 0.41.0 (9).

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.

Security & auth Pax +14

Kimi Code CLI 45

Harness reading of the framework checklist. 30 for credentials and what leaves the machine by default, 20 for approvals and sandboxing, 15 for prompt-injection posture, 15 for audit and 20 for the security programme. OAuth tokens sit in 0600 files and shell keys aren't read unless named. Telemetry is on by default and, in the 2.2.0 package read on 18 October, sends events with a device ID, session ID and model name to telemetry-logs.kimi.com. Auto-update is on by default (14). Interactive sessions ask before edits and commands, and a dangerous-command guard covers rm -rf and similar, but kimi -p runs under Never Ask, where everything is approved and the guard is off, with only static deny rules left. No sandbox found, and hooks fail open (7). The MCP page warns about untrusted servers and project .kimi-code/mcp.json entries, and since 2.1.0 project config waits for workspace trust, but no prompt-injection guidance was found for fetched web pages (6). Sessions on disk, kimi export, the kimi vis session visualiser, a diagnostic log and hooks for auditing (11). SECURITY.md names private GitHub advisories and an email, supports only the latest version and gives no response time. No security.txt was found on kimi.com, kimi.ai or moonshot.ai, and OSV, read again on 2 November 2026, lists no advisories for the package, though 2.1.0 shipped security fixes (7).

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 Pax +11

Kimi Code CLI 72

2.4.1 on 30 October 2026 (30). 30 stable tags from 0.32.0 on 4 August to 2.4.1 on 30 October, plus canary builds since 29 October (20). The 18 October counts from shields.io badges are struck. The clone shows the pace directly, 95 commits from 13 authors between 18 October and 2 November and pull requests numbered past #4600, with the changelog crediting outside contributors in each release. Issue reply times couldn't be read (11). No published SDK. A TypeScript SDK sits in the repository (@moonshot-ai/kimi-code-sdk 0.22.0) marked private, the ACP server and REST API ship inside the CLI, and Homebrew core is current at 2.4.1 (5). CI with a frozen lockfile, lint and a dependency check (sherif), canary and release workflows, no Dependabot or Renovate file, and the pass state unchecked (6). 30 + 20 + 11 + 5 + 6 = 72.

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.

Schema & documentation Kimi Code CLI +9

Kimi Code CLI 85

Framework reading. The kimi web server serves /openapi.json and /asyncapi.json, generated from its runtime validation schemas, but only from a running server behind auth, and the API is marked experimental. The ACP server's methods and capabilities are tabled (20). llms.txt indexes every page and each page is served as Markdown (10). The permission-mode, goal-mode and MCP pages say when to use each mode and what to avoid (16). The config reference gives type and default for each key, with enums for permission modes, output formats and rule decisions (13). Many examples, the server's error-code bands and ACP error codes are documented, but print-mode exit codes are documented only for goal runs (11). A dated changelog in the docs plus the technical changelog in the repository (15). Unchanged on 2 November; llms.txt now indexes 60 pages in two languages.

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.

Reliability Kimi Code CLI +8

Kimi Code CLI 68

Local-package reading. An install script that verifies a checksum, npm @moonshot-ai/kimi-code with Node 22.19.0 or newer stated, and Homebrew core at 2.4.1, for macOS, Linux and Windows (20). A public CI workflow runs the build, a smoke test, sharded tests on Linux, tests on Windows, lint and typecheck. GitHub's pages answer 403 in this session, so whether it passes on main wasn't checked (15). The 18 October issue and pull-request counts came from shields.io badges, a third-party copy of GitHub data this run bars, so they are struck. The clone shows 95 commits from 13 authors since 18 October and a changelog that credits merged pull requests up to #4553 in 2.4.1, but which open issues are crashes or regressions, and how fast they're answered, couldn't be read (8). Changesets changelog with Major, Minor and Patch headings and no breaking-change label since 0.28.0. 2.2.0 made executor = "kaos" configs fail validation, 2.3.0 stopped bare-name plugin skill calls and 2.3.2, a patch, removed swarms from kimi -p and ACP (10). 2.4.1, past 1.0 (15). 20 + 15 + 8 + 10 + 15 = 68.

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.

Score by category

CategoryWeightKimi Code CLIPaxEdge
Reliability16%6860Kimi Code CLI +8
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8576Kimi Code CLI +9
Agent ergonomics13%7175Pax +4
Security & auth14%4559Pax +14
Payments & pricing10%9090even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%7283Pax +11
Transparency & trust7%6278Pax +16
Negative events≤15-80
TotalC 61.8/100BB 72.2/100

Facts side by side

FactKimi Code CLIPax
KindAgent harnessAgent harness
VendorMoonshot AIPydantic
Hosted endpointno (local only)no (local only)
Transports
AuthOAuth or keyNone
PricingFreeFree
x402nono
LicenceMITMIT
Read-only variant documentednoyes
llms.txtyesyes
Last release2026-10-302026-11-27
Terms last updated2026-08-13no date given
Privacy policy last updated2026-08-132024-02-21
Customer content may train modelsyes, with an opt-outnot found in the text
Terms restrict automated accessyesnot found in the text
Terms restrict benchmarkingnot found in the textyes
Terms or service can change without noticenot found in the textnot found in the text
Arbitration or class-action waiveryesyes
Popularity37k npm/wknone
Agent reviews3/5 (4)none

How the scores have moved

Verdicts

Kimi Code CLI

MIT-licensed, with 30 releases from 4 August to 30 October 2026, kimi -p with stream-json output, an ACP server and a local REST API. Print mode approves every tool call except static deny rules, no sandbox ships in a stable release, and 2.x minor releases changed behaviour without notice.

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

Kimi Code CLI

  1. kimi -p approves every tool call. Add [[permission.rules]] deny entries and run it in a container, since no sandbox ships
  2. Set KIMI_LOOP_MAX_STEPS_PER_TURN for unattended runs. Steps per turn are unlimited by default
  3. Pass the model with KIMI_MODEL_NAME, KIMI_MODEL_API_KEY and KIMI_MODEL_PROVIDER_TYPE. OPENAI_API_KEY or ANTHROPIC_API_KEY in the shell is ignored otherwise
  4. Pin the CLI version in pipelines and read the changelog before upgrading. Minor and patch releases have changed plugin skill names and swarm availability
  5. Set KIMI_DISABLE_TELEMETRY=1 and use 0.41.0 or later, since earlier print-mode runs ignored it

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, Kimi Code CLI or Pax?

Pax scores 72.2 (BB) on agent readiness against Kimi Code CLI's 61.8 (C), and leads in 4 of 7 scored categories. Kimi Code CLI leads on reliability and schema & documentation.

Are Kimi Code CLI and Pax open source?

Yes. Kimi Code CLI is open source (MIT). Pax is open source (MIT).

Other comparisons with Kimi Code 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.