Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,21 @@ OPENCODE_INSTALL_DIR=/usr/local/bin curl -fsSL https://opencode.ai/install | bas
XDG_BIN_DIR=$HOME/.local/bin curl -fsSL https://opencode.ai/install | bash
```

### Agents

OpenCode includes three built-in agents you can switch between:

- **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.

- Asks permission before running bash commands
- Ideal for exploring unfamiliar codebases or planning changes
- **general** - Subagent for complex searches and multi-step tasks

Switch agents using `Tab` or `@mention` them in messages. Configure in `opencode.json`.

Learn more about [customizing agents](https://opencode.ai/docs/agents).

### Documentation

For more info on how to configure OpenCode [**head over to our docs**](https://opencode.ai/docs).
Expand Down