No slash command · from parcadei
Agent orchestration patterns for agentic loops, multi-agent coordination, alternative frameworks, and multi-scenario workflows. Use when building autonomous agent loops, coordinating multiple agents, evaluating CrewAI/AutoGen/Swarm, or orchestrating complex multi-step scenarios.
Ships in parcadei. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Comprehensive patterns for building and coordinating AI agents -- from single-agent reasoning loops to multi-agent systems and framework selection. Each category has individual rule files in rules/ loaded on-demand.
| Category | Rules | Impact | When to Use |
|---|---|---|---|
| Agent Loops | 2 | HIGH | ReAct reasoning, plan-and-execute, self-correction |
| Multi-Agent Coordination | 3 | CRITICAL | Supervisor routing, agent debate, result synthesis |
| Alternative Frameworks | 3 | HIGH | CrewAI crews, AutoGen teams, framework comparison |
| Multi-Scenario | 2 | MEDIUM | Parallel scenario orchestration, difficulty routing |
Total: 10 rules across 4 categories
# ReAct agent loop
async def react_loop(question: str, tools: dict, max_steps: int = 10) -> str:
history = REACT_PROMPT.format(tools=list(tools.keys()), question=question)
for step in range(max_steps):
response = await llm.chat([{"role": "user", "content": history}])
if "Final Answer:" in response.content:
return response.content.split("Final Answer:")[-1].strip()
if "Action:" in response.content:
action = parse_action(response.content)
result = await tools[action.name](*action.args)
history += f"\nObservation: {result}\n"
return "Max steps reached without answer"
# Supervisor with fan-out/fan-in
async def multi_agent_analysis(content: str) -> dict:
agents = [("security", security_agent), ("perf", perf_agent)]
tasks = [agent(content) for _, agent in agents]
results = await asyncio.gather(*tasks, return_exceptions=True)
return await synthesize_findings(results)
Patterns for autonomous LLM reasoning: ReAct (Reasoning + Acting), Plan-and-Execute with replanning, self-correction loops, and sliding-window memory management.
Key decisions: Max steps 5-15, temperature 0.3-0.7, memory window 10-20 messages.
Fan-out/fan-in parallelism, supervisor routing with dependency ordering, conflict resolution (confidence-based or LLM arbitration), result synthesis, and CC Agent Teams (mesh topology for peer messaging in CC 2.1.33+).
Key decisions: 3-8 specialists, parallelize independent agents, use Task tool (star) for simple work, Agent Teams (mesh) for cross-cutting concerns.
CrewAI hierarchical crews with Flows (1.8+), OpenAI Agents SDK handoffs and guardrails (0.7.0), Microsoft Agent Framework (AutoGen + SK merger), GPT-5.2-Codex for long-horizon coding, and AG2 for open-source flexibility.
Key decisions: Match framework to team expertise + use case. LangGraph for state machines, CrewAI for role-based teams, OpenAI SDK for handoff workflows, MS Agent for enterprise compliance.
Orchestrate a single skill across 3 parallel scenarios (simple/medium/complex) with progressive difficulty scaling (1x/3x/8x), milestone synchronization, and cross-scenario result aggregation.
Key decisions: Free-running with checkpoints, always 3 scenarios, 1x/3x/8x exponential scaling, 30s/90s/300s time budgets.
| Decision | Recommendation |
|---|---|
| Single vs multi-agent | Single for focused tasks, multi for decomposable work |
| Max loop steps | 5-15 (prevent infinite loops) |
| Agent count | 3-8 specialists per workflow |
| Framework | Match to team expertise + use case |
| Topology | Task tool (star) for simple; Agent Teams (mesh) for complex |
| Scenario count | Always 3: simple, medium, complex |
ork:langgraph - LangGraph workflow patterns (supervisor, routing, state)function-calling - Tool definitions and executionork:task-dependency-patterns - Task management with Agent Teams workflowKeywords: react, reason, act, observe, loop, agent Solves:
Keywords: plan, execute, replan, multi-step, autonomous Solves:
Keywords: supervisor, route, coordinate, fan-out, fan-in, parallel Solves:
Keywords: debate, conflict, resolution, arbitration, consensus Solves:
Keywords: synthesize, combine, aggregate, merge, summary Solves:
Keywords: crewai, crew, hierarchical, delegation, role-based, flows Solves:
Keywords: autogen, microsoft, agent framework, teams, enterprise, a2a Solves:
Keywords: choose, compare, framework, decision, which, crewai, autogen, openai Solves:
Keywords: scenario, parallel, fan-out, difficulty, progressive, demo Solves:
Keywords: route, synchronize, milestone, checkpoint, scaling Solves:
checklists/framework-selection.md (opens in a new tab)checklists/orchestration-checklist.md (opens in a new tab)metadata.json (opens in a new tab)references/architectural-patterns.md (opens in a new tab)references/claude-code-instance-management.md (opens in a new tab)references/coordination-patterns.md (opens in a new tab)references/crewai-patterns.md (opens in a new tab)references/framework-comparison.md (opens in a new tab)references/gpt-5-2-codex.md (opens in a new tab)references/langgraph-implementation.md (opens in a new tab)references/microsoft-agent-framework.md (opens in a new tab)references/openai-agents-sdk.md (opens in a new tab)references/skill-agnostic-template.md (opens in a new tab)references/state-machine-design.md (opens in a new tab)rules/_sections.md (opens in a new tab)rules/_template.md (opens in a new tab)rules/frameworks-autogen.md (opens in a new tab)rules/frameworks-comparison.md (opens in a new tab)rules/frameworks-crewai.md (opens in a new tab)rules/loops-plan-execute.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
workflow-architect), in the backgroundnpx claudepluginhub ulpi-io/plugin-marketplace --plugin parcadei104 skills in this plugin
/agentica-promptsWrite reliable prompts for Agentica/REPL agents that avoid LLM instruction ambiguity