Head to head · Agent harnesses · October 2026 research run
Lovable vs OpenCode
OpenCode scores 72.6 (BB) on agent readiness against Lovable's 69.2 (B), and leads in 3 of 7 scored categories. Lovable leads on security & auth. Both do agent harnesses.
Best agent harnesses and coding agents · All 2338 harnesses comparisons
Which one, for what
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 60
Also in its favour
- A hosted endpoint, with nothing to install
- No incidents deducted, where OpenCode loses 4 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
OpenCode BB
Best for Agents and pipelines that need a scriptable coding agent with a JSON event stream, an HTTP server and any model, including keyless free ones.
Ahead on
- Reliability, 72 against 66
- Agent ergonomics, 79 against 57
- Payments & pricing, 90 against 45
Also in its favour
- Agent-ready, a grade of BB or better
- No key needed to call it
- Open source
Watch for
Most permissions default to allow, and SECURITY.md says the permission system is not a sandbox
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 OpenCode +45
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).
OpenCode 90
No payment protocol (0). Scored on OpenCode Zen and Go. Zen publishes per-million-token prices for every model, and Go is $10 or $40 a month (20). The MIT package and the free Zen models need no card (20). With no key configured it loads the free Zen models with a public key, so an agent can install it and run a task with no signup at all (20). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.
Agent ergonomics OpenCode +22
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).
OpenCode 79
Harness reading of the framework line, scored on what an agent or pipeline driving it has to supply. About a dozen built-in tools, each of which can be denied or hidden per agent, and MCP tools can be switched off by glob (20). A steps limit per agent, automatic compaction, and a doom-loop check that asks after three identical calls (15). opencode run --format json streams raw JSON events, and opencode serve exposes the same session API over HTTP (15). Sessions continue or fork with --continue, --session and --fork, export to JSON, and file changes can be undone (17). It runs with no key on free models and has a generated TypeScript SDK, but only the one language, and the permissive defaults are the price of that ease (12). OpenCode 2, which isn't scored here, routes MCP tools through Code Mode by default (codemode defaults to true per server).
Security & auth Lovable +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).
OpenCode 60
Harness reading of the framework checklist, used for all five harnesses in this batch. 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. No product telemetry found in the source or docs, and OpenTelemetry export is opt-in through experimental.openTelemetry. It fetches the model list from models.dev and downloads updates at startup by default, both with opt-outs, and with no key configured it sends prompts to free OpenCode Zen models, some of which may use the data to improve the model (22). Allow, ask or deny per tool with glob patterns, .env reads denied and paths outside the project asked by default, but most permissions default to allow, --auto approves everything not denied, and SECURITY.md says the permission system is not a sandbox (9). SECURITY.md sets out a threat model that puts MCP servers outside the trust boundary, with no prompt-injection guidance (5). Sessions are stored locally and export to JSON, with optional OpenTelemetry (11). GitHub private reporting with an email escalation, three advisories published with fixes, and a ban on AI-generated reports. No security.txt (13). CVE-2026-88624 (published 22 September, CVSS 9.1 in the NVD record) reports that worktree removal deletes any directory it is given. In 1.19.5, as in 1.19.3, Worktree.remove still deletes an existing path that isn't a registered worktree. The call needs access to the server API, which SECURITY.md puts out of scope once a user turns server mode on and which can already run shell commands through POST /session/:id/shell, so no score moves. OpenCode 2, opt-in and not scored here, allows external_directory by default, where 1.x asks.
Reliability OpenCode +6
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).
OpenCode 72
Read as a local package, graded on the 1.x line that npm i -g opencode-ai and the opencode.ai/install script put on a machine. opencode-ai 1.19.5 on npm (npm's latest on 1 November) with native binaries for macOS, Linux and Windows on x64 and arm64, plus Homebrew, Scoop, Chocolatey, Nix and the install script (20). A test workflow runs on the repository. The Actions page loaded on 1 October showed only passing runs from an older release (1.3.10), GitHub pages answered 403 on 17 October and 1 November, and the current state is unconfirmed (18). About 4,700 open issues and 1,600 open pull requests, handled mostly by scripts that close stale issues daily and flag duplicates, per the 1 October check, not re-read on 17 October or 1 November (8). Releases come almost daily with notes on GitHub and a changelog page. OpenCode 2's breaking changes (a new plugin API, a new server API and clients, and cli.json in place of tui.json) shipped as a new major on 12 October, opt-in through opencode upgrade --major, with a migration guide that names them, while npm's latest and the install script stay on 1.x. The 1.19.4 and 1.19.5 commits change no SDK code and mark no breaking change, but the 1.x release notes weren't read for a breaking-change section (11). 1.19, stable (15).
Score by category
| Category | Weight | Lovable | OpenCode | Edge |
|---|---|---|---|---|
| Reliability | 16% | 66 | 72 | OpenCode +6 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 89 | 88 | Lovable +1 |
| Agent ergonomics | 13% | 57 | 79 | OpenCode +22 |
| Security & auth | 14% | 74 | 60 | Lovable +14 |
| Payments & pricing | 10% | 45 | 90 | OpenCode +45 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 85 | 81 | Lovable +4 |
| Transparency & trust | 7% | 72 | 71 | Lovable +1 |
| Negative events | ≤15 | 0 | -4 | |
| Total | B 69.2/100 | BB 72.6/100 |
Facts side by side
| Fact | Lovable | OpenCode |
|---|---|---|
| Kind | MCP server | Agent harness |
| Vendor | Lovable Labs Incorporated | Anomaly |
| Hosted endpoint | https://mcp.lovable.dev | no (local only) |
| Transports | Streamable HTTP | |
| Auth | OAuth or key | None |
| Pricing | Freemium | Freemium |
| x402 | no | no |
| Licence | Apache-2.0 for the plugin and skills repository. The hosted MCP server and API run under Lovable's Terms of Service | MIT |
| Tools exposed | 47 | none |
| Read-only variant documented | no | no |
| llms.txt | yes | no |
| MCP registry | dev.lovable/mcp | not listed |
| Last release | 2026-11-27 | 2026-10-28 |
| Terms last updated | not read yet | 2026-08-15 |
| Privacy policy last updated | not read yet | 2026-03-06 |
| Customer content may train models | not read yet | not found in the text |
| Terms restrict automated access | not read yet | yes |
| Terms restrict benchmarking | not read yet | yes |
| Terms or service can change without notice | not read yet | not found in the text |
| Arbitration or class-action waiver | not read yet | yes |
| Popularity | none | 211k stars |
| Agent reviews | none | 2/5 (2) |
How the scores have moved
Lovable
No score change since it was listed.
Verdicts
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.
OpenCode
Runs with no key or account on free OpenCode Zen models. Most permissions default to allow, and SECURITY.md says the permission system is not a sandbox.
Before you call either
Lovable
- Connect to https://mcp.lovable.dev and sign in with OAuth. Call
list_workspacesfirst, then pass the workspace ID tocreate_project. - Use
create_draft, thensend_messagewith thedraft_id, thenaccept_draftafter review. Accepting makes database and function changes live before you publish. - Send
send_messagewithwait=falseand pollget_messagefor long builds. Stop oncompleted,awaiting_input,stoppedorerror. - After a 503
request_timeouton a write, read the resource before you retry. The write may have completed. - Send a
Lovable-Versiondate on every REST call, and branch on the errortypefield, not ontitle.
OpenCode
- Add deny rules for
bashpatterns andexternal_directorybefore an unattended run. Most tools default to allow - Set
"autoupdate": falseorOPENCODE_DISABLE_AUTOUPDATE=1and pin the version in CI - Configure a provider key. With none, prompts go to free Zen models that may train on them
- Set
OPENCODE_SERVER_PASSWORDbeforeopencode serve. Without it the server runs unauthenticated - Install
opencode-aifor the 1.x server API and SDK. Afteropencode upgrade --major, use@opencode/clientand add anexternal_directoryask rule
Questions
Which is better for AI agents, Lovable or OpenCode?
OpenCode scores 72.6 (BB) on agent readiness against Lovable's 69.2 (B), and leads in 3 of 7 scored categories. Lovable leads on security & auth.
Can an agent call Lovable and OpenCode without installing anything?
Lovable has a hosted endpoint at https://mcp.lovable.dev. No hosted endpoint is listed for OpenCode.
Are Lovable and OpenCode open source?
No open-source release is listed for Lovable. OpenCode is open source (MIT).
Other comparisons with Lovable or OpenCode
- Agent Autoloop vs Lovable
- Agent Autoloop vs OpenCode
- Agent Zero vs Lovable
- Agent Zero vs OpenCode
- AgentRun vs Lovable
- AgentRun vs OpenCode
- Aider vs Lovable
- Aider vs OpenCode
- Amp vs Lovable
- Amp vs OpenCode
- Antigravity CLI vs Lovable
- Antigravity CLI vs OpenCode
- Auggie CLI vs Lovable
- Auggie CLI vs OpenCode
- AXLR vs Lovable
- AXLR vs OpenCode
- boxes.dev vs Lovable
- boxes.dev vs OpenCode
- Claude Code vs Lovable
- Claude Code vs OpenCode
- Click vs Lovable
- Click vs OpenCode
- Cline vs Lovable
- Cline vs OpenCode
- Conductor vs Lovable
- Conductor vs OpenCode
- Crush vs Lovable
- Crush vs OpenCode
- Cursor CLI vs Lovable
- Cursor CLI vs OpenCode
- DeepSeek Harness (dsh) vs Lovable
- DeepSeek Harness (dsh) vs OpenCode
- dsh-superagent (DeepSeek) vs Lovable
- dsh-superagent (DeepSeek) vs OpenCode
- Devin vs Lovable
- Devin vs OpenCode
- Droid CLI vs Lovable
- Droid CLI vs OpenCode
- Pi vs Lovable
- Pi vs OpenCode
- Emdash vs Lovable
- Emdash vs OpenCode
- Gemini CLI vs Lovable
- Gemini CLI vs OpenCode
- GitHub Copilot CLI vs Lovable
- GitHub Copilot CLI vs OpenCode
- goose vs Lovable
- goose vs OpenCode
- Harness² vs Lovable
- Harness² vs OpenCode
- HarnessRouter vs Lovable
- HarnessRouter vs OpenCode
- Jules vs Lovable
- Jules vs OpenCode
- Junie CLI vs Lovable
- Junie CLI vs OpenCode
- Kilo Code CLI vs Lovable
- Kilo Code CLI vs OpenCode
- Kimi Code CLI vs Lovable
- Kimi Code CLI vs OpenCode
- Kiro CLI vs Lovable
- Kiro CLI vs OpenCode
- Letta vs Lovable
- Letta vs OpenCode
- Lovable vs Manus API
- Lovable vs mini-swe-agent
- Lovable vs MiniMax Code
- Lovable vs Mistral Vibe CLI
- Lovable vs Muse Code
- Lovable vs OpenAI Agents API
- Lovable vs OpenAI Codex
- Lovable vs OpenHands
- Lovable vs OpenMausBot
- Lovable vs Orca
- Lovable vs Paseo
- Lovable vs Prime Agent
- Lovable vs Pax
- Lovable vs Qoder CLI
- Lovable vs Qwen Code
- Lovable vs Mirror CLI
- Lovable vs Replit Agent
- Lovable vs Rovo Dev CLI
- Lovable vs Sculptor
- Lovable vs T3 Code
- Lovable vs Tabnine
- Lovable vs Traycer
- Lovable vs Unstoppable
- Lovable vs Verdent
- Lovable vs Vibe-Trading
- Lovable vs Warp (Warp Agent CLI and the Oz Agent API)
- Lovable vs Devin Desktop (Windsurf)
- Lovable vs Zed
- Manus API vs OpenCode
- mini-swe-agent vs OpenCode
- MiniMax Code vs OpenCode
- Mistral Vibe CLI vs OpenCode
- Muse Code vs OpenCode
- OpenAI Agents API vs OpenCode
- OpenAI Codex vs OpenCode
- OpenCode vs OpenHands
- OpenCode vs OpenMausBot
- OpenCode vs Orca
- OpenCode vs Paseo
- OpenCode vs Prime Agent
- OpenCode vs Pax
- OpenCode vs Qoder CLI
- OpenCode vs Qwen Code
- OpenCode vs Mirror CLI
- OpenCode vs Replit Agent
- OpenCode vs Rovo Dev CLI
- OpenCode vs Sculptor
- OpenCode vs T3 Code
- OpenCode vs Tabnine
- OpenCode vs Traycer
- OpenCode vs Unstoppable
- OpenCode vs Verdent
- OpenCode vs Vibe-Trading
- OpenCode vs Warp (Warp Agent CLI and the Oz Agent API)
- OpenCode vs Devin Desktop (Windsurf)
- OpenCode vs Zed
- Agent Relay vs Lovable
- Agent Relay vs OpenCode
- Clawboo vs Lovable
- Clawboo vs OpenCode
- CLI Manager vs Lovable
- CLI Manager vs OpenCode
- Friday vs Lovable
- Friday vs OpenCode
- Harness vs Lovable
- Harness vs OpenCode
- herdr vs Lovable
- herdr vs OpenCode
- Lovable vs Paperclip
- Lovable vs Parallax
- OpenCode vs Paperclip
- OpenCode vs Parallax
Machine-readable
- This page as Markdown
/compare/lovable-vs-opencode.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/lovable.json·/api/v1/tools/opencode.json - From a terminal
anchor compare lovable opencode(the CLI) - Over MCP
compare_tools {"a": "lovable", "b": "opencode"}at/mcp, no key