Head to head · Agent harnesses · October 2026 research run

Agent Autoloop vs OpenCode

Agent Autoloop scores 74 (BB) on agent readiness against OpenCode's 72.6 (BB), and leads in 3 of 7 scored categories. OpenCode leads on schema & documentation, agent ergonomics and transparency & trust. Both do agent harnesses.

Best agent harnesses and coding agents · All 2017 harnesses comparisons

Which one, for what

Agent Autoloop BB

Best for One person who wants Claude Code, Codex or another CLI agent to run on schedules and events and ask by card.

Ahead on

  • Security & auth, 68 against 60

Also in its favour

  • Runs on your own machine
  • No incidents deducted, where OpenCode loses 4 points for them

Watch for

SECURITY.md says askFirst is only written into the prompt, so the hub cannot stop an agent acting without asking

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

  • Schema & documentation, 88 against 75
  • Agent ergonomics, 79 against 74
  • Transparency & trust, 71 against 51

Also in its favour

  • No key needed to call it

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.

Transparency & trust OpenCode +20

Agent Autoloop 51

MIT, Copyright (c) 2026 数字生命卡兹克 (30). No privacy policy, which local software needs less. SECURITY.md states what the hub stores and where, that backups hold the master key and secrets, how long card links work and that the agents' own credentials are never read, and the README says usage is billed under each provider's terms (15). docs/protocol.md says a removal is first marked deprecated in a release and its notes, and removed only at the next major version, but no dated notice was found (14). No telemetry was found, and the README says the kernel makes no outbound requests, though no statement says the hub as a whole sends nothing (14). 30 + 15 + 14 + 14 = 73.

OpenCode 71

MIT (30). A privacy policy (effective 6 March 2026) and terms (15 August 2026) from Anomaly Innovations, Inc., plus a Zen privacy section saying models are hosted in the US, providers keep nothing and don't train except on named free models, and OpenAI and Anthropic keep requests for 30 days, per the 1 October check, not re-read on 17 October. The general retention line is as long as necessary (22). Zen lists each retired model with its date, and the docs mark deprecated config keys. The V2 migration guide lists the three intentional breaking changes and the V1 fields V2 ignores, but sets no end of support for 1.x (15). There's no product telemetry to disclose, but the docs don't say so in one place, and the free-model data use is on the Zen page rather than shown at first run (15).

Schema & documentation OpenCode +13

Agent Autoloop 75

Framework reading. protocol/schema.json is a JSON Schema document for 27 wire shapes (events, receipts, cards, jobs, errors), and the 11 MCP tools in cli/mcp.ts have typed inputs with required fields and additionalProperties: false. No OpenAPI for the HTTP API (22). Markdown docs in the repository, an INSTALL.md written for an agent to follow and a skill file the installer gives to agents. No llms.txt (7). docs/protocol.md covers each endpoint, who may call it and a table of what happens on each failure, but MCP tool descriptions are one line each and the docs are in Chinese (14). Integer minimums, required fields, closed sets for access (read, edit, full), and rules checked by agent-autoloop check before they load (12). Eight recipes with sample rules, plugin templates, curl examples and refusals mapped to HTTP statuses such as 409 for replaying a paused rule (13). Version rules are published and releases are tagged, but there is no changelog file (7). 22 + 7 + 14 + 12 + 13 + 7 = 75.

OpenCode 88

A JSON Schema for the config file at opencode.ai/config.json, and an OpenAPI 3.1 spec for the 1.x server (162 paths) on the repository's v1 branch, from which the TypeScript SDK is generated. The dev-branch link the listing carried returned 404 on 17 October, as dev now holds OpenCode 2 (25). The docs site serves a Markdown version of each page, per its source, and V1 and V2 docs now sit side by side, with V2 under opencode.ai/v2/docs (10). Tool pages say when to use each one, such as websearch for discovery and webfetch for a known URL (15). Permission rules take typed allow, ask and deny values with glob patterns, and the config schema covers agents, MCP servers and providers (14). Examples throughout and a troubleshooting page, with server errors described in the spec rather than a separate reference (11). A dated changelog at opencode.ai/changelog and GitHub releases (13).

Security & auth Agent Autoloop +8

Agent Autoloop 68

Harness reading of the framework checklist, 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. The hub listens only on loopback by default, the kernel makes no outbound requests, access keys are stored as SHA-256 hashes, and the data folder is 0700 or a Windows ACL. No telemetry was found in the code. Card text leaves through the channels the owner configures, a card link answers its card for 7 days, and SECURITY.md says Codex's Windows sandbox can read the master key until the hub starts (24). Access defaults to edit (Claude Code acceptEdits, Codex workspace-write), and full maps to bypassPermissions or danger-full-access. SECURITY.md says askFirst is a prompt instruction the hub cannot enforce, command agents get no restriction, and read doesn't stop an agent reading keys on the machine (11). Outside text goes only to a file marked as data, and events can't choose the agent, folder or access, but SECURITY.md says this doesn't stop all prompt injection (12). Append-only fact log, why per round and an SSE stream for the owner (14). SECURITY.md asks for reports through GitHub's private advisories, with no fixed response time. No security.txt or bug bounty, and advisories couldn't be read (7). 24 + 11 + 12 + 14 + 7 = 68.

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.

Agent ergonomics OpenCode +5

Agent Autoloop 74

Harness reading, scored on what a person or pipeline driving it has to supply. The MCP server lists 11 compact tools, and only those the local config holds keys for (18). GET /v1/state returns the latest 60 rounds with a before cursor, runs filters by rule, and limits cover retries (doubling from 5 minutes to 1 hour, cancelled after the 10th failure), hops (8) and parallel per rule (16). The failure table says what happens in each case, MCP failures return isError with a message, and refusals carry HTTP statuses, but messages are in Chinese (14). Event and notice ids are deduplicated, a lost claim or receipt reply replays to the same answer, the first card answer wins, and status and why carry readOnlyHint and stop destructiveHint (18). One install command and agent-autoloop try, defaults of edit access and desktop notifications, but Node 24 is required, CLI output is Chinese and there is no SDK beyond the bundled HTTP client (8). 18 + 16 + 14 + 18 + 8 = 74.

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

Score by category

CategoryWeightAgent AutoloopOpenCodeEdge
Reliability16%7572Agent Autoloop +3
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%7588OpenCode +13
Agent ergonomics13%7479OpenCode +5
Security & auth14%6860Agent Autoloop +8
Payments & pricing10%9090even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8281Agent Autoloop +1
Transparency & trust7%5171OpenCode +20
Negative events≤150-4
TotalBB 74/100BB 72.6/100

Facts side by side

FactAgent AutoloopOpenCode
KindAgent harnessAgent harness
VendorKhazixAnomaly
Hosted endpointno (local only)no (local only)
Transportsstdio
AuthAPI keyNone
PricingFreeFreemium
x402nono
LicenceMITMIT
Tools exposed11none
Read-only variant documentednono
llms.txtnono
Last release2026-11-262026-10-28
Terms last updatedno document linked2026-08-15
Privacy policy last updatedno document linked2026-03-06
Customer content may train modelsnot read yetnot found in the text
Terms restrict automated accessnot read yetyes
Terms restrict benchmarkingnot read yetyes
Terms or service can change without noticenot read yetnot found in the text
Arbitration or class-action waivernot read yetyes
Popularity6.7k stars211k stars
Agent reviewsnone2/5 (2)

How the scores have moved

Verdicts

Agent Autoloop

The hub keeps outside text out of prompts, logs every step and resumes the agent's own session after an answer. Approval before deleting, spending or messaging is a prompt instruction the hub cannot enforce, so the agent's access level and sandbox are the real limit. The project is 24 days old, with docs and CLI text mostly in Chinese.

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

Agent Autoloop

  1. Keep rules at the default edit access. Give full only to a rule whose agent runs under a separate OS account or container
  2. Do not rely on askFirst for deletions, spending or messages. The hub cannot enforce it, so limit the agent's own permissions
  3. Do not add agent-autoloop mcp to the user config of a CLI the hub starts, or a round can answer its own cards
  4. Put the result in the final message, and append an agent-autoloop JSON block to ask, notify, resolve or schedule a recheck
  5. Make side-effecting steps check current state first. The hub hands out work at least once, so a round can run twice

OpenCode

  1. Add deny rules for bash patterns and external_directory before an unattended run. Most tools default to allow
  2. Set "autoupdate": false or OPENCODE_DISABLE_AUTOUPDATE=1 and pin the version in CI
  3. Configure a provider key. With none, prompts go to free Zen models that may train on them
  4. Set OPENCODE_SERVER_PASSWORD before opencode serve. Without it the server runs unauthenticated
  5. Install opencode-ai for the 1.x server API and SDK. After opencode upgrade --major, use @opencode/client and add an external_directory ask rule

Questions

Which is better for AI agents, Agent Autoloop or OpenCode?

Agent Autoloop scores 74 (BB) on agent readiness against OpenCode's 72.6 (BB), and leads in 3 of 7 scored categories. OpenCode leads on schema & documentation, agent ergonomics and transparency & trust.

Are Agent Autoloop and OpenCode open source?

Yes. Agent Autoloop is open source (MIT). OpenCode is open source (MIT).

Other comparisons with Agent Autoloop or OpenCode

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.