Agent skill · product strategy · jeremylongshore

orchestrating-multi-agent-systems

Execute orchestrate multi-agent systems with handoffs, routing, and

Why this skill is useful

Adds executable TypeScript modules and workflows for orchestrating multi-agent systems that aren't covered in standard documentation.

What it needs

Requires node, typescript, zod installed locally. Requires anthropic, google, openai account access. About 3k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.

What this skill does

Orchestrating Multi-Agent Systems Overview Design and implement multi-agent systems using AI SDK v5 with structured handoffs, intelligent routing, and coordinated workflows across AI providers. This skill covers agent role definition, tool scoping, inter-agent delegation via handoff rules, and workflow orchestration patterns including coordinator-worker and supervisor topologies. Prerequisites Node.js 18+ and TypeScript 5.0+ runtime AI SDK v5 (npm install ai @ai-sdk/openai @ai-sdk/anthropic @ai-sdk/google) API keys for target providers set in environment variables (OPENAIAPIKEY, ANTHROPICAPIKEY, GOOGLEGENERATIVEAIAPIKEY) Zod for input/output schema validation (npm install zod) Familiarity with agent-based architecture patterns (coordinator, pipeline, broadcast) Instructions 1. Initialize a TypeScript project with tsconfig.json targeting ES2022 and moduleResolution bundler 2. Install AI SDK v5 core and provider packages for each model backend required 3. Define agent roles by creating separate modules per agent, each with a system prompt, model binding, and scoped tool set 4. Implement tool functions using ai.tool() with Zod input/output schemas for type-safe execution 5. Configure handoff rules using ai.handoff() to delegate tasks between agents with clear trigger conditions and context passing 6. Build routing logic that classifies incoming requests by topic or intent and dispatches to the appropriate specialist agent 7. Wire agents into a workflow using sequential, parallel, or conditional orchestration patterns 8. Add state management to persist context across multi-step workflows using a shared context object or external store 9. Implement circuit breakers and timeout guards to prevent workflow deadlocks 10. Test each agent in isolation, then validate end-to-end handoff chains with representative inputs See ${CLAUDESKILLDIR}/references/implementation.md for the detailed implementation guide. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills jeremylongshore/orchestrating-multi-agent-systems

View the source on GitHub

Browse the @skills marketplace