跳到正文
cccskills
免费在 GitHub 公开

agent-orchestration

Orchestrate agents at runtime — task routing, scheduling, parallel execution, result aggregation, and supervision dashboards. Use when running agents as a managed fleet rather than one-off calls.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md3.9 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Agent Orchestration

Orchestration is the runtime layer: taking agents as workers and running them as a system — routing tasks, scheduling execution, handling parallelism, aggregating results, and supervising the whole fleet. Architecture designs the team; orchestration runs it.

Overview

An orchestrator owns the task lifecycle: intake (validate and normalize requests), planning (decompose into subtasks), dispatch (assign to agents with briefs), supervision (track progress, handle stalls), aggregation (combine results), and delivery. Underneath: queues, worker pools, retries, timeouts, and rate limits. The orchestrator is also the policy enforcement point — budgets, permissions, and escalation all live here.

When to use

  • Running many agent tasks concurrently: batch jobs, user-facing agent fleets, background processing.
  • Workflows where tasks have dependencies and need scheduling, not just parallel blasting.
  • Production agent systems needing reliability: retries, failover, backpressure.
  • When you need visibility: what's running, what's stuck, what's costing money.

Core concepts

  • Task model: tasks as structured objects — id, type, payload, priority, deadline, retry policy. Everything the orchestrator touches is a task.
  • Routing: matching tasks to agents by capability, load, and cost. Simple round-robin to start; capability-aware routing as the fleet diversifies.
  • Scheduling: ordering with dependencies (DAGs), priorities, and deadlines. Not everything runs now; the scheduler decides what runs when.
  • Worker pools: agents as managed workers with concurrency limits, health checks, and warm/cold lifecycle. Protects against overload.
  • Supervision: heartbeats, progress reports, stall detection, and intervention — pause, reassign, escalate. The orchestrator never fire-and-forgets.
  • Aggregation: combining parallel results — merge, vote, synthesize — with conflict resolution rules defined up front.

Practical workflow

  1. Define the task schema and the agent capability registry (what each agent/worker type can do).
  2. Build intake: validate tasks, assign priorities and deadlines, enqueue durably.
  3. Implement dispatch with concurrency limits per worker type; enforce timeouts and retry policies.
  4. Add supervision: heartbeat monitoring, stall detection, and an operator dashboard showing task states.
  5. Implement aggregation for parallel tasks: merge strategy + conflict rules, tested on fixture data.
  6. Load-test: saturate the system, watch backpressure and degradation — graceful slowdown, not collapse.
Orchestrator components:
INTAKE → validate, prioritize, enqueue (durable queue)
SCHEDULER → DAG + priority + deadline ordering
DISPATCH → capability-matched assignment, concurrency caps
SUPERVISE → heartbeats, stall detection, intervention
AGGREGATE → merge/vote/synthesize with conflict rules
POLICY → budgets, permissions, escalation (enforced here)

Common pitfalls

  • No backpressure: accepting unlimited tasks until the system melts. Queue, shed load, or degrade gracefully — pick one.
  • Fire-and-forget dispatch: tasks sent with no tracking. Every dispatch gets a tracked lifecycle.
  • Retry storms: blind retries amplifying a downstream failure. Exponential backoff, circuit breakers, dead-letter queues.
  • Invisibility: no dashboard, no alerts. You find out about failures from users. Instrument from day one.
  • Policy in agents: budgets and permissions implemented per-agent instead of at the orchestrator. Centralize enforcement.
  • Aggregation as an afterthought: parallel results that don't combine cleanly. Design the merge before parallelizing.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Master 1Password: vaults, Watchtower, passkeys, SSH agent, CLI, and family/team administration. Use when getting full value from 1Password personally or administering it for others.

中文简介正在准备中。当前显示原文说明。

aicodedecode/awesome-muse-skills252026年10月10日 更新

Create 3D visuals with modeling, texturing, lighting, rendering, and optimization for web and product.

中文简介正在准备中。当前显示原文说明。

aicodedecode/awesome-muse-skills252026年10月10日 更新

Create 3D web experiences: scene setup, models, materials, lighting, animation, scroll-driven scenes, and performance budgets. Use when adding 3D to websites beyond basic demos.

中文简介正在准备中。当前显示原文说明。

aicodedecode/awesome-muse-skills252026年10月10日 更新

Writing abstracts that get papers read — structured content, the 5-sentence core, and journal-specific constraints.

中文简介正在准备中。当前显示原文说明。

aicodedecode/awesome-muse-skills252026年10月10日 更新

Learn effectively from courses and academies: choosing programs, studying actively, and converting courses into skills. Use when investing time/money in structured learning.

中文简介正在准备中。当前显示原文说明。

aicodedecode/awesome-muse-skills252026年10月10日 更新

Audit designs for accessibility with WCAG checklists covering color, type, focus, motion, and content.

中文简介正在准备中。当前显示原文说明。

aicodedecode/awesome-muse-skills252026年10月10日 更新

查看 aicodedecode 的全部技能

报告此技能的问题