Skip to content

Conversation

dhofheinz
Copy link

relates to: #882

Adds Agents section to README documenting the three built-in agents (build, plan, general).

Highlights plan agent's read-only mode for safe codebase exploration:

  • Denies file edits by default
  • Asks permission before running bash commands

Links to full documentation at https://opencode.ai/docs/agents


- **build** (default) - Full access agent for development work
- **plan** - Read-only agent for safe code exploration and analysis
- Denies file edits by default
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is in some ways, false, there is no edit tool at all for plan agent so I'd prolly reword this

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see your point. Happy to reword if appropriate but it sounds like it may not be necessary. Thank you for your feedback.

@rekram1-node
Copy link
Collaborator

Also @jayair may have opinions on putting this in readme, I think for most things having single source of truth for docs would be easiest

@dhofheinz
Copy link
Author

That's a fair point about single source of truth. The README currently has minimal documentation by design.

Happy to close this if you prefer keeping all agent docs at https://opencode.ai/docs/agents.

@jayair - let me know your preference.

@Warrioroflove671

This comment was marked as spam.

@jayair
Copy link
Contributor

jayair commented Oct 11, 2025

Yeah I need to review the README anyway, so I'll take a look at this too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants