The open source AI coding agent.
This is a personal fork of OpenCode. It is not published to npm, Homebrew, or any other package manager, and has no releases of its own — build it from source.
git clone https://github.com/ebitenkensi/vanamei-code.git
cd vanamei-code
bun installRun it in development mode:
bun devOr compile a standalone binary:
./packages/opencode/script/build.ts --single
./packages/opencode/dist/opencode-<platform>/bin/opencodeReplace <platform> with your platform (e.g. darwin-arm64, linux-x64).
Requirements: Bun 1.3+. See CONTRIBUTING.md for the full development workflow.
The desktop app (packages/desktop, an Electron wrapper around packages/app) isn't built or distributed for this fork. Run it from source instead:
bun run dev:desktopOpenCode includes two built-in agents you can switch between with the Tab key.
- build - Default, full-access agent for development work
- plan - Read-only agent for analysis and code exploration
- Denies file edits by default
- Asks permission before running bash commands
- Ideal for exploring unfamiliar codebases or planning changes
Also included is a general subagent for complex searches and multistep tasks.
This is used internally and can be invoked using @general in messages.
Learn more about agents.
For more info on how to configure OpenCode, head over to our docs.
If you're interested in contributing to OpenCode, please read our contributing docs before submitting a pull request.
If you are working on a project that's related to OpenCode and is using "opencode" as part of its name, for example "opencode-dashboard" or "opencode-mobile", please add a note to your README to clarify that it is not built by the OpenCode team and is not affiliated with us in any way.
