What do you want to do?
5 use cases
-
Explore an unfamiliar codebase without risking edits
Use the read-only plan agent to map a new repo and plan changes before touching any files.
- Opencode
- Software and DevOps
- Intermediate
View prompt
Using the OpenCode repo at anomalyco/opencode, start the plan agent in <project-path> and ask it to summarize the code structure and list the files that would need changes for <task>. Expected output: a structured summary plus a numbered change plan. Verify that no files were edited, since the plan agent denies file edits by default.
-
Hand multistep code searches to a subagent
Call the built-in general subagent with @general to run complex searches across a repo.
- Opencode
- Software and DevOps
- Intermediate
View prompt
In the anomalyco/opencode CLI, send a message beginning with @general asking it to find every place <symbol-or-setting> is read or written in <project-path>. Expected output: a list of file paths and line references with a one-line note on each. Verify by opening two of the listed files and confirming the references match.
-
Build a code change with the default full-access agent
Use the build agent, the default, to make changes in a project after reviewing a plan.
- Opencode
- Software and DevOps
- Intermediate
View prompt
Using the anomalyco/opencode build agent in <project-path>, implement <change description> and summarize the files you edited. Expected output: a list of changed files and a one-paragraph explanation. Verify by running the project's own test command yourself and reviewing the diff before committing.
-
Install the OpenCode desktop app for daily use
Download the beta desktop app for your platform and open it without using a terminal.
- Opencode
- Software and DevOps
- Beginner
View prompt
Install the OpenCode desktop app from opencode.ai/download for <platform> in the anomalyco/opencode project. Expected output: the app launches and shows its main window. Verify that the installed version matches the download you chose for your architecture (Apple Silicon or Intel on macOS).
-
Install OpenCode into a chosen directory on a shared machine
Use the install script with OPENCODE_INSTALL_DIR to place the binary where you want it.
- Opencode
- Software and DevOps
- Advanced
View prompt
Install OpenCode from the anomalyco/opencode install script into <install-directory> by setting OPENCODE_INSTALL_DIR. Expected output: an opencode binary in that directory. Verify with the install directory check you choose, and confirm that no earlier install takes precedence on the PATH.
How to use Opencode
- Check you have what it needs: A terminal on macOS, Linux, or Windows, or the desktop app installer for your platform; One package manager available: npm, bun, pnpm, yarn, or brew; A local project folder you want the agent to work in.
- Open anomalyco/opencode on GitHub and read the README and license.
- Run
npm i -g @opencode/cli@latest(or usebrew install anomalyco/tap/opencode-v2on macOS and Linux). - Change into the project folder and start OpenCode with
opencode. (inferred, check the README) - Press the
Tabkey until the plan agent is selected. - Ask it to map the main modules, entry points, and how the tests are run.
These steps come from our top use case, Explore an unfamiliar codebase without risking edits, which also has a copy-paste agent prompt.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeOpencode alternatives · Best AI repos for Software and DevOps
About this repo
- Who it is forSoftware developers and engineering teams who want an AI coding agent they can inspect, run locally, and switch between read-only and full-access modes.
- Why it is hot
- LanguageTypeScript
- Sourcegithub.com/anomalyco/opencode · Back to Hot repos
Requirements
- A terminal on macOS, Linux, or Windows, or the desktop app installer for your platform
- One package manager available: npm, bun, pnpm, yarn, or brew
- A local project folder you want the agent to work in
- Configuration for OpenCode as described in the docs at opencode.ai/docs (the README only links to them)
Maintain Opencode? Add the Featured on Deduped badge
Paste this into your README:
[](https://dedupedai.com/use-cases/anomalyco-opencode/?ref=badge)
Questions about Opencode
What is Opencode?
OpenCode is an open source AI coding agent that runs as a command-line tool and as a beta desktop app. It is an open-source project on GitHub: https://github.com/anomalyco/opencode.
Who is Opencode for?
Software developers and engineering teams who want an AI coding agent they can inspect, run locally, and switch between read-only and full-access modes.
What can I do with Opencode?
5 use cases so far, for example: Explore an unfamiliar codebase without risking edits; Hand multistep code searches to a subagent; Build a code change with the default full-access agent. Each has steps and a copy-paste agent prompt.
What do I need to run Opencode?
A terminal on macOS, Linux, or Windows, or the desktop app installer for your platform; One package manager available: npm, bun, pnpm, yarn, or brew; A local project folder you want the agent to work in; Configuration for OpenCode as described in the docs at opencode.ai/docs (the README only links to them).
What are alternatives to Opencode?
Other hot AI repos in Software and DevOps: Harness2, iFixAi, Orca, Diagram Design, AI Memory.
Is Opencode safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.