[FEATURE]: Ability to override built-in "build" and "plan" agents #2823

Closed
opened 2026-02-16 17:37:22 -05:00 by yindo · 2 comments
Owner

Originally created by @gw0 on GitHub (Nov 12, 2025).

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

In OpenCode 1.0.61 it not possible to override the built-in "build" and "plan" agents with your own agent definitions (in .config/opencode/agent/build.md/plan.md). One can disable the build-in names and set them up under new names, but not reuse the same names.

Furthermore, it would make sense to also define built-in agents using the agent markdown definition syntax instead of with code. This would make it easier to understand and adjust their configurations.

Originally created by @gw0 on GitHub (Nov 12, 2025). ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request In OpenCode 1.0.61 it not possible to override the built-in "build" and "plan" agents with your own agent definitions (in `.config/opencode/agent/build.md`/`plan.md`). One can disable the build-in names and set them up under new names, but not reuse the same names. Furthermore, it would make sense to also define built-in agents using the agent markdown definition syntax instead of with code. This would make it easier to understand and adjust their configurations.
yindo added the discussion label 2026-02-16 17:37:22 -05:00
yindo closed this issue 2026-02-16 17:37:22 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 12, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #3895: Similar issue about built-in agent overrides not fully applying - specifically discusses overriding plan.md and configs not being properly applied
  • #3575: Bug report about overriding built-in agents not allowing permission overrides - also specifically mentions plan agent overrides

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Nov 12, 2025): This issue might be a duplicate of existing issues. Please check: - #3895: Similar issue about built-in agent overrides not fully applying - specifically discusses overriding plan.md and configs not being properly applied - #3575: Bug report about overriding built-in agents not allowing permission overrides - also specifically mentions plan agent overrides Feel free to ignore if none of these address your specific case.
Author
Owner

@gw0 commented on GitHub (Nov 13, 2025):

Closing as duplicate of #3575.

@gw0 commented on GitHub (Nov 13, 2025): Closing as duplicate of #3575.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2823