The open source coding agent.
TypeScript
docs: clarify agent tool access and explore vs general distinction (#9300)
Alan Pogrebinschib4d4a1ea7d2e
diff --git a/packages/web/src/content/docs/agents.mdx b/packages/web/src/content/docs/agents.mdxindex 22bed7f16a4..ea1f779cd37 100644--- a/packages/web/src/content/docs/agents.mdx+++ b/packages/web/src/content/docs/agents.mdx@@ -21,7 +21,7 @@ There are two types of agents in OpenCode; primary agents and subagents.### Primary agents-Primary agents are the main assistants you interact with directly. You can cycle through them using the **Tab** key, or your configured `switch_agent` keybind. These agents handle your main conversation and can access all configured tools.+Primary agents are the main assistants you interact with directly. You can cycle through them using the **Tab** key, or your configured `switch_agent` keybind. These agents handle your main conversation. Tool access is configured via permissions — for example, Build has all tools enabled while Plan is restricted.:::tipYou can use the **Tab** key to switch between primary agents during a session.@@ -72,7 +72,7 @@ This agent is useful when you want the LLM to analyze code, suggest changes, or_Mode_: `subagent`-A general-purpose agent for researching complex questions, searching for code, and executing multi-step tasks. Use when searching for keywords or files and you're not confident you'll find the right match in the first few tries.+A general-purpose agent for researching complex questions and executing multi-step tasks. Has full tool access (except todo), so it can make file changes when needed. Use this to run multiple units of work in parallel.---@@ -80,7 +80,7 @@ A general-purpose agent for researching complex questions, searching for code, a_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.+A fast, read-only agent for exploring codebases. Cannot modify files. Use this when you need to quickly find files by patterns, search code for keywords, or answer questions about the codebase.---