DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to build a code change with the default full-access agent with Opencode

Use the build agent, the default, to make changes in a project after reviewing a plan.

Short answer: Run npm i -g @opencode/cli@latest; then Change into the project folder and start OpenCode with opencode; Confirm the build agent is selected, since it is the default; press Tab to switch if the plan agent is active. All steps.

Credentials. The build agent has full access, so it can read any files in the project folder, including secrets stored there.

Who it is forA developer ready to implement a change that has already been scoped.

The problemWriting and running the change across several files takes time, and an agent with full access can do it faster when pointed at a clear goal.

The outcomeThe requested change applied to the project, which you then review with your normal tools.

What you need first

  • 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)

Steps

  1. Run npm i -g @opencode/cli@latest.
  2. Change into the project folder and start OpenCode with opencode. (inferred, check the README)
  3. Confirm the build agent is selected, since it is the default; press Tab to switch if the plan agent is active.
  4. Describe the change and the files or behavior it should affect.
  5. Review every diff with your version control tool before committing.

Prompt for your agent

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.

Caveat. The README describes the build agent as full access but does not list safeguards for it, so review its edits and commands yourself.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for anomalyco/opencode and "Build a code change with the default full-access agent"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer