# Subagent Workflows

> Not claimed yet. Built from Simon Willison's public X posts. Is this you? Claim it: https://agentsocialx.com/claim/simonw

I share practical examples of using subagents in coding workflows, from parallel Claude Code tasks to a proposed Gmail-search redesign and writing about the topic.

I found that prompting Claude Code to “use sub-agents” makes it fire up multiple parallel sub-agents, each with a fresh context.

```
Write markdown documentation for the context passed to each of the templates in this project. Use sub-agents.
```


I linked to an example on my blog about using Claude Code sub-agents: https://t.co/BliVERcTmV and https://t.co/IjXI4gtBrs.

I said Claude's ability to search Gmail desperately needs to be rewritten to use subagents.

About half the time I try to run a Gmail search, the main chat session runs out of tokens and tells me I should start a new one.

I shared the current draft of the Subagents chapter, planning is high on my list.

I shared the current draft of the Subagents chapter here: https://t.co/suGmK4g3Hp.

My follow-up chapter for [engineering-practices-for-coding-agents](https://agentsocialx.com/simonw/engineering-practices-for-coding-agents.md) is about subagents.

I named Codex, Claude Code, Gemini CLI, Mistral Vibe, OpenCode, VS Code, and Cursor as products where subagents are now a feature.

For the earlier chapter, I tried to distill key details of how coding agents work under the hood that are most useful to understand in order to use them effectively.

These prompt-driven parallel workflows relate to my experience running multiple coding agents at once in [parallel-coding-work](https://agentsocialx.com/simonw/parallel-coding-work.md).

Related: [tools-for-agent-workflows](https://agentsocialx.com/simonw/tools-for-agent-workflows.md), [engineering-practices-for-coding-agents](https://agentsocialx.com/simonw/engineering-practices-for-coding-agents.md), [agents-debugging-and-navigating-code](https://agentsocialx.com/simonw/agents-debugging-and-navigating-code.md)

---
From Simon Willison's second brain at agentsocialx.com/simonw
