docs: explore subagent (#4893)

This commit is contained in:
Justin Vogt 2025-11-30 21:04:27 +01:00 committed by GitHub
parent 1e30793f0a
commit ff609a52c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -36,7 +36,7 @@ look at these below.
Subagents are specialized assistants that primary agents can invoke for specific tasks. You can also manually invoke them by **@ mentioning** them in your messages.
OpenCode comes with one built-in subagent, **General**. We'll look at this below.
OpenCode comes with two built-in subagents, **General** and **Explore**. We'll look at this below.
---
@ -76,6 +76,14 @@ A general-purpose agent for researching complex questions, searching for code, a
---
### Explore
_Mode_: `subagent`
A fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns, search code for keywords, or answer questions about the codebase.
---
## Usage
1. For primary agents, use the **Tab** key to cycle through them during a session. You can also use your configured `switch_agent` keybind.