TypeScript 具有动态工作流程的 AI 代理编排框架。描述目标,而不是图形:协调器在运行时计划任务 DAG 并在其中运行。
TypeScript 具有动态工作流程的 AI 代理编排框架。描述目标,而不是图形:协调器在运行时计划任务 DAG 并在其中运行。
Agents your organization can own, approve, and audit.
A self-hosted TypeScript agent runtime: consequential actions wait for durable, tamper-evident approvals, and every run leaves a record you can verify offline, byte for byte.
Website · Docs · Examples · npm
English · 中文
No telemetry. No hosted control plane. Your keys, your models — cloud, local (Ollama, vLLM, llama-server), or Chinese providers — your environment. Nothing stops working when the people who built it leave.
Requires Node.js 20 or newer. For production, use a currently maintained Node.js LTS release. Node.js 20 is upstream-EOL and retained only as a migration compatibility window; OMA will remove it in the next major release, no earlier than 2026-10-31.
Scaffold a PR review agent, security analysis agent, or teaching DAG:
npm create oma-app@latest my-omaIn an interactive terminal, that one command selects a starter and runtime, installs dependencies, and runs a deterministic local demo. The demo needs no API key and makes no model request: scripted model responses drive the real OMA scheduler, result aggregation, and offline dashboard.
Or add OMA to an existing backend:
npm install @open-multi-agent/core…Set OPENAI_API_KEY to run this example. Providers covers other hosted models, local servers, OpenAI-compatible endpoints, and AI SDK providers.
runAgent() runs a single agent, runTasks() executes an explicit pipeline, and runTeam() plans from a goal. The Core package guide walks through all three modes, provider and credential setup, and the production checklist. The example index lists every runnable example across basics, cookbook workflows, patterns, providers, and integrations.
A plan, task dispatch, or tool-call gate can return suspend. The request is stored beside the checkpoint, bound to a SHA-256 hash of exactly what the reviewer saw, and the run resumes from that content after a restart. A decision is atomic and first-wins; a tampered request or a store without compare-and-set fails closed.
approval/durable.ts · durable-approval.test.ts (16 cases) · durable-approval-validation.test.ts (7 cases) · Guide
Attach a journal backend and the run records every block the model saw, every tool call and result, and every context rewrite. verifyRun() reads it back cold, offline, and checks that each block's named source event still reproduces it byte for byte; an evicted window is reported as inconclusive, not as a failure. It proves lineage and content, not that the file was never edited.
journal/verify.ts · journal/hash.ts · verify-run.test.ts (11 cases) · Guide
Declare governanceIntent: 'required' with requiredRoles, and the run is judged on an execution receipt: which roles ran, in what order, with which dependency edges, and whether an independent review happened. The evaluator never sees agent output text, and a run can succeed and still report unsatisfied.
orchestrator/governance.ts · observability/execution-receipt.ts · governance-floor.test.ts (16 cases) · Guide · Receipts
baseURL; any OpenAI-compatible endpoint and Vercel AI SDK providers. Providersoffline or allowlist, checked before a built-in adapter connects. A child policy can only tighten its parent, an unenforceable transport fails closed, and process and ACP backends sit outside it. LLM egress policyopen-multi-agent launched 2026-04-01 under MIT. Known users and integrations to date:
bash, file_*, grep) inside a Docker runtime. Confirmed production use. (~60 stars)Users
defineTool repo-context tools and a custom ContextStrategy for token-aware diff compression.runAgent / runTasks / runTeam with a custom coordinator, paired with DeepSeek.Integrations
runTeam workflow template.runAgent() and runTeam() as Baize slot capabilities.We build customer-owned systems on OMA for organizations that need one. Email [email protected].
Paid sponsors supporting open-multi-agent. Sponsorship does not affect technical decisions or model recommendations.
Providers
runTeam() decomposes a goal into a task graph across agents. One model call turns the goal into task specs with assignees and dependencies, a deterministic scheduler executes them, and a second call writes the final answer from the completed task outputs. The coordinator is never consulted mid-run, and the finished run is data you can read back. Use runAgent() or runTasks() when you already know the work.
…The offline Run Viewer replaying a real run from the trace store: task DAG, span waterfall, and per-task evidence, with no hosted service involved.
Coordinator covers what it decides and what it is allowed to see. Plan replay freezes an approved plan, Consensus verifies outputs with independent judges, and External agents puts Claude Code, Gemini CLI, and Codex on the same task graph through process and ACP backends.
@open-multi-agent/core: Runtime, tools, memory, checkpoints, approvals, journal, traces, CLI, and offline Run Viewer.@open-multi-agent/otel: Optional OpenTelemetry adapter for teams with a centralized OpenTelemetry stack.create-oma-app: Scaffolder behind npm create oma-app; starter templates with a no-key local demo.Core users can store traces locally and inspect them with the offline Run Viewer. Install the OTel package only when OMA traces should appear in the same monitoring system as the rest of your application.
| Goal | Start here |
|---|---|
| Install and run | All docs · Core package guide · Examples · CLI · Glossary · Production checklist |
| Configure models and tools | Providers · LLM egress policy · Tools · Sandbox and shell · MCP · Structured input · External agents |
| Operate reliably | Observability · Run Viewer · Run journal · Evaluation · Checkpoint and resume · Run store and leases · Durable approvals · Adaptive recovery · Context management · Errors |
| Control orchestration | Coordinator · Consensus · Execution routing · Model routing · Task scheduling · Plan replay · Shared memory · Streaming · Budgets and limits |
Issues and pull requests are welcome. See CONTRIBUTING.md for workspace boundaries, validation, and submission guidance.
<a href="https://github.com/open-multi-agent/open-multi-agent/
暂无开放 Issues,或尚未同步最近议题。