Workspace-aware
OpenCode reads the code that already exists before proposing changes, reducing guesswork and keeping edits grounded in the repository.
PROJECT OVERVIEW
OpenCode is a pragmatic coding assistant designed for developers who prefer working directly in their workspace. It reads local context, makes focused edits, and stays aligned with the structure of the project at hand.
FEATURES
OpenCode reads the code that already exists before proposing changes, reducing guesswork and keeping edits grounded in the repository.
Changes stay small and reviewable. The assistant prefers the minimal correct fix rather than broad refactors that are hard to validate.
Testing and command-line checks are part of the workflow, helping catch regressions before changes are treated as done.
WORKFLOW
Search the workspace, read the relevant files, and understand existing conventions before touching code.
Apply focused patches that fit the current codebase instead of introducing extra layers or unnecessary abstractions.
Run tests, builds, or targeted commands to confirm the change works end to end and behaves as intended.
PRINCIPLES
The goal is to solve the task with the smallest reliable change, not to inflate the design with avoidable complexity.
OpenCode keeps the user informed while working, treats existing project state carefully, and avoids destructive operations by default.
Project conventions, file structure, and current worktree state all shape the final implementation and verification path.
Static delivery, minimal dependencies, and straightforward markup keep this page easy to host, cache, and maintain.