gateway-orchestrator-contract

Community

Harden multi-agent orchestration across services.

Authorzxc1a1a1
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill standardizes the contract between AgentHub Gateway and the internal Orchestrator, preventing process-boundary leaks and ensuring reliable streamed orchestration with traceability and safe error handling.

Core Features & Use Cases

  • Service boundary enforcement: Guarantees Gateway only handles external HTTP/SSE, while Orchestrator owns planning, execution, fallback/retry, and internal streaming.
  • Stable inter-process streaming protocol: Defines the internal OrchestratorStreamEvent (snake_case) and the required mapping responsibility to AG-UI events (UPPER_SNAKE_CASE).
  • Operational correctness for runs: Specifies OrchestratorRequest, OrchestrationPlan, OrchestratorResult, run lifecycle/status, ordered_parallel and sequential behaviors.
  • Cross-process safety & reliability: Mandates internal auth, timeout, cancellation propagation, trace header propagation, and SafeError error contracts.
  • Contract test and mock-first guidance: Provides minimum checks to validate endpoints, serialization, streaming, cancel behavior, and error redaction.

Quick Start

Implement Gateway and Orchestrator as two independent processes and use this contract to validate request/stream/result shapes, internal auth, trace headers, and cancellation semantics end to end.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: gateway-orchestrator-contract
Download link: https://github.com/zxc1a1a1/Multi_Agent-AgentHub/archive/main.zip#gateway-orchestrator-contract

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.