Logo Multi Agent Orchestrator

Multi Agent Orchestrator

Tổ chức
TSS-Blue-AI-Lab
multi-agent-orchestrator

Coordinate specialized agent roles across complex tasks using dependency-aware planning, explicit ownership, structured handoffs, safe integration, and evidence-based quality gates. Use when work has multiple independent streams or genuinely benefits from isolated expertise; fall back transparently when the runtime cannot provide separate workers.

Tổng quan

Nhà phát hànhTSS-Blue-AI-Lab
Kho mãai-lab-agent-skills
Tên kỹ năngmulti-agent-orchestrator
Sao
26
Bản fork
3
Tệp đi kèm
Chỉ có hướng dẫn
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được TSS-Blue-AI-Lab công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Multi Agent Orchestrator trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/TSS-Blue-AI-Lab/ai-lab-agent-skills/tree/main/skills/multi-agent-orchestrator
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/TSS-Blue-AI-Lab/ai-lab-agent-skills.git /tmp/ai-lab-agent-skills
mkdir -p .claude/skills
cp -r /tmp/ai-lab-agent-skills/skills/multi-agent-orchestrator .claude/skills/multi-agent-orchestrator
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Multi Agent Orchestrator trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Multi Agent Orchestrator ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Multi Agent Orchestrator với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Multi-Agent Orchestrator

Break complex work into bounded roles, run only independent tasks concurrently, integrate results safely, and verify the combined outcome.

When to Use

Use orchestration when at least two work streams are meaningfully separable, such as:

  • Several independent areas of expertise
  • Research, implementation, testing, and review stages that benefit from clean contexts
  • Disjoint components that can be developed concurrently
  • Independent review perspectives for high-risk work

Do not orchestrate when:

  • One agent can complete the task directly with less coordination overhead
  • The change is small, single-file, or tightly coupled
  • Every step depends on the previous step's detailed output
  • Workers would need to edit the same files concurrently
  • The runtime cannot provide needed isolation and the user does not accept the sequential fallback

Constraints

  • Select an execution mode before assigning work
  • Define dependencies, ownership, and integration order before parallel execution
  • Never allow concurrent writes to the same file or shared mutable resource
  • Give each role only the context and capabilities it needs
  • Obtain approval before sending project content to an external agent service
  • Treat worker reports as claims to verify, not proof of completion
  • Use checks and evidence for quality gates; reviewer approval alone is insufficient
  • Retry a failed assignment automatically at most once, and only when the corrective change is clear
  • Do not create branches, commits, merges, uploads, or other external side effects unless the user's task authorizes them

Phase 0 — Select the Execution Mode

Choose the strongest available mode:

ModeExecutionIndependence
Native isolated workersUse the runtime's delegation capability with a clean context for each rolePreferred
External isolated sessionsUse separate approved sessions or processes with an explicit handoffPreferred, but requires approval before sharing project content externally
Sequential same-context fallbackExecute each role as a separate pass in the current contextReduced

For the sequential fallback, tell the user:

This runtime cannot provide isolated workers for the planned roles. I can execute the same dependency and handoff plan sequentially, but the roles may influence one another and there is no true parallelism.

Record the selected mode in the final summary. Never describe same-context role passes as independent agents.

Phase 1 — Decompose the Work

Build a dependency graph before dispatching anything.

For each proposed assignment, determine:

  • Whether it is required
  • What must finish before it starts
  • What files or resources it owns
  • Whether it is read-only or may write
  • What contract it consumes from earlier work
  • What artifact or structured result it must return
  • How its result will be verified

Dispatch tasks concurrently only when they have no unresolved dependency and no write conflict.

Common Workflow Patterns

Sequential Pipeline
text
[Research] → [Plan] → [Implement] → [Test] → [Review]

Use when each stage consumes the previous stage's result. Different roles can still provide clean contexts even though the work is serial.

Parallel Fan-Out
text
                 ┌→ [Component A] ─┐
[Shared Contract] ┼→ [Component B] ─┼→ [Integration] → [Verification]
                 └→ [Component C] ─┘

Use only after the shared contract is stable and ownership is disjoint.

Review Chain
text
[Candidate] → [Correctness Review] → [Security Review] → [Integrated Checks]

Reviews may run in parallel when they are read-only. Consolidate duplicate or contradictory findings before asking for fixes.

Phase 2 — Define the Workspace and Ownership Model

Choose one model explicitly:

Shared Workspace

  • Parallel roles may be read-only or own disjoint files
  • Give each writable file one primary owner
  • Route shared contract files, manifests, schemas, lockfiles, and generated indexes through one serial integration owner
  • Recheck the worktree before applying each handoff because another role may have changed it

Isolated Workspaces

  • Give each writable role its own isolated workspace when the runtime supports it
  • Record the base revision and owned scope
  • Integrate results in dependency order
  • Resolve conflicts deliberately; never discard another role's work to make integration easier

Sequential Fallback

  • Use one workspace and complete one role before starting the next
  • Preserve the same task contracts and handoffs
  • Re-evaluate downstream assignments when an earlier result changes the plan

“No overlapping files” is a planning preference, not an absolute rule. Shared files are allowed when one owner edits them serially after dependent results are available.

Phase 3 — Write a Task Contract

Every assignment must receive a compact contract:

markdown
## Task: [ID and role]

**Objective:** [One bounded outcome]
**Execution mode:** [native worker / external session / sequential pass]
**Inputs:** [Required files, prior artifacts, and decisions]
**Dependencies:** [Task IDs or none]
**Owned scope:** [Files, directories, or read-only review scope]
**Forbidden scope:** [Files, resources, and side effects that must not change]
**Capabilities:** [Filesystem read/write, search, commands, browser, or other generic capabilities]
**Deliverables:** [Files, report, decision, or patch]
**Verification:** [Specific commands or checks]
**Completion criteria:** [Observable definition of done]

Avoid product-specific tool names. Describe the capability needed and let the runtime map it to available tools.

Phase 4 — Execute and Monitor

  1. Start only assignments whose dependencies are satisfied.
  2. Run read-only or disjoint work concurrently when the selected mode permits it.
  3. Keep the user informed about active roles, completed handoffs, and material blockers.
  4. Validate each handoff before unlocking dependent work.
  5. If a role fails, determine whether the contract was unclear, an input was missing, or the task itself failed.
  6. Retry once only when a bounded correction is available. Otherwise replan or report the blocker.

Do not restart the entire pipeline because one role failed unless its output invalidates every downstream task.

Phase 5 — Require a Structured Handoff

Each role returns:

markdown
## Handoff: [Task ID]

**Status:** complete / blocked / failed
**Summary:** [What was accomplished]
**Changed files:** [Paths, or none]
**Artifacts:** [Reports, plans, schemas, or other outputs]
**Checks run:** [Command/check and result]
**Assumptions:** [Material assumptions]
**Unresolved issues:** [Remaining risks or blockers]
**Recommended next step:** [What the dependent role should do]

A complete status without the required deliverables or verification evidence is incomplete. Inspect the actual files and fresh check output before accepting it.

Phase 6 — Integrate

The coordinator or designated integration owner:

  1. Confirms every required handoff is present and valid.
  2. Applies or reconciles results in dependency order.
  3. Updates shared files serially.
  4. Checks that interfaces and assumptions agree across work streams.
  5. Runs focused checks after each risky integration step.
  6. Runs the combined validation suite after all required work is integrated.

If two roles disagree, compare their evidence and the shared contract. Do not choose a result merely because one role sounds more confident.

Phase 7 — Evidence-Based Quality Gate

Before declaring success, require evidence appropriate to the task:

  • Expected files or artifacts exist
  • Focused tests and static checks pass
  • Cross-component integration checks pass
  • Security or privacy checks are complete when relevant
  • Review findings are resolved, accepted explicitly, or documented as remaining risks
  • The final worktree contains no unintended changes from another role

A review role reports findings; it does not grant release approval. The user or owning workflow makes the final release or merge decision using the evidence.

Example — Full-Stack Change

text
Task A — Contract planner (read-only)
  Define request/response contracts and acceptance criteria

Task B — Service implementation (depends on A)
  Own server implementation and focused service tests

Task C — Interface implementation (depends on A)
  Own client implementation and focused interface tests

Task D — Integration owner (depends on B and C)
  Own shared types and integration fixes; run combined checks

Task E — Reviewer (depends on D, read-only)
  Report correctness, security, and performance findings with evidence

Tasks B and C may run in parallel only when their writable scope is disjoint. Task D owns shared files serially. Task E's findings feed the final evidence-based quality gate.

Final Summary

Report:

  • Execution mode and independence level
  • Assignments completed, blocked, or failed
  • Ownership and integration model used
  • Files and artifacts produced
  • Checks run and their results
  • Retries performed
  • Unresolved risks and assumptions
  • Recommended next action

Câu hỏi thường gặp

Kỹ năng AI Multi Agent Orchestrator làm được gì?

Coordinate specialized agent roles across complex tasks using dependency-aware planning, explicit ownership, structured handoffs, safe integration, and evidence-based quality gates. Use when work has multiple independent streams or genuinely benefits from isolated expertise; fall back transparently when the runtime cannot provide separate workers.

Vì sao nên dùng Multi Agent Orchestrator trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Multi Agent Orchestrator là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Multi Agent Orchestrator trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/TSS-Blue-AI-Lab/ai-lab-agent-skills/tree/main/skills/multi-agent-orchestrator. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Multi Agent Orchestrator?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Multi Agent Orchestrator với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Multi Agent Orchestrator với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Multi Agent Orchestrator có miễn phí không?

Kỹ năng này được TSS-Blue-AI-Lab phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇