★ 6275 TypeScript MIT http 更新 26分钟前

Open Multi Agent

From a goal to a task DAG, automatically. TypeScript-native multi-agent orchestration with MCP and live tracing. Three runtime dependencies.

安装配置

暂未识别到可直接复制的 MCP 配置,请查看 GitHub README。后台管理员可以补充配置。

README 摘要

Open Multi-Agent From a goal to a task DAG, automatically. TypeScript-native multi-agent orchestration. Three runtime dependencies. English · 中文 `open-multi-agent` is a multi-agent orchestration framework for TypeScript backends. Give it a goal; a coordinator agent decomposes it into a task DAG, parallelizes independents, and synthesizes the result. Three runtime dependencies, drops into any Node.js backend. > **Your engineers describe the goal, not the graph.** ## Quick Start Requires Node.js >= 18. ### Use it in your project ```bash npm install @open-multi-agent/core ``` *Migrating from `@jackchen_me/open-multi-agent`? That package is deprecated; install `@open-multi-agent/core` instead.* ```typescript import { OpenMultiAgent, type AgentConfig } from '@open-multi-agent/core' const agents: AgentConfig[] = [ { name: 'architect', model: 'claude-sonnet-4-6', systemPrompt: 'Design clean API contracts.', tools: ['file_write'] }, { name: 'developer', model: 'claude-sonnet-4-6', systemPrompt: 'Implement runnable TypeScript.', tools: ['bash', 'file_read', 'file_write', 'file_edit'] }, { name: 'reviewer', model: 'claude-sonnet-4-6', systemPrompt: 'Review correctness and security.', tools: ['file_read', 'grep'] }, ] const orchestrator = new OpenMultiAgent({ defaultModel: 'claude-sonnet-4-6', onProgress: (event) => console.log(event.type, event.task ?? event.agent ?? ''), }) const team = orchestrator.createTeam('api-team', { name: 'api-team', agents, sharedMemory: true }) // Built-in filesystem tools default to a `/.agent-workspace` sandbox. // Point the agent at an absolute path inside that root. const result = await orchestrator.runTeam( team, `Create a REST API for a todo list in ${process.cwd()}/.agent-workspace/todo-api/`, ) console.log(result.success, result.totalTokenUsage.output_tokens) ``` ### Run an example locally ```bash git clone https://github.com/open-multi-agent/open-multi-agent && cd open-multi-agent npm install export ANTHROPIC_API_KEY=sk-... npx tsx examples/basics/team-collaboration.ts ``` Three agents collaborate on a REST API while `onProgress` streams the coordinator's task DAG: ``` agent_start coordinator task_start design-api task_complete design-api task_start implement-handlers task_start scaffold-tests // independent tasks run in parallel task_complete scaffold-tests task_complete implement-handlers task_start review-code // unblocked after implementation task_complete review-code agent_complete coordinator // synthesizes final result Success: true Tokens: 12847 output tokens ``` Local models via Ollama need no API key, see [`providers/ollama`](examples/providers/ollama.ts). For hosted providers (`OPENAI_API_KEY`, `GEMINI_API_KEY`, etc.), see [Supported Providers](#supported-providers). ### Three Ways to Run | Mode | Method | When to use | Example | |------|--------|-------------|---------| | Single agent | `runAgent()` | One agent, one prompt | [`basics/single-agent`](examples/basics/single-agent.ts) | | Auto-orchestrated team | `runTeam()` | Give a goal, let the coordinator plan and execute | [`basics/team-collaboration`](examples/basics/team-collaboration.ts) | | Explicit pipeline | `runTasks()` | You define the task graph and assignments | [`basics/task-pipeline`](examples/basics/task-pipeline.ts) | Preview the coordinator's task DAG without executing agents: ```ts const plan...

相关 MCP

Trend Radar

⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的...

★ 58506 Python http 有配置
mcp Python http

Libre Chat

Enhanced ChatGPT Clone: Features Agents, MCP, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, M...

★ 37612 TypeScript sse 待补充
mcp sse TypeScript

Gin Vue Admin

🚀Vite+Vue3+Gin拥有AI辅助的基础开发平台,企业级业务AI+开发解决方案,内置mcp辅助服务,内置skills管理,支持TS和JS混用。它...

★ 24715 Go http 待补充
mcp Go http

Activepieces

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI W...

★ 22454 TypeScript sse 待补充
mcp sse TypeScript