Head to head · Agent harnesses · October 2026 research run

Gemini CLI vs Lovable

Lovable scores 69.2 (B) on agent readiness against Gemini CLI's 66 (B), and leads in 2 of 7 scored categories. Gemini CLI leads on reliability, agent ergonomics and transparency & trust. Both do agent harnesses.

Best agent harnesses and coding agents · All 2338 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 66
  • Agent ergonomics, 78 against 57
  • Transparency & trust, 90 against 72

Also in its favour

  • Open source

Watch for

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

Lovable B

Best for A chat client or coding agent that builds, reviews in drafts and publishes a full-stack app, and for a team that reports on workspaces through the API.

Ahead on

  • Security & auth, 74 against 67
  • Payments & pricing, 45 against 30

Also in its favour

  • A hosted endpoint, with nothing to install
  • Free to start without a card
  • No incidents deducted, where Gemini CLI loses 7 points for them

Watch for

47 MCP tools plus two client-specific ones is a large definition set, and no toolset or read-only subset was found

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.

Agent ergonomics Gemini CLI +21

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).

Lovable 57

MCP and API reading. 47 tools plus two client-specific ones, with no toolset or read-only subset found (5). Cursor pagination with limit from 1 to 100, filters and full-text search on list_projects, 100 files a page and 50 grep matches by default (18). Errors have a stable type, request_id, field-level errors and required_scopes or required_plan in props (19). send_message can return at once with wait=false, drafts hold changes until accepted and approvals can be answered, but POST is not idempotent and tool annotations were not read (9). Few required parameters. No official SDK, only OpenAPI, Postman and a plugin (6).

Transparency & trust Gemini CLI +18

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.

Lovable 72

Editorial half. The server and API are closed with clear terms, and the plugin repository is Apache-2.0 (15). Terms of 28 August 2026 let Lovable train on Customer Data with an opt-out on any plan. The security page says Business and Enterprise data is not used and Free and Pro can opt out. The privacy policy was not read (20). A written deprecation policy with a 12-month and six-month window for stable versions and 90 days for betas (20). Data residency in the EU, US and Asia Pacific is stated, and the subprocessor list was not read (14).

Payments & pricing Lovable +15

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.

Lovable 45

Published rubric. No payment protocol (0). Plan prices are public, with no per-call price (15). A Free plan needs no card and the MCP server works on every plan (30). A person signs up and signs in with OAuth, and API keys need a Business workspace (0).

Security & auth Lovable +7

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.

Lovable 74

Hosted reading. API keys with per-resource read or write access, expiry from 7 days to never, a monthly credit cap, IP allowlists and revocation, and OAuth with five scopes for MCP (28). Scoped keys, an admin switch for third-party MCP clients on Business and Enterprise, drafts and respond_to_approval. The docs warn that a client works for the person across all workspaces, and query_database writes with no separate confirmation (14). No prompt-injection guidance for MCP clients was found (4). Keys are attributed to their creator, connector activity is logged and Enterprise has audit logs (10). security.txt valid to June 2027, a HackerOne programme, SOC 2 Type II and ISO 27001. A paid bounty was not confirmed (18).

Reliability Gemini CLI +5

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.

Lovable 66

Hosted reading of the MCP server and API. status.lovable.dev on incident.io with API and MCP components (20). Its history from 4 September to 26 November 2026 lists about 35 incidents, mostly previews, builds, Cloud project creation and image generation, with none naming the API or MCP. Chat and project changes failed for some users on 24 October and the editor had a partial outage on 5 September. Durations are not shown, so they are read as minor (15). Rate limit headers are documented with no figures (5). 429 with Retry-After, backoff advice, read-consistency guidance and a warning that POST isn't idempotent, but no idempotency keys (12). A custom SLA is listed for Enterprise and its terms are not public (4). The /v1 API is called stable, and the MCP server shows version 0.1.3 in its repository (10).

Score by category

CategoryWeightGemini CLILovableEdge
Reliability16%7166Gemini CLI +5
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%9389Gemini CLI +4
Agent ergonomics13%7857Gemini CLI +21
Security & auth14%6774Lovable +7
Payments & pricing10%3045Lovable +15
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8885Gemini CLI +3
Transparency & trust7%9072Gemini CLI +18
Negative events≤15-70
TotalB 66/100B 69.2/100

Facts side by side

FactGemini CLILovable
KindAgent harnessMCP server
VendorGoogleLovable Labs Incorporated
Hosted endpointno (local only)https://mcp.lovable.dev
TransportsStreamable HTTP
AuthOAuth or keyOAuth or key
PricingPay per useFreemium
x402nono
LicenceApache-2.0Apache-2.0 for the plugin and skills repository. The hosted MCP server and API run under Lovable's Terms of Service
Tools exposednone47
Read-only variant documentednono
llms.txtyesyes
MCP registrynot listeddev.lovable/mcp
Last release2026-10-272026-11-27
Terms last updatedcouldn't be readnot read yet
Privacy policy last updated2026-10-01not read yet
Customer content may train modelsyesnot read yet
Terms restrict automated accesscouldn't be readnot read yet
Terms restrict benchmarkingcouldn't be readnot read yet
Terms or service can change without noticecouldn't be readnot read yet
Arbitration or class-action waivercouldn't be readnot read yet
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.

Lovable

Lovable's MCP server (47 tools) and REST API with an OpenAPI file cover project creation, drafts, publishing and database queries, with scoped OAuth and keys, a dated changelog and a written deprecation policy. The tool list is long, API keys need a Business plan and rate limits carry no figures.

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

Lovable

  1. Connect to https://mcp.lovable.dev and sign in with OAuth. Call list_workspaces first, then pass the workspace ID to create_project.
  2. Use create_draft, then send_message with the draft_id, then accept_draft after review. Accepting makes database and function changes live before you publish.
  3. Send send_message with wait=false and poll get_message for long builds. Stop on completed, awaiting_input, stopped or error.
  4. After a 503 request_timeout on a write, read the resource before you retry. The write may have completed.
  5. Send a Lovable-Version date on every REST call, and branch on the error type field, not on title.

Questions

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

Lovable scores 69.2 (B) on agent readiness against Gemini CLI's 66 (B), and leads in 2 of 7 scored categories. Gemini CLI leads on reliability, agent ergonomics and transparency & trust.

Can an agent call Gemini CLI and Lovable without installing anything?

No hosted endpoint is listed for Gemini CLI. Lovable has a hosted endpoint at https://mcp.lovable.dev.

Are Gemini CLI and Lovable open source?

Gemini CLI is open source (Apache-2.0). No open-source release is listed for Lovable.

Other comparisons with Gemini CLI or Lovable

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.