Reusable multi-agent orchestration workflow

Status Fixed / completed
Maintainer reply None cached
Activity 3 comments · opened May 10, 2026 · closed May 10, 2026

Claude Code issue draft: reusable multi-agent orchestration workflow

Problem

Claude Code can use subagents, commands, hooks, and model routing, but users
still need to manually describe a repeatable orchestration process for large
parallel tasks.

The desired workflow is:

  • strongest model plans and decomposes work;
  • cheaper subagents execute isolated tasks;
  • subagents start with zero context but receive detailed packets;
  • subagent questions route to the orchestrator;
  • the user is asked only when the orchestrator cannot answer;
  • final validation is run by independent verifier agents.

Proposed Claude Code capability

Add a project-level orchestration command such as /orchestrate backed by
project subagents and hooks.

The command should:

  1. Read project instructions and inspect the repository.
  2. Build a parallel work graph with dependency ordering.
  3. Generate task packets for each subagent:
  • goal and success criteria;
  • write scope;
  • forbidden paths;
  • exact commands to run;
  • assumptions/default decisions;
  • when to escalate;
  • final output contract.
  1. Route implementation to cheap models by default.
  2. Reserve the best model for decomposition, conflict resolution, integration,

and final review.

  1. Spawn validation agents after implementation.

Claude-native mapping

  • .claude/agents/: define reusable worker profiles such as planner,

implementer, validator, and integrator.

  • Slash commands: expose /orchestrate, /orchestrate:plan, and

/orchestrate:validate.

  • Hooks:
  • SessionStart: load orchestration defaults;
  • SubagentStart: inject task packet and local rules;
  • SubagentStop: collect result summaries;
  • Stop: continue integration if pending worker output remains.
  • Skills: package task-packet templates and validation checklists.
  • Model routing: use cheapest viable models for bounded tasks and stronger

models for planning/integration.

Question policy

Subagents should not ask the user directly. They should either use the documented
default or return:

QUESTION_FOR_ORCHESTRATOR:
<specific missing decision>
<why no safe default exists>
<what options are viable>

The orchestrator answers from local context when possible and asks the user only
when the decision is genuinely external.

Acceptance criteria

  • A project can define the orchestration process once and reuse it.
  • Subagents receive zero-context task packets that are detailed enough for cheap

model execution.

  • Work is parallelized without write-scope conflicts.
  • The orchestrator integrates results and runs validation waves.
  • User interruptions are minimized without bypassing necessary product/risk

decisions.

View original on GitHub ↗

3 Comments

kumaakh · 5 months ago

@douglas Please review
https://github.com/Apra-Labs/apra-fleet

  • It orchstrates subagents to dispatch work with cheaper models on the same device (local) or other rmachines (remote)
  • While planning the project it creates streaks of tasks which can use cheaper models.
  • It fecilitates dispatching work to other llm providers such as Gemini, again using model tiers
  • It also does checkpoint reviews of the long running tasks. using costlier models
  • It helps you maintain your secrets securely
douglas · 5 months ago

Closing this after revisiting the scope. Claude Code already has the relevant subagent, command, hook, and model-routing primitives; this is better handled as an application-level autoresearch orchestration skill/plugin rather than a new upstream core capability.

github-actions[bot] · 3 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.