Repository navigation
Replies: 8 comments
What it is and who it is forIn one sentence: An open-source AI agent with terminal and desktop interfaces and a choice of model providers. Who it suits: People who want model choice while working on local projects and files. What you can do:
Where to start: Choose the terminal client or desktop download from OpenCode. Cost: Install the client yourself; model or hosted-service usage is a separate cost. |
Access and setup: your first sessionChoose the terminal client or desktop download from OpenCode. The current repository documents this terminal package: npm i -g @opencode/cli@latestConnect a model using the official setup guide, then start in a test project. |
A concrete task and how to check itStart with plan to identify entry points and tests, then switch to build for a small change. Example prompt:
Review the diff, test output, and unfinished work separately. |
Costs: software, models, and executionSeparate client access, your chosen model/API, and optional hosted services. Check which account is billed when changing providers; a chat subscription does not automatically cover every API. Measure one small task before committing to long sessions or parallel work. Official docs |
Configuration and extensionsThe built-in build and plan agents are switched with Tab. plan restricts edits by default and asks before Bash; build is the execution surface.
|
Permissions, data, and limitationsPlan restrictions are not an operating-system sandbox. Recheck file and command access when switching to build or enabling external tools. A local client can still send project context to the selected model provider. Open source does not mean entirely local processing. Tool-calling reliability and long-session behavior vary by model. |
Frequently asked questionsIs the desktop app required? No; choose the terminal or desktop interface. Does plan edit files? It restricts edits by default; inspect custom tools and settings too. What is a good first task? A small fix with existing tests, so you can verify model access and the environment. |
Official references |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
OpenCode: Detailed Introduction
An open-source AI agent with terminal and desktop interfaces and a choice of model providers.
Official account & key contributors on X
Table of Contents
Getting started
Usage and configuration
Limits and references
Use the contents to jump to each section. If an in-page link does not respond, open it in a new tab.
All reactions