Agentic Index
Aider vs OpenCode (2026)
Aider last verified ·OpenCode last verified
Aider and OpenCode are both free, model agnostic terminal agents with bring your own key economics. That verdict is the Agentic Index coverage score, graded from each vendor's own published materials.
Aider is the veteran, with a tree sitter repo map, automatic git commits, and Architect mode pairing a planner model with a cheaper editor model. OpenCode is the newer open source option supporting more than 75 providers with a clean modern terminal experience.
On the Agentic Index coding agent ranking, neither Aider nor OpenCode clears the bar, which asks for all five merge loop capabilities documented in full. Aider does not document integrations and tool calling in full; OpenCode documents two of the five in full. 3 of the 96 vendors in the lane clear it. See the coding agent ranking
This comparison is published by Agentic Index, an independent agentic AI vendor research platform. Aider and OpenCode are each graded against the same 14 capability Agentic Index taxonomy, from the vendor's own public materials under the Agentic Index verification standard, alongside 1,165 researched vendors. No vendor pays for placement and no vendor has reviewed this page. How this evidence is graded
Choose Aider if
- The repo map is the edge, giving structured codebase understanding without loading every file.
- Architect mode lets you split planning and editing across two models to cut session cost.
- Millions of installs and a public leaderboard give you a long track record.
Choose OpenCode if
- You want the newer terminal experience and its momentum in the open source community.
- More than 75 providers out of the box covers whichever model stack you run.
- Plan mode proposes an approach for review before any change is made, which fits cautious workflows.
| Feature | A Aider |
O OpenCode |
|---|---|---|
| Action & orchestration | ||
|
Integrations & Tool Calling Ability to connect agents to real systems through native integrations, OAuth-authenticated actions, custom tools, APIs, webhooks, or MCP-compatible tools. |
||
|
AiderIntegrations & Tool Calling The agent works through git, runs configurable lint and test commands, offers to run shell commands it suggests, scrapes web pages into the chat with /web, and takes image and voice input. There is no MCP client, plugin system or integration surface for external services. Sourceaider.chat/docs/config/options.html and usage/commands.html; aider.chat/docs/usage/commands.htmlread 2026-09-29 |
||
|
OpenCodeIntegrations & Tool Calling Built in tools let the agent read, edit and search files and run shell commands. MCP servers, custom tools, plugins and configurable code formatters extend them, and there are native GitHub and GitLab integrations. OpenCode 1 loads LSP servers automatically for language level intelligence. OpenCode 2, released on 12 October 2026, keeps LSP settings but no longer runs language servers, and points developers to their project's own lint, typecheck and compiler commands instead. Terminal, web and desktop apps sit alongside the IDE extension. Sourceopencode.ai/docs/tools, docs/mcp-servers, docs/github, docs/gitlab and opencode.ai/v2/docs/migrate-v1read 2026-10-22 |
||
|
Workflow Orchestration Ability to sequence, branch, retry, route, and combine deterministic workflow nodes with autonomous agent steps. |
||
|
AiderWorkflow Orchestration Architect mode hands a change from an architect model, which proposes it, to a separate editor model, which turns it into file edits. After edits aider lints and optionally tests, then tries to fix the errors whenever a command returns a non zero exit code, a condition built into the flow. Sourceaider.chat/docs/usage/modes.html and usage/lint-test.htmlread 2026-09-29 |
||
|
OpenCodeWorkflow Orchestration A two phase Plan then Build workflow lets the agent propose an implementation approach for review before it makes any changes. Multiple agents can run in parallel on the same project, and custom agents can be configured with their own tools and models. In OpenCode 2, subagents can run in the background while the main agent keeps working, a running subagent or shell command can be moved to the background with one key, and delegated commands report back to the parent session. Custom commands and Agent Skills package repeatable multi step work. Sourceopencode.ai/docs/agents, docs/commands, docs/skills and anoma.ly/notes/opencode-2-0read 2026-10-22 |
||
|
Triggers & Channel Coverage How agents wake up and where they work: schedules, webhooks, message events, CRM events, inbox events, chat, email, voice, and collaboration tools. |
||
|
AiderTriggers & Channel Coverage Work starts from the person, through the interactive terminal chat, a one shot --message flag for scripts, and a watch mode that acts when the developer writes an AI! or AI? comment in any file. Nothing runs on a schedule, webhook or repository event. Sourceaider.chat/docs/usage/watch.html and scripting.htmlread 2026-09-29 |
||
|
OpenCodeTriggers & Channel Coverage The GitHub integration starts runs without anyone invoking them. The pull_request event runs OpenCode when a pull request is opened, synchronized or reopened, the issues event runs it when an issue is created or edited, and the schedule event runs it on a cron schedule with a stored prompt. A schedule example is published. Comment mentions (/opencode or /oc) and workflow_dispatch cover invoked runs. Beyond GitHub, invocation spans the TUI, a scriptable non interactive CLI returning text or JSON, the desktop app, the IDE extension, a headless HTTP server, ACP clients and a GitLab integration. Sourceopencode.ai/docs/github (Supported Events, Schedule Example) and /docs/gitlabread 2026-09-29 |
||
| Knowledge & context | ||
|
Knowledge Grounding & RAG Ability to ground agent behavior in company data through document ingestion, retrieval, external knowledge APIs, semantic search, or RAG layers. |
||
|
AiderKnowledge Grounding & RAG A repository map lists the repo's files with the key symbols each defines and their critical definition lines. A graph ranking over a file dependency graph selects the most relevant parts to fit a token budget set by --map-tokens. Read only reference files and scraped web pages can be added as further context. Sourceaider.chat/docs/repomap.htmlread 2026-09-29 |
||
|
OpenCodeKnowledge Grounding & RAG Context is assembled for each run. Built in tools read, grep, glob and list files on demand, and @ fuzzy file references and dropped images attach material to a prompt. OpenCode 1 adds language level diagnostics and symbols from LSP servers at run time, which OpenCode 2 no longer runs. There is no maintained retrieval structure over the customer's code or documents, and the docs have no index or knowledge page. AGENTS.md from /init and rules are instructions the product applies. Sourceopencode.ai/docs/tools, docs/rules and opencode.ai/v2/docs/migrate-v1; opencode.ai/docs/lspread 2026-10-22 |
||
|
Memory & State Persistence Ability to persist context across a run, conversation, workflow, user, team, or longer-term memory layer. |
||
|
AiderMemory & State Persistence The chat is written to .aider.chat.history.md, and --restore-chat-history reloads the prior conversation on launch so work can continue, which is state the agent writes and carries across sessions. There is no stated lifetime or purge path beyond clearing the chat. Git commits record the code's changes and do not serve as memory. Sourceaider.chat/docs/config/options.html and HISTORYread 2026-09-29 |
||
|
OpenCodeMemory & State Persistence Sessions persist locally and can be listed, resumed, forked, exported as JSON and imported, and /undo and /redo move through change history within a session, so a run carries on where it stopped. Sharing sessions by link was discontinued on 15 October 2026. There is no memory layer that the agent writes and reads across sessions, and the docs have no memory page. AGENTS.md carries project conventions as instructions, not memory the agent keeps. Sourceopencode.ai/docs/cli, docs/rules and the v1.19.1 release notesread 2026-10-22 |
||
| Control & trust | ||
|
Human Oversight & Guardrails Approval steps, consent checkpoints, escalation rules, structured guardrails, policy constraints, and pause/resume controls. |
||
|
AiderHuman Oversight & Guardrails Aider asks for confirmation before it runs a shell command it suggests, adds a file to the chat or fetches a URL. Bulk accept or reject covers a series of confirmations, and a --yes-always flag is off by default. In ask mode nothing is edited, and /undo reverts the last aider commit. Sourceaider.chat/HISTORY, docs/faq.html and config/options.html; aider.chat/history.htmlread 2026-09-29 |
||
|
OpenCodeHuman Oversight & Guardrails Plan mode turns off the agent's ability to make changes, so it proposes an approach for review before building. A single key toggles it, and the user switches back to Build mode once the plan is agreed. Permissions and policies govern what the agent may do. /undo and /redo revert or replay changes and can be run repeatedly. Non interactive CLI mode auto approves only when it is explicitly invoked for scripting. Sourceopencode.ai/docs/permissions, docs/policies and docsread 2026-08-30 |
||
|
Security, Identity & Governance RBAC, SSO, auditability, encryption, least-privilege tool access, compliance posture, and data handling policy. |
||
|
AiderSecurity, Identity & Governance As a local CLI, Aider has no hosted service, accounts or organization layer, so it offers and claims no SSO, role based access, audit logging or attestation. An .aiderignore file limits what enters the AI's context, and analytics can be switched off. Sourceaider.chat/docs/config/options.htmlread 2026-09-29 |
||
|
OpenCodeSecurity, Identity & Governance Enterprise deployment supports SSO through a central organization config and routes traffic through an internal AI gateway that can switch off every other provider. Permission rules, organization policies and private npm registry support come with it. The Trust Center linked from the enterprise page shows SOC 2 Type 1 and Type 2 for Anomaly Innovations, Inc., the company behind OpenCode, with the report shared under NDA. The architecture stores no code or context data, processing is local or goes direct to the customer's chosen provider, and session sharing was discontinued on 15 October 2026. Sourceopencode.ai/enterprise, opencode.ai/docs/enterprise and trust.opencode.airead 2026-10-25 |
||
|
Observability & Auditability Traces, logs, execution histories, metrics, audit events, and debugging detail for production agent behavior. |
||
|
AiderObservability & Auditability Every AI edit is committed to git with a generated message, so each change is a diffable record that /diff shows and /undo reverts. The session is written to a chat history file by default, with an option to log the full conversation with the LLM, and together these show what the agent changed and why. Sourceaider.chat/docs/usage.html and config/options.html; aider.chat/docs/config/options.htmlread 2026-09-29 |
||
|
OpenCodeObservability & Auditability Sessions are kept in a local database that the CLI can list, query and export as JSON, with a sanitize option that redacts sensitive transcript and file data. opencode stats reports token use and cost by session, model and tool, the TUI shows tool calls as they run, and log levels can be raised for debugging. The agent is MIT licensed, so its behavior is fully inspectable. There is no audit log or organization level record of agent actions. Sourceopencode.ai/docs/cliread 2026-10-22 |
||
|
Deployment & Data Residency Deployment modes and options, including SaaS, dedicated cloud, VPC, on-prem, hybrid, local runtime, and self-hosting. |
||
|
AiderDeployment & Data Residency Aider is an Apache 2.0 CLI that runs on the developer's own machine and edits the local git repository. It works with local models through Ollama or any OpenAI compatible local server, so code and inference can stay on the customer's hardware. Sourceaider.chat/docs/llms.html and github.com/Aider-AI/aiderread 2026-09-29 |
||
|
OpenCodeDeployment & Data Residency The agent is MIT licensed open source and runs entirely on the developer's own machine. It installs via script, npm, Homebrew, Arch, Chocolatey, Scoop, Mise or Docker. In OpenCode 2 a single background server runs on that machine, and the terminal, web and desktop apps all connect to it. OpenCode stores no code or context data, and all processing is local or goes direct to the customer's chosen provider. Enterprise deployment routes everything through an internal AI gateway with other providers disabled. Session sharing, once the only hosted component, was discontinued on 15 October 2026. Sourceopencode.ai/docs/enterprise, docs and anoma.ly/notes/opencode-2-0read 2026-10-22 |
||
| Solution readiness | ||
|
Prebuilt Agents, Templates & Packs Ready-made workflows, packaged employees, templates, blueprints, industry solutions, and role-specific agents that reduce time-to-value. |
||
|
AiderPrebuilt Agents, Templates & Packs An official Aider-AI conventions repository holds a community collection of ready made conventions files (Bash scripts, Flutter, functional programming, Go, Next.js with TypeScript and others), loaded with /read to steer the agent. These are guidance files, not prebuilt agents or task templates, and there is no further library. Sourceaider.chat/docs/usage/conventions.html and github.com/Aider-AI/conventionsread 2026-09-29 |
||
|
OpenCodePrebuilt Agents, Templates & Packs Agent Skills package reusable agent capabilities, custom agents and custom commands can be configured and shared, and plugins extend the runtime. An ecosystem page collects community extensions. There is no catalog of prebuilt agents from OpenCode that install in one click. Sourceopencode.ai/docs/skills, docs/agents, docs/commands and docs/ecosystemread 2026-08-30 |
||
| Platform extensibility | ||
|
Model Flexibility & Routing Ability to work across multiple foundation models, route tasks to different models, or let buyers bring their own providers and keys. |
||
|
AiderModel Flexibility & Routing On the customer's own keys, Aider connects to OpenAI, Anthropic, Gemini, Groq, xAI, Azure, Cohere, DeepSeek, OpenRouter, GitHub Copilot, Vertex AI, Amazon Bedrock and any OpenAI compatible API, plus local models through Ollama and LM Studio. Main, editor and weak models are set separately, and /model switches mid session. Sourceaider.chat/docs/llms.html and config/options.htmlread 2026-09-29 |
||
|
OpenCodeModel Flexibility & Routing OpenCode is model agnostic by design. Any LLM provider can be configured with the customer's own API key, across more than 75 providers via Models.dev, including local models. There is a provider directory, per agent model configuration, an optional curated OpenCode Zen list, logins with a Claude Pro or Max, ChatGPT Plus or Pro, or GitHub Copilot subscription, and enterprise routing through an internal AI gateway. Sourceopencode.ai/docs/providers and docs/modelsread 2026-10-22 |
||
|
APIs, SDKs & MCP Extensibility Composability layer: stable APIs, SDKs, MCP tool consumption/serving, custom tools, and integration into internal systems. |
||
|
AiderAPIs, SDKs & MCP Extensibility Scripting works from the command line with --message and from Python through the Coder class. The Python API is not officially supported or documented and may change without notice, and there is no HTTP API, SDK or MCP server. Sourceaider.chat/docs/scripting.htmlread 2026-09-29 |
||
|
OpenCodeAPIs, SDKs & MCP Extensibility There is a published SDK, a headless HTTP server, a plugin system, custom tools, MCP server support, ACP support and an ecosystem page. OpenCode 2 rebuilt the server API, added an @opencode/client package and an @opencode/sdk package that runs the same code as the CLI, and its Code Mode turns MCP servers and OpenAPI endpoints into functions an agent script can call several at a time. More than 80 of its features ship as internal plugins that hot reload, and version 1 plugins must be ported. The whole agent is MIT licensed on GitHub under anomalyco/opencode, and GitHub Copilot ships a formal integration that authenticates with OpenCode. Sourceopencode.ai/docs/sdk, docs/server, docs/plugins and anoma.ly/notes/opencode-2-0read 2026-10-22 |
||
|
Testing, Debugging & Optimization Testing, debugging, scoring, retries, fallbacks, quality gates, and optimization loops for improving agent workflows before and after deployment. |
||
|
AiderTesting, Debugging & Optimization The repository ships a benchmark harness with setup and run instructions. It measures how well aider and a chosen model turn coding requests into code that passes unit tests, with custom models and edit formats and a YAML report of pass rates, cost and timing. The project publishes its polyglot leaderboard of 225 exercises in six languages from it. Sourcegithub.com/Aider-AI/aider/benchmark and aider.chat/docs/leaderboards; github.com/aider-ai/aider/blob/main/benchmark/readme.mdread 2026-09-29 |
||
|
OpenCodeTesting, Debugging & Optimization OpenCode 1 surfaces LSP diagnostics so the agent can see and correct errors in its own edits. OpenCode 2 drops those diagnostics and relies on the project's own lint, typecheck and compiler commands, which the agent runs through its shell tooling along with tests. /undo and /redo help it iterate on a failed attempt. There is no evaluation harness, replay or regression testing of agent behavior. Sourceopencode.ai/docs/lsp, docs/tools and opencode.ai/v2/docs/migrate-v1read 2026-10-22 |
||
| Specialist automation | ||
|
Browser & Computer Use Browser, desktop, or remote/local computer control for workflows that cannot be handled through stable APIs alone. |
||
|
AiderBrowser & Computer Use Aider edits files, runs shell commands and scrapes web pages into markdown with /web, but it does not drive a browser or operate software through a graphical interface. Sourceaider.chat/docs/usage/commands.htmlread 2026-09-29 |
||
|
OpenCodeBrowser & Computer Use The agent works through file operations, shell commands and MCP tools in the terminal, plus LSP servers in OpenCode 1. It has no browser control and cannot operate software that lacks a programmatic interface. Sourceopencode.ai/docs/toolsread 2026-10-22 |
||
Pricing snapshot
Sourced from the Index pricing dataset · open each vendor's profile for full detail.
| Pricing | A Aider |
O OpenCode |
|---|---|---|
|
Entry price Lowest public entry point |
Free. Open source under Apache 2.0, with no paid tier. | Free and open source with your own provider keys. OpenCode Go is $10 a month, or Go Plus $40 a month, for a curated model lineup. OpenCode Zen is pay as you go per million tokens, and Enterprise is per seat through sales. |
|
Pricing confidence How public the numbers are |
Public, exact | Public, exact |
|
Billing Primary billing axis |
Aider bills nothing. The only spend is model API token usage, paid directly to the chosen model provider. | Hybrid. The agent is free with the customer's own keys, OpenCode Go is a flat monthly plan with per model allowances, OpenCode Zen bills per million tokens against a prepaid balance, and Enterprise is per seat. |
|
Variable cost Workload / overage exposure |
Medium variable cost | Medium variable cost |
|
Free tier / trial Try before you buy |
Free tier
|
Free tier
|
|
Buying motion Self-serve vs sales call |
Self-serve | Self-serve |
|
Pricing verified When this pricing was last checked |
Product updates
Newest first, each linked to its source.
OpenCode
-
· Workflow orchestration
Worktree support reaches scripted runs in OpenCode v2.2.6, so the opencode run command can start a headless or CI session in a fresh git worktree, named or not.
Source -
· Agent capability
OpenCode v2.2.1 adds a /goal command in the terminal app and Desktop that keeps a session working toward a stated objective until a reviewer confirms it is met.
Source -
· Agent capability
OpenCode v2.0.27 adds built in Code Mode tools that let the agent create Git worktrees, list them, move sessions into them and remove them.
Source
More comparisons with Aider or OpenCode
Other matchups in coding agents
Not the pairing you were after? These compare a different set of coding agents on the same 14 capabilities.