- Developers who want a model-agnostic coding agent with maximum provider flexibility
- Teams that need a privacy-first agent with no code storage or telemetry
- Engineers who want both terminal and IDE-based agent workflows
cat README.md
OpenCode
Open-source AI coding agent that connects to 75+ AI providers and runs in your terminal, IDE, or desktop with LSP integration and multi-session support.
curl -fsSL https://opencode.ai/install | bashopencode --helpWaiting for input...What makes OpenCode different
75+ AI provider support
Works with any AI provider — Anthropic, OpenAI, Google, Groq, Ollama local models, and 70+ more through an extensible provider system.
Developers can use existing subscriptions (ChatGPT Plus, Copilot) or choose the best model for each task without being locked into a single provider.Multi-surface workflow
Available as a terminal TUI, VS Code extension, and desktop app with seamless session sync across all surfaces.
Developers can start a task in the terminal, refine it in the IDE, and share results via session links — all from the same agent.Privacy-first design
OpenCode does not store any code or context data. No telemetry, no data retention, and full local control.
Privacy-sensitive teams can use OpenCode in regulated environments without worrying about data leaving their control.LSP integration
Automatically loads the right Language Server Protocol configurations for the LLM, giving it deeper code understanding.
Better context leads to more accurate edits and fewer hallucinations when working with unfamiliar codebases.Your first command
curl -fsSL https://opencode.ai/install | bashReady. Run --help to explore.How developers use OpenCode
Multi-provider experimentation
Switch between Claude, GPT, Gemini, and local models mid-session to compare results for different coding tasks.
Privacy-sensitive development
Use OpenCode with local models via Ollama for fully offline, zero-exfiltration coding assistance.
Team collaboration via session sharing
Share session links with teammates for code review, debugging help, or reproducing issues.
How OpenCode compares
OpenCode supports 75+ providers and stores no code data. Claude Code offers deeper Anthropic model integration but locks you into a single provider.
Questions
Q: What should I check before using OpenCode?
Start with one safe workflow for OpenCode. Inspect official setup instructions, required credentials, execution logs, approval points, and failure recovery before expanding from a sandbox task into production automation.
Q: Is OpenCode open source?
OpenCode is listed with MIT based on the official source links in this profile. Re-check the repository, model card, or docs before production use.
Q: Who should evaluate OpenCode?
OpenCode is most worth evaluating for developers who want a model-agnostic coding agent with maximum provider flexibility.
Should you use OpenCode?
- Users who need a fully managed cloud-hosted coding agent
- Teams that prefer single-model deep integration over multi-provider flexibility
- Verified 2026-06-04
- License: MIT
- Repo: anomalyco/opencode
- Open-source signal
local, cloud
shell/files, memory, external services
Local first, MCP
Structured decision data for OpenCode
This packet is the compact machine-readable view agents should use before following source links or taking action.
mcp, local inference, workflow orchestration
open source, local first, mcp compatible
local, cloud
shell/files, memory, external services
Coding agent workflow, Connector or protocol layer, Local or private AI stack, Memory or RAG workflow
What OpenCode does
What it is
OpenCode is an open-source AI coding agent built in Go that connects to 75+ AI providers. It runs in your terminal, as a VS Code extension, or as a desktop app, with LSP integration for deeper code understanding and multi-session support for parallel agent workflows.
Why it matters
The coding agent space has been dominated by tools that lock you into a single model provider. OpenCode breaks that pattern by supporting 75+ providers, including the ability to use existing ChatGPT Plus and Copilot subscriptions. Combined with its privacy-first architecture (no code stored, no telemetry), it represents a new model for what an open-source coding agent should be.
How to evaluate it
Start with one safe workflow for OpenCode. Inspect official setup instructions, required credentials, execution logs, approval points, and failure recovery before expanding from a sandbox task into production automation.
Known metadata and operating surface
These fields are separated from editorial interpretation so agents can reason over facts and missing checks.
Where OpenCode fits in an agent stack
Coding agent workflow
OpenCode has multiple signals for coding agent workflow, including matching tags, capabilities, category, or positioning.
- Run a small repository change and inspect the diff, tests, and rollback path.
- Confirm official docs, current maintenance, license, and runtime constraints before production use.
Connector or protocol layer
OpenCode has multiple signals for connector or protocol layer, including matching tags, capabilities, category, or positioning.
- Connect one low-risk service, then inspect schemas, auth scope, errors, and logs.
- Confirm official docs, current maintenance, license, and runtime constraints before production use.
Local or private AI stack
OpenCode has multiple signals for local or private ai stack, including matching tags, capabilities, category, or positioning.
- Verify hardware requirements, data path, storage, and whether all calls stay in your environment.
- Confirm official docs, current maintenance, license, and runtime constraints before production use.
Memory or RAG workflow
OpenCode has multiple signals for memory or rag workflow, including matching tags, capabilities, category, or positioning.
- Create, update, retrieve, correct, and delete memory or retrieval objects with real data.
- Confirm official docs, current maintenance, license, and runtime constraints before production use.
Reusable skill workflow
OpenCode has at least one signal for reusable skill workflow, but should be checked against a real task before adoption.
- Run one skill end to end and check whether it produces evidence or structured output.
- Confirm official docs, current maintenance, license, and runtime constraints before production use.
Browser automation
OpenCode is not primarily positioned for browser automation in the current metadata.
- Run one non-sensitive website task and inspect clicks, waits, retries, and changed URLs.
- Confirm official docs, current maintenance, license, and runtime constraints before production use.
What an agent should inspect
Likely inputs
- Repositories, files, issues, terminal output, and test results
- Documents, user facts, entities, context, or retrieval queries
- Tool schemas, API requests, service resources, and auth scopes
- Prompts, messages, documents, images, or model inputs
- Official setup instructions and a small real workflow
Likely outputs
- Diffs, commits, explanations, test results, or review notes
- Retrieved context, memory updates, graph relations, or citations
- A decision on whether this resource fits the target workflow
Sources, claims, and missing checks
Claims are marked separately from source links so future crawlers and reviewers can update them without rewriting the page.
Repository source for code, license, issues, releases, and implementation details.
Homepage homepageOfficial or project-controlled source for this resource profile.
Docs docsDocumentation source for setup, API shape, and operational behavior.
OpenCode is listed as open source.
License metadata: MITOpenCode has a recorded GitHub repository: anomalyco/opencode.
Resource facts and GitHub source link.OpenCode supports these recorded deployment modes: local, cloud.
OpenAgent decision signal metadata.OpenCode is tagged with mcp, local inference, workflow orchestration capabilities.
OpenAgent capability taxonomy.- Repository freshness has not been recorded.
How to start evaluating OpenCode
Inspect repository
Check license, recent activity, issues, examples, and security-sensitive code paths.
Open sourceOpen Homepage
Start from the official source before adopting third-party instructions.
Open sourceRead setup docs
Use docs as the source of truth for installation and supported interfaces.
Open sourceInstall OpenCode
Install via the official script, then run 'opencode' in any project directory. Supports 75+ providers and works with existing subscriptions.
curl -fsSL https://opencode.ai/install | bash Alternatives and nearby resources
Use related resources to compare category fit, license, deployment model, and first-workflow behavior.
Common questions about OpenCode
What should I check before using OpenCode?
Start with one safe workflow for OpenCode. Inspect official setup instructions, required credentials, execution logs, approval points, and failure recovery before expanding from a sandbox task into production automation.
Is OpenCode open source?
OpenCode is listed with MIT based on the official source links in this profile. Re-check the repository, model card, or docs before production use.
Who should evaluate OpenCode?
OpenCode is most worth evaluating for developers who want a model-agnostic coding agent with maximum provider flexibility.
Who should use OpenCode?
Developers who want a privacy-first, model-agnostic coding agent that works across terminal, IDE, and desktop, especially those who already have ChatGPT Plus or Copilot subscriptions.
How does OpenCode compare to other coding agents?
OpenCode's main differentiators are its 75+ provider support, privacy-first design, and multi-surface availability. It trades deep single-provider integration for maximum flexibility.