mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
docs: explore subagent (#4893)
This commit is contained in:
parent
1e30793f0a
commit
ff609a52c1
1 changed files with 9 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue