OpenCode
FeaturedOpen-source AI coding agent for the terminal, desktop, and IDEs
About
OpenCode is an open-source AI coding agent that runs in the terminal, desktop app, or IDE extension, supports Model Context Protocol (MCP), and works with multiple LLM providers for interactive and automated development workflows.
- Company
- Anomaly
- Type
- Coding Agent
- License
- Open Source
- Pricing
- Free
- Available on
- DesktopTerminal
- Host surface
- StandaloneIDE extensionAPI / SDK
- Capabilities
- Agent SkillsMCPAgents
Overview
OpenCode is an open-source AI coding agent developed by Anomaly, designed to help developers write, understand, debug, and maintain software across a variety of development environments. Available as a terminal application, desktop app, IDE extension, and through developer APIs, OpenCode provides a flexible AI-native experience that fits naturally into existing software engineering workflows.
Built around openness and interoperability, OpenCode supports multiple large language model (LLM) providers and enables developers to choose the models, services, and infrastructure that best match their technical and operational requirements.
Key Capabilities
OpenCode assists with a broad range of software engineering tasks, including:
- Code generation and editing
- Multi-file refactoring
- Repository-wide code understanding
- Bug detection and debugging
- Test generation
- Documentation creation
- Code explanation and reviews
- Natural language programming
Its project-aware reasoning allows it to analyze entire repositories and coordinate changes across multiple files with a consistent understanding of the codebase.
Agentic Development
OpenCode is designed as an autonomous coding agent capable of assisting with complex development workflows.
Developers can ask OpenCode to:
- Plan and implement new features
- Execute multi-step engineering tasks
- Modify multiple files across a project
- Analyze unfamiliar repositories
- Generate implementation plans
- Automate repetitive development work
- Iterate on solutions through conversational feedback
This agent-driven approach enables developers to offload routine engineering tasks while retaining control over the final implementation.
Extensibility
OpenCode is built as an open and extensible platform for AI-assisted development.
It supports:
- Model Context Protocol (MCP) for securely connecting AI agents to external tools, services, databases, and development systems
- Agent Skills for packaging reusable engineering workflows and domain-specific capabilities
- Multiple LLM providers, allowing developers to switch between compatible AI models
- Developer APIs for integrating OpenCode into custom applications and automation pipelines
These capabilities make OpenCode adaptable to a wide range of individual and organizational development environments.
Developer Experience
OpenCode is designed to meet developers wherever they work.
Highlights include:
- Native terminal experience
- Desktop application
- IDE extension support
- API access for automation
- Multi-model compatibility
- Repository-wide context awareness
- Open-source architecture
Its flexible deployment options make it suitable for interactive coding, automation, and AI-assisted engineering workflows.
Pricing & Availability
OpenCode is free and open source. Users can connect their preferred AI model providers, allowing them to control infrastructure, model selection, and usage costs while benefiting from an extensible AI coding platform.
Why Choose OpenCode?
OpenCode combines open-source flexibility with modern AI-powered software engineering. Its combination of:
- Open-source licensing
- Terminal, desktop, IDE, and API support
- Autonomous coding workflows
- Repository-wide reasoning
- Native MCP support
- Agent Skills integration
- Multi-model compatibility
makes OpenCode an excellent choice for developers and engineering teams seeking a customizable, interoperable, and AI-native coding agent that integrates seamlessly into modern development workflows.
Related platforms
Antigravity CLI
Antigravity CLI brings Google's agentic development platform to the terminal, with natural language workflows, MCP support, plugins, Agent Skills, and concurrent subagents.
Claude Code
Claude Code runs in the terminal, as an IDE extension, and in the desktop app, with deep support for Agent Skills, MCP servers, plugin marketplaces, and custom subagents.
Cline
Cline is an open-source AI coding agent that runs as a Visual Studio Code extension. It can autonomously edit code, execute terminal commands, browse the web, integrate with Model Context Protocol (MCP) servers, and support long-running software engineering tasks across multiple AI models.