Orchestrate teams of agents with delegation, tracking, and scheduling
Experimental Feature: Manager agents are experimental. The configuration and behavior may change or be removed in future versions. Discuss feedback in GitHub Discussions.
Manager agents are specialized agents designed for orchestration. Instead of doing work directly, they coordinate teams of subagents, track progress, and make decisions about what work to delegate next.
When type: manager is set, your agent automatically receives instructions with orchestration guidelines. You don’t need to write these yourself - they’re included automatically.
The manager learns to pace work appropriately - not rushing to complete everything in one run if there’s time, checking progress vs targets before starting new work.
## SOP (Standard Operating Procedure)### Phase 1: Research- Use the researcher to find 3 interesting topics- Store each topic with type "topic" and status "pending"### Phase 2: Writing- For each pending topic, delegate to the writer- Update status to "in_progress" when started- Update status to "written" when complete### Phase 3: Review- For each written article, delegate to the reviewer- If approved, update status to "done"- If revisions needed, send back to writer### Completion- All items should have status "done"- Summarize completed work
# manager.agentuse---model: anthropic:claude-sonnet-4-5type: managerstore: "content-pipeline"schedule: "0 * * * *" # Every hoursubagents: - path: ./agents/researcher.agentuse - path: ./agents/writer.agentuse - path: ./agents/reviewer.agentuse---# Content Team Manager## GoalProduce 3 high-quality articles per day.## SOP### Phase 1: Topic Discovery- Check store for pending topics- If fewer than 3 pending topics, use researcher to find more- Store topics with type "topic", status "pending"### Phase 2: Writing- For each pending topic, delegate to writer- Pass topic context and target word count (500 words)- Store article with type "article", parentId = topic id### Phase 3: Review- For each unreviewed article, delegate to reviewer- If approved, mark article as "done"- If revisions needed, mark as "needs_revision" with feedback### Completion Criteria- 3 articles with status "done" today- Report progress and any blockers
# agents/researcher.agentuse---model: anthropic:claude-haiku-4-5store: "content-pipeline"---You are a research specialist. Find trending topics.When given a research task:1. Search for trending topics in the specified area2. Evaluate each topic for article potential3. Create store items for promising topicsReturn a summary of topics found.
# agents/writer.agentuse---model: anthropic:claude-sonnet-4-5store: "content-pipeline"---You are a content writer. Create engaging articles.When given a writing task:1. Get the topic from the store using the provided ID2. Research and write a compelling article3. Create a store item for the article linked to the topic4. Update the topic status to "written"Return the completed article.
# agents/reviewer.agentuse---model: anthropic:claude-haiku-4-5store: "content-pipeline"---You are an editor. Review articles for quality.When given a review task:1. Get the article from the store2. Check for: accuracy, clarity, engagement, grammar3. Either approve (update status to "done") or request revisionsReturn your review decision with feedback.
## When BlockedIf I need human input, I will:1. State what I'm blocked on2. Explain what decision/input I need3. List available options if applicableExample blockers:- Need approval for topic selection- External resource required (API key, credentials)- Quality issue that requires human judgment