
Ai Agent Orchestrator
This gives you the building blocks for coordinating multiple AI agents that can hand work between each other. You get a base agent class with memory, specialized agents for different roles (research, writing, review), and two orchestration patterns: a simple sequential flow and a supervisor mode where an LLM decides which agent runs next. The shared context system lets agents build on each other's outputs, and there's handoff logic so agents can pass tasks along. It's basically the plumbing you need when one LLM call isn't enough and you want to chain different specialized prompts together with some coordination logic. The supervisor pattern is the more interesting piece since it can adapt the workflow based on results.
- skills.sh installs
- 362
- GitHub stars
- 63
- last updated
- Aug 21, 2026
Install
$ npx -y skills add patricio0312rev/skills --skill ai-agent-orchestrator --agent claude-codeInstalls into .claude/skills of the current project.
Files
AI Agent Orchestrator
Build coordinated multi-agent systems for complex task automation.
Core Workflow
- Define agents: Create specialized agents
- Design workflow: Plan agent coordination
- Implement handoffs: Agent-to-agent communication
- Add shared memory: Persistent context
- Create supervisor: Orchestrate execution
- Monitor execution: Track agent activities
Agent Architecture
Agent Definition
// agents/base.ts
import { ChatOpenAI } from '@langchain/openai';
import { SystemMessage, HumanMessage, AIMessage } from '@langchain/core/messages';
export interface AgentConfig {
name: string;
role: string;
systemPrompt: string;
tools?: Tool[];
model?: string;
}
export interface AgentResponse {
content: string;
toolCalls?: ToolCall[];
nextAgent?: string;
completed?: boolean;
}
export class Agent {
private model: ChatOpenAI;
private config: AgentConfig;
private messageHistory: BaseMessage[] = [];
constructor(config: AgentConfig) {
this.config = config;
this.model = new ChatOpenAI({
modelName: config.model || 'gpt-4-turbo-preview',
temperature: 0.7,
});
}
Sponsors
Details
- Repository
- github.com/patricio0312rev/skills
- Categories
- AI & Agent Building, Automation & Workflows
- First seen
- Jun 3, 2026
More from patricio0312rev/skills
All 138- Scalability Playbook355
- Responsive Design System353
- Auth Security Reviewer352
- Visual Regression Tester346
- Mermaid Diagram Generator343
- Form Wizard Builder340
- Rbac Permissions Builder333
- Cost Latency Optimizer332
- Skill Creator332
- Storybook Setup330
- Rate Limiting Abuse Protection329
- Load Test Builder328
- Structured Output Extractor320
- Core Web Vitals Tuner319
- Secure Headers Csp Builder318
- Tailwind Gradient Builder318
- Frontend Refactor Planner317
- Openapi Generator316
- Api Test Suite Generator314
- Prisma Migration Assistant313
- Cypress Playwright Setup309
- Curl Command Generator308
- Page Layout Builder308
- Readme Generator307