feat: add subagent documentation to deploy page#3615
feat: add subagent documentation to deploy page#3615Sydney Runkle (sydney-runkle) merged 5 commits intomainfrom
Conversation
…cture, configuration, inheritance, memory isolation, structured output, and validation rules. Co-authored-by: Sydney Runkle <54324534+sydney-runkle@users.noreply.github.com>
|
Mintlify preview ID generated: preview-opensw-1776430864-9f11f1c |
|
Thanks for opening a docs PR, Open SWE (@open-swe)[bot]! When it's ready for review, please add the relevant reviewers:
|
Co-authored-by: Naomi Pentrel <5212232+npentrel@users.noreply.github.com>
|
Mintlify preview ID generated: preview-opensw-1776437113-983bd4d |
| | --- | --- | --- | | ||
| | Model | Yes | Override with `model` in the subagent's `deepagents.toml` | | ||
| | Tools | Yes | Override by adding `mcp.json` to the subagent directory | | ||
| | Skills | No | Declare explicitly in the subagent's own `skills/` directory | |
There was a problem hiding this comment.
I thought subagents automatically inherit the main agent's skills unless skills are explicitly passed? Sydney Runkle (@sydney-runkle)
There was a problem hiding this comment.
nope, we're following CC model
https://code.claude.com/docs/en/agent-sdk/subagents#what-subagents-inherit
| ## Gotchas | ||
|
|
||
| - **AGENTS.md and skills are read-only at runtime.** Edit source files and redeploy to update them. The per-user `AGENTS.md` at `/memories/user/AGENTS.md` is the exception — it is writable by the agent. | ||
| - **Full rebuild on deploy:** `deepagents deploy` creates a new revision on every invocation. Use `deepagents dev` for local iteration. | ||
| - **Sandbox lifecycle:** Thread-scoped sandboxes are provisioned per thread and will be re-created if the server restarts. Use `scope = "assistant"` if you need sandbox state that persists across threads. | ||
| - **MCP: HTTP/SSE only.** Stdio transports are rejected at bundle time. |
There was a problem hiding this comment.
I left comments on a previous PR to remove these. Why are they still here?
There was a problem hiding this comment.
ah not sure, mistake! will remove
Co-authored-by: Naomi Pentrel <5212232+npentrel@users.noreply.github.com>
Co-authored-by: Sydney Runkle <54324534+sydney-runkle@users.noreply.github.com>
|
Mintlify preview ID generated: preview-opensw-1776437817-f9cc8ce |
Co-authored-by: Sydney Runkle <54324534+sydney-runkle@users.noreply.github.com>
|
Mintlify preview ID generated: preview-opensw-1776437990-4cd8b04 |
Description
Adds comprehensive subagent documentation to the "Deploy with the CLI" page based on the implementation in langchain-ai/deepagents#2786. Subagents are auto-discovered from a
subagents/directory and let the main agent delegate specialized tasks to isolated child agents with their own system prompts, skills, and MCP tools. By default, subagents inherit model and tools from the main agent but not skills.Test Plan
Opened collaboratively by Sydney Runkle and open-swe.