PrisAImSearch
Anomaly / Coding & agents

OpenCode

An open-source coding agent with terminal, desktop and web interfaces that can connect to hosted providers or local model runtimes.

localcloudSources checked 2026-10-27
Official product or project
Anomaly

What OpenCode is

OpenCode is an open-source coding agent that can work with a software repository through terminal, desktop and web interfaces. A repository is the project's code and supporting files. The agent uses a connected model to interpret a task and work with development tools, rather than merely suggesting a line of text.

Its provider choices are part of the appeal: compatible hosted models or local runtimes can supply the model. The OpenCode interface, the model service and the environment where commands run are separate parts of the workflow. Choosing an open-source client does not make a hosted model call local.

Read the official documentation

How it fits into a workflow

An illustrative task is changing one small behavior in a repository. Give the agent the intended behavior and a test that would demonstrate it, then inspect the changed files and run the relevant checks. The model's explanation is useful context, but the diff—the actual before-and-after file changes—is the evidence of what it did.

Examples described as illustrative or proposed trials are editorial suggestions. Documented real builds, when available, are linked separately below.

Requirements, cost and limitations

You need the client, access to a compatible model and a suitable development environment. Model usage and local hardware can have separate costs from the client. V1 and V2 configuration differ, and V2 default policies are permissive: explicitly restrict shell access, external directories and sensitive files before a first experiment in a disposable branch or project copy.

Check current access and pricing

When to choose it and what to compare

Consider OpenCode when provider flexibility and its interfaces fit your workflow. Claude Code or Codex offer different product ecosystems, while Aider emphasizes a terminal pair-programming loop. Compare a representative repository task and review burden instead of treating repository stars as proof of coding reliability.

OpenCode vs Claude Code

Practice a related technique

These tutorials use fictional samples and are separate from the real implementations linked on this site.

PRACTICE WORKSHOPBuild a tiny site from a testable brief
Technical details and documented capabilities

These details come from the linked sources, checked 2026-10-27. Open the current documentation before planning a deployment or migration.

Type
Coding & agents
Runs on / through
macOS, Windows, Linux, Web
Execution choices
local, cloud
License or access terms
MIT (agent code; model/provider terms are separate)
  • Provider choice lets a team separate its agent interface from model purchasing.
  • Documented discovery supports Ollama, LM Studio and vLLM.
Read the applicable terms

Focused source review : Documented access, licensing and tool permissions. Documentation review, not hands-on product testing.

Sources and evidence

Product facts are based on the following published sources, checked 2026-10-27. Workflow suggestions and comparisons are editorial interpretation; PrisAIm has not independently benchmarked this product.

OpenCode V2 introduction and platforms Provider and local-runtime configuration Permissions and default policy Maintainer repository and MIT license
CONTINUE YOUR RESEARCH

Related tools and next steps

Compare compatible entries
Anthropic
Coding agent

Claude Code

Anthropic's coding agent reads repositories, edits files and runs development commands from terminal, IDE, desktop or web surfaces.

local / cloudExplore profile
OpenAI
Coding agent

Codex CLI

OpenAI's terminal coding agent inspects and edits local repositories, runs development tools and supports interactive or scripted workflows.

local / cloudExplore profile
Ollama
Model runtimes

Ollama

Run supported language models on your computer, expose a local API, or explicitly select Ollama-hosted cloud models.

local / cloudExplore profile
Start here: AI basicsNewsCompareWorkshopsDiscovery methodsSearch everything
Browser-local saved list

Clear your saved entries?

This removes your list from this browser only. You can save entries again at any time.