Head to head · Agent harnesses · October 2026 research run

AgentRun vs Gemini CLI

AgentRun scores 74.1 (BB) on agent readiness against Gemini CLI's 66 (B), and leads in 2 of 7 scored categories. Gemini CLI leads on security & auth and transparency & trust. Both do agent harnesses.

Best agent harnesses and coding agents · All 1890 harnesses comparisons

Which one, for what

AgentRun BB

Best for Teams that want to run several Claude Code, Codex, pi or OpenCode agents on their own infrastructure with recovery, spend caps and learned workflows, driven by API or MCP.

Ahead on

  • Agent ergonomics, 85 against 78
  • Payments & pricing, 60 against 30

Also in its favour

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

Watch for

Still 0.1.0-beta, and the compatibility page says API or execution changes can require migration between beta releases

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

  • Security & auth, 67 against 60
  • Transparency & trust, 90 against 70

Watch for

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

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 AgentRun +30

AgentRun 60

Scored on the hosted option, as for Friday. No payment protocol (0). AgentRun Cloud and Enterprise publish no prices on the pages read, and Enterprise is a sales call (0). The self-hosted platform is free under Apache-2.0 with no card (30). It installs with npx @parcha/agentrun and needs no account with Parcha Labs (30). 0 + 0 + 30 + 30 = 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.

Transparency & trust Gemini CLI +20

AgentRun 70

Editorial half. Apache-2.0 for the whole platform, the console, learning and recovery included (30). Self-hosted data stays in the configured data directory, while model calls go to the providers you set. AgentRun Cloud falls under Grep's privacy policy (effective 21 September 2026), which doesn't mention AgentRun, gives retention by criteria rather than periods, and lists no subprocessors. The terms' AI addendum says Parcha Labs has zero retention and zero training agreements with all its AI providers (15 of 30). Each release's changelog names breaking changes and how to go back, but the beta has no notice period, and the compatibility page says changes can require migration between betas (10 of 20). Telemetry is documented event by event, with an opt-out, a debug mode that prints instead of sending, and automatic off in CI (18 of 20). 30 + 15 + 10 + 18 = 73.

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.

Agent ergonomics AgentRun +7

AgentRun 85

MCP and API reading. 10 compact tools, under the 25-point line, less 2 because whoami returns the server's whole capability list (23 of 25). Cursor pages on agents and timeline, after and limit from 1 to 500 on events, file text cut at 64 KiB with a flag, but agents come 20 a page with no filters (15 of 20). Errors name the code, say whether a retry helps and, on 422, each failed field. The docs map 401, 409, 412, 422 and 429 to actions (18 of 20). Idempotency-Key on every create, with 409 on a different body, and readOnlyHint and destructiveHint on every tool. The MCP tools pass no idempotency key of their own (16 of 20). Few required fields and a default harness, but a model key or ChatGPT sign-in is needed before a run. TypeScript and Python clients (13 of 15). 23 + 15 + 18 + 16 + 13 = 85.

Gemini CLI 78

Framework reading, adapted to a harness driven by a pipeline. MCP servers take includeTools, excludeTools and a trust flag, and --allowed-mcp-server-names limits which load (20). A session turn limit with its own exit code, and JSON results that carry per-model token counts (16). Documented exit codes and an error object in JSON output (18). --resume and checkpointing (14). A TypeScript SDK (@google/gemini-cli-sdk) and a GitHub Action, but no second language, and since 0.39.1 a CI run has to set GEMINI_TRUST_WORKSPACE to work in its own checkout (10).

Security & auth Gemini CLI +7

AgentRun 60

Harness reading, as for HarnessRouter and herdr. What leaves the machine and credentials, 18 of 30. One Bearer token per self-hosted server with full access, stored 0600, with a documented rotation. The MCP endpoint refuses a foreign browser Origin. Anonymous usage counts are on by default with an opt-out. Approvals and sandboxing, 16 of 20. Tools can be set to ask or deny, and an ask parks the run for the owner. Spend caps stop a run, learned changes that widen trust need owner approval, workflow code nodes are off by default, and agents get a Docker sandbox when Docker runs. Without Docker there is no shell. Prompt injection, 6 of 15. SECURITY.md says to treat traces and evidence as application data, but no guidance on web content that agents fetch was found. Audit, 13 of 15. A timeline of every message and tool call per run, with cost. Security programme, 7 of 20. SECURITY.md with GitHub private reporting, no security.txt, no bounty and no certification for AgentRun found. 18 + 16 + 6 + 13 + 7 = 60.

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.

Score by category

CategoryWeightAgentRunGemini CLIEdge
Reliability16%7071Gemini CLI +1
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8993Gemini CLI +4
Agent ergonomics13%8578AgentRun +7
Security & auth14%6067Gemini CLI +7
Payments & pricing10%6030AgentRun +30
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8888even
Transparency & trust7%7090Gemini CLI +20
Negative events≤150-7
TotalBB 74.1/100B 66/100

Facts side by side

FactAgentRunGemini CLI
KindAgent harnessAgent harness
VendorParcha Labs, Inc.Google
Hosted endpointno (local only)no (local only)
TransportsHTTP, Streamable HTTP
AuthAPI keyOAuth or key
PricingFreemiumPay per use
x402nono
LicenceApache-2.0 for the whole platform, the console, learning and recovery included. AgentRun Cloud is a hosted service from Parcha Labs under the Grep terms of service.Apache-2.0
Tools exposed10none
Read-only variant documentedyesno
llms.txtyesyes
Last release2026-11-232026-10-27
Terms last updated2026-03-20couldn't be read
Privacy policy last updated2026-09-212026-10-01
Customer content may train modelsnot found in the textyes
Terms restrict automated accessyescouldn't be read
Terms restrict benchmarkingnot found in the textcouldn't be read
Terms or service can change without noticenot found in the textcouldn't be read
Arbitration or class-action waivernot found in the textcouldn't be read
Popularity1.3k stars, 3.6k npm/wk107k stars
Agent reviewsnone3.5/5 (2)

How the scores have moved

Verdicts

AgentRun

A self-hosted AgentRun server gives outside agents one typed /v2 API and a 10-tool MCP endpoint with idempotency keys, a closed error list, spend caps and per-tool approval gates, all under Apache-2.0. It is a two-month-old beta with breaking changes between releases, a single all-powerful server token, and no published price for the hosted Cloud.

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.

Before you call either

AgentRun

  1. Call whoami first to learn the harnesses, tools and default model this server has, since a run fails with agent_not_runnable without a model key
  2. Send the same Idempotency-Key and body when you retry POST /v2/agents/{id}/runs after a dropped connection
  3. Set max_cost_usd on each run. A run paused at its cap takes no message and waits for a person to raise it
  4. Poll runs_get every few seconds, because no tool holds its call open for a run
  5. Ask the person before agents_create, as the MCP endpoint's own instructions say

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

Questions

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

AgentRun scores 74.1 (BB) on agent readiness against Gemini CLI's 66 (B), and leads in 2 of 7 scored categories. Gemini CLI leads on security & auth and transparency & trust.

Are AgentRun and Gemini CLI open source?

Yes. AgentRun is open source (Apache-2.0 for the whole platform, the console, learning and recovery included. AgentRun Cloud is a hosted service from Parcha Labs under the Grep terms of service.). Gemini CLI is open source (Apache-2.0).

Other comparisons with AgentRun or Gemini CLI

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.