agent-orchestration-architecture

For designing reliable AI agents and multi-agent systems. Helps determine whether a workflow should run as a single agent, tools, expert agents, or manager-controlled; defines task handoffs, persistent execution, human approval, model routing and retry mechanisms; and sets operational boundaries for AI workflows.

Last repository push
GitHub Stars
140
Forks
47
Issues / PRs
0

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "agent-orchestration-architecture" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-71e81d07fba34a1ad25302983980064cdfced797dc9e292274ef5c9b560aeec3. Verify the upstream source and version against https://github.com/TheGoat395/Codex-Skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

For designing reliable AI agents and multi-agent systems. Helps determine whether a workflow should run as a single agent, tools, expert agents, or manager-controlled; defines task handoffs, persistent execution, human approval, model routing and retry mechanisms; and sets operational boundaries for AI workflows.

0 Downloads

Introduction source: third_party · TheGoat395 · 0.0.1 Reference

SkillPi interpretation

Tasks
Resolve agent ownership and handoff design.
Audience
Not specified in the source documentation.
Inputs and outputs
For a material architecture request, produce the smallest useful combination of an execution diagram, role/tool matrix, state/approval map, operating limits, and evaluation plan. Do not create every artifact for a simple routing decision. Route persistent-context design to `$agent-memory-provenance`; route quality and release testing to `$agent-evaluation-operations`; route external events to `$integration-contract-reliability`.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: agent-orchestration-architecture
description: "Resolve agent ownership and handoff design."

Agent Orchestration Architecture

Design in escalating complexity

Choose the lightest design that satisfies the outcome:

  1. Deterministic program or promptless automation.
  2. One agent with bounded tools and structured output.
  3. One manager agent that calls specialists as bounded tools.
  4. Handoffs only when a specialist should own the rest of the interaction.
  5. Durable workflow runtime only when work survives interruptions, waits, or external callbacks.

Do not use an agent swarm as a substitute for an owned workflow.

Define the operating contract

Before implementation, record:

  • outcome, success evidence, and named final-output owner;
  • inputs, output schema, permitted tools, and forbidden actions;
  • model and reasoning choice by decision difficulty, not task size;
  • state owner, memory lifetime, tenant boundary, and source of truth;
  • approval checkpoints, budgets, timeouts, stop conditions, and escalation;
  • retry, idempotency, compensation, and human-handoff behavior.

Parallelize only independent work whose outputs can be reconciled without conflicting writes.

Make control explicit

  • Use a manager when one agent must enforce shared policy, combine specialist work, or own the user-facing answer.
  • Use a handoff when the specialist needs a focused interaction and clear transfer of responsibility.
  • Pass structured task packets, not vague conversation history. Minimize context to the specialist's need.
  • Delegate only a concrete, independent workstream with a defined output. Parallelism can reduce latency, but every subagent performs separate model and tool work and therefore increases usage.
  • Designing a delegation architecture does not authorize spawning agents. Follow current global and native tool constraints: preserve the selected parent model/effort and apply the current global child-model and reasoning policy. Do not freeze a session-specific model or effort into this specialist. Use only supported context controls and sufficient task context; do not override native inheritance constraints for a preferred packet format.
  • Give each specialist the exact sources, constraints, output schema, stopping condition, and useful result-size limit. Ask for distilled findings instead of raw logs or copied source material.
  • Keep the parent thread as the canonical decision owner. Do not spawn several agents to reread the same corpus, and do not use subagents merely to avoid doing a bounded task locally.
  • Use inherited authorization for routine reversible in-scope writes, drafts and configuration. Require explicit authorization for actual sends, spending, binding commitments, publication and materially irreversible actions at their real boundaries; do not reopen an already clear authorization.
  • Design every loop with a maximum attempt count and a useful terminal state.

Required outputs

For a material architecture request, produce the smallest useful combination of an execution diagram, role/tool matrix, state/approval map, operating limits, and evaluation plan. Do not create every artifact for a simple routing decision. Route persistent-context design to $agent-memory-provenance; route quality and release testing to $agent-evaluation-operations; route external events to $integration-contract-reliability.

Optional specialists

For external events, integration-contract-reliability is optional. Without it, define typed inputs/outputs, authentication, idempotency, retries, duplicate handling, uncertain-effect reconciliation and the actual success boundary in the project contract.

Version history

  1. v0.2.0 GitHub ↗
    Original release notes

    Added the public agent-quality collection and expanded the default public core from 70 to 80 skills. Highlights: - Critical and logical thinking, creativity, deep research, and evidence reconciliation - Systematic debugging and fresh verification before completion claims - Bounded agent architecture, memory provenance, and evaluation workflows - Public-neutral packaging with private and machine-specific references removed - Updated catalogs, adapters, release checks, and generated inventories

  2. v0.1.2 GitHub ↗
    Original release notes

    ## Codex Premium Website Skills v0.1.2 - Added `COMPATIBILITY.md` with Codex, Claude Code, Cursor, Gemini CLI, and generic `SKILL.md` support levels. - Added `CATALOG.md` as a cleaner audience-facing map of collections and high-value skills. - Added `adapters/` documentation for Claude Code, Cursor project rules, and Gemini CLI context files. - Added Cursor and Gemini CLI adapter files for project-level use. - Updated README, evidence, docs, and usage-signal guidance for broader agent ecosystem adoption.

  3. v0.1.1 GitHub ↗
    Original release notes

    ## Codex Premium Website Skills v0.1.1 - Added `EVIDENCE.md` to summarize proof-of-output, workflow estimates, benchmark readiness, and evidence status. - Added maintainer workflow, usage-signal, and measured benchmark template documentation. - Improved install documentation for clone-based and release-archive usage. - Corrected stale benchmark skill references. - Refined public attribution language in `design-motion-principles`. - Added repository hygiene for release artifacts and GitHub language classification.

  4. v0.1.0 GitHub ↗
    Original release notes

    # Changelog All notable changes to Codex Premium Website Skills are documented here. ## [0.1.0] - 2026-07-02 - Initial public release of the curated 70-skill public core. - Added eight installable collections for design direction, frontend implementation, QA, motion, content, and maintainer safety workflows. - Added the local installer with dry-run, selected-collection, and replace-with-backup behavior. - Added the premium website showcase gallery with nine local demo previews. - Added public quality, security, benchmark, contribution, and community-health documentation. - Added automated skill validation through GitHub Actions.

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value95/100

Highlights

  • 提供从简单自动化到复杂多智能体系统的完整设计框架
  • 覆盖高频刚需场景,显著提升 AI 系统架构设计效率
  • 方法论清晰,适用于开发者、架构师等广泛用户群体
Trigger Precision95/100

Highlights

  • 触发词精准完整,明确描述智能体编排架构设计功能
  • 边界清晰,列举具体应用场景和决策维度
Structure and Standards95/100

Highlights

  • 文档结构严谨,包含设计原则、操作契约、控制机制等完整章节
  • 逻辑清晰,有明确出口条件和端到端示例
  • frontmatter 完整,符合规范要求
Execution Reliability95/100

Highlights

  • 基于通用 AI 系统设计原则,无外部依赖风险
  • 覆盖异常处理机制(重试、超时、审批检查点等)
  • 不可逆操作有明确的授权和边界控制机制
Evidence Verifiability (mean of the first four)95/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.