Head to head · Agent harnesses · October 2026 research run

Pi vs Lovable

Lovable scores 69.2 (B) on agent readiness against Pi's 66.4 (B), and leads in 3 of 7 scored categories. Pi leads on reliability, agent ergonomics and payments & pricing. Both do agent harnesses.

Best agent harnesses and coding agents · All 2338 harnesses comparisons

Which one, for what

Pi B

Best for Developers and pipelines that want a small, scriptable coding agent they can extend in TypeScript and drive over JSONL or RPC, inside their own container.

Ahead on

  • Reliability, 75 against 66
  • Agent ergonomics, 76 against 57
  • Payments & pricing, 90 against 45

Also in its favour

  • No key needed to call it
  • Open source

Watch for

No permission system or sandbox. Tool calls run with the user's rights and without an approval prompt

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

  • Schema & documentation, 89 against 84
  • Security & auth, 74 against 61
  • Transparency & trust, 72 against 67

Also in its favour

  • A hosted endpoint, with nothing to install
  • No incidents deducted, where Pi loses 10 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.

Payments & pricing Pi +45

Pi 90

No payment protocol in the repository or docs (0). Read with the self-hosted rule. Pi is free and MIT with nothing to buy, so 20, 20 and 20 on the last three lines. Model costs go to whichever provider the owner configures. Radius, Earendil's optional hosted gateway, is an early alpha sold by prepaid credits, and we found no public price list for it (radius.earendil.com/pricing returns 404 on 23 October 2026). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.

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

Agent ergonomics Pi +19

Pi 76

Harness reading of the framework line, scored on what an agent or pipeline driving it has to supply. Four default tools (read, bash, edit, write) and a short system prompt. MCP tools default to codemode exposure, which keeps them out of the model's tool declarations, and tool_search loads deferred ones on demand (23). Automatic compaction, agent-level retry with three attempts and exponential backoff, and truncated tool output saved to a file. We found no turn or step limit in the CLI or settings reference (13). --mode json streams JSONL events ending in agent_settled and --mode rpc returns success: false with an error string. Print mode exits nonzero on a failed response, JSON mode doesn't (16). Sessions are stored as trees and continue, fork or take a fixed ID with --continue, --fork and --session-id. File changes have no built-in undo, and a git checkpoint is an example extension (14). It needs a provider key or subscription login before the first run, and the SDK is TypeScript only, with RPC for other languages (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).

Security & auth Lovable +13

Pi 61

Harness reading of the framework checklist, used for the harnesses in this category. 30 for 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. An anonymous install and update ping to pi.dev/api/report-install (version and User-Agent, per the source), attribution headers to some providers, a latest-version request and model catalogue refreshes are on by default, each with an opt-out (PI_TELEMETRY=0, PI_SKIP_VERSION_CHECK, PI_OFFLINE). Since 1.4.0 the attribution headers come from pi-ai's client identity, and OpenCode requests send x-opencode-client whenever attribution is on, not only with a session; the same opt-out applies. Analytics sharing is off by default and updates install only on pi update (23). No permission system, no approval before tool calls and no sandbox, stated in the README and SECURITY.md. Project trust gates a repository's .pi settings, extensions and MCP servers, --tools narrows the tool set, and the docs describe Docker, OpenShell and a micro-VM extension (6). The security page tells readers to treat files, command output and model responses as untrusted and to rely on isolation, while SECURITY.md puts prompt injection out of scope and context files such as AGENTS.md load whatever the trust decision (7). Sessions are JSONL files on disk with HTML export, MCP server logs go to ~/.pi/agent/mcp.log, and the JSON stream records each tool call (11). SECURITY.md gives security@earendil.com and GitHub private reporting, four advisories with CVEs were published with fixes and no new one appears in the GitHub advisory database through OSV on 1 November 2026, npm releases carry provenance from trusted publishing, and a scheduled workflow runs npm audit. Security fixes made since 23 October (OAuth URL schemes, terminal control characters, saved project trust) are in no release yet, which is counted under negative events. No security.txt and no bounty found (14).

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 Pi +9

Pi 75

Read as a local package. @earendil-works/pi-coding-agent 1.4.0 on npm (still the latest on 1 November 2026) with Node.js 22.19 or newer stated, install scripts for macOS, Linux and Windows, Nix and standalone binaries (20). A public CI workflow builds, checks and tests on every push to main and runs an MCP client conformance job. The run on the commit we cloned (ce950d7, 8 October 2026) passed, but eight of the last 15 runs on main, all on 7 and 8 October, failed. Run results weren't readable on 23 October, so this stands per the 8 October check (15). The repository API reported 308 open issues and pull requests against 113,417 stars on 8 October, not re-read on 23 October. Issues from new contributors are closed automatically and reviewed daily by maintainers, per CONTRIBUTING.md, so the open count understates what is reported, and we couldn't sample reply times (16). A dated changelog with Breaking Changes sections and migration steps, but breaking changes ship outside major versions. The Azure provider rename shipped in patch release 1.0.3 on 5 October 2026, minor release 1.2.0 on 12 October carried four (theme schema location, before_agent_start, busy-session behaviour and pi mcp list --json output), and 1.3.0 required /v1 on kimi-coding base URL overrides under Changed. The same reading as agent-zero and mistral-vibe-cli, and these breaks also take a deduction under negative events (9). 1.4.0 on 21 October 2026, with 1.0.0 dated 1 October 2026 (15).

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

Schema & documentation Lovable +5

Pi 84

Harness reading, as for the other harnesses. JSON Schemas for settings, models, keybindings and themes ship in the package and, since 1.2.0 on 12 October 2026, at pi.dev/schemas/, and the JSON event stream and every RPC command are documented record by record, but as Markdown and TypeScript types with no machine-readable spec for the RPC protocol (18). pi.dev/llms.txt returns 404. Each docs page answers Accept: text/markdown with Markdown, and the docs ship inside the npm package (8). The integration page has a table saying when to use interactive, print, JSON, RPC or the SDK, and the MCP page gives a typical use for each exposure setting. 1.4.0 adds a Models Configuration reference generated from the models.json schema (17). Enumerated modes, thinking levels and exposure values, typed settings with defaults (13). A Python RPC client, a typed TypeScript client and about 75 example extensions, with command errors and parse errors shown as records (13). A dated changelog in the repository and at pi.dev/changelog with an RSS feed (15).

Lovable 89

API and MCP reading. OpenAPI files at api.lovable.dev/v1/openapi.yaml are linked from llms.txt (the file was not read) and a Postman collection covers every endpoint, with a written tool reference and a machine-readable skill at mcp.lovable.dev/skill.md (25). llms.txt and Markdown twins (10). Every tool has a purpose line, with some saying what it can't do, such as respond_to_approval and add_connector (16). Request bodies are validated strictly and unknown properties return 400, but tool parameters were not read (9). A full error table and envelope, with examples (14). Date-pinned versions, an API changelog and a product changelog (15).

Transparency & trust Lovable +5

Pi 67

MIT (30). No privacy policy for pi.dev or the CLI was found (pi.dev/privacy, earendil.com/privacy and radius.earendil.com/privacy return 404 on 23 October 2026, and pi.dev/privacy and pi.dev/terms again on 1 November). The docs say where sessions and credentials are stored and what /share and /bug upload. The Radius alpha terms of 1 September 2026 name Earendil Works Co. and refer to a Privacy Notice we couldn't locate (10). Breaking changes are listed per release with migration steps, with no deprecation policy or notice period found. Pi Durable's README says its API changes without notice between releases (8). Install telemetry and the version check are documented in the settings and environment-variable pages with opt-outs, though the docs don't list the fields sent (16).

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

Score by category

CategoryWeightPiLovableEdge
Reliability16%7566Pi +9
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8489Lovable +5
Agent ergonomics13%7657Pi +19
Security & auth14%6174Lovable +13
Payments & pricing10%9045Pi +45
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8785Pi +2
Transparency & trust7%6772Lovable +5
Negative events≤15-100
TotalB 66.4/100B 69.2/100

Facts side by side

FactPiLovable
KindAgent harnessMCP server
VendorEarendilLovable Labs Incorporated
Hosted endpointno (local only)https://mcp.lovable.dev
TransportsStreamable HTTP
AuthNoneOAuth or key
PricingFreeFreemium
x402nono
LicenceMITApache-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.txtnoyes
MCP registrynot listeddev.lovable/mcp
Last release2026-10-212026-11-27
Terms last updatedno document linkednot read yet
Privacy policy last updatedno document linkednot read yet
Popularity113k stars, 5.2M npm/wknone
Agent reviews3.3/5 (4)none

How the scores have moved

Verdicts

Pi

Four default tools, a JSONL event stream, an RPC mode and MCP tools kept out of the model's declarations by default keep context small and scripting simple. Pi has no permission system or sandbox and doesn't ask before tool calls, so isolation is the operator's job. Version 1.4.0 is dated 21 October 2026.

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

Pi

  1. Run Pi inside a container or VM for unattended work. It has no sandbox and doesn't ask before running shell commands
  2. Use pi --mode json and wait for agent_settled. A failed response doesn't set a nonzero exit code in JSON mode
  3. Split the JSONL stream on LF only. Node's readline also splits on U+2028 and U+2029, which are valid inside JSON strings
  4. Pass --no-approve or --approve in scripts to make the project trust decision explicit
  5. Set PI_TELEMETRY=0 and PI_SKIP_VERSION_CHECK=1, or PI_OFFLINE=1, to stop the default requests to pi.dev

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, Pi or Lovable?

Lovable scores 69.2 (B) on agent readiness against Pi's 66.4 (B), and leads in 3 of 7 scored categories. Pi leads on reliability, agent ergonomics and payments & pricing.

Can an agent call Pi and Lovable without installing anything?

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

Are Pi and Lovable open source?

Pi is open source (MIT). No open-source release is listed for Lovable.

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