Native terminal UI AI coding agent with LSP support, multi-session capability, shareable links, and compatibility with 75+ LLM providers including Claude Pro.

Overview:

OpenCode is an open source AI coding agent designed to assist developers with software development tasks directly from the command line or its desktop application. The project addresses the need for an AI-powered assistant that can understand, modify, and analyze codebases within a developer's local environment. It is intended for developers and programmers who want an AI tool integrated into their workflow for both active coding and passive code exploration.

Core Features:

  • Build Agent: A full-access agent designed for active development work, capable of reading and modifying files.

  • Plan Agent: A read-only agent for analysis and code exploration that denies file edits by default and asks permission before running bash commands.

  • General Subagent: An internal agent for complex searches and multistep tasks, invocable via @general in messages.

  • Desktop Application (Beta): Available for macOS (Apple Silicon and Intel), Windows, and Linux with dedicated installers.

Use Cases:

  • Active development: Developers can use the build agent to modify code, add features, or fix bugs within an existing project.

  • Codebase exploration: Programmers new to a project can use the plan agent to safely analyze unfamiliar code without the risk of unintended edits.

  • Complex search and planning: The general subagent can handle multistep queries or searches across a codebase for planning refactors or understanding architecture.

Why It Matters:

As an open source AI coding agent, OpenCode provides developers with a transparent, locally-runable alternative to proprietary AI coding assistants. Its two-agent system (build for full access and plan for read-only analysis) offers a clear separation between editing and exploration modes, giving developers control over when and how the AI interacts with their code. The desktop application support makes it accessible outside of the terminal.

CondividiXLinkedInReddit

Strumenti correlati

Statistiche progetto

Stelle

152,984

Fork

17,661

Licenza

MIT

Metadati

Alternativa a
Claude Code