openserv-multi-agent-workflows
できること
このスキルは、リサーチのエージェントが執筆のエージェントに仕事を渡すように、複数のOpenServのエージェントを一つのワークフローにつなぐ方法を示します。順番に複数の専門のエージェントが必要なタスクを構築する人向けです。
使う場面
- ✓リサーチと執筆のように、複数の専門のエージェントが順番に働く必要があるタスクのとき。
- ✓マーケットプレイスでエージェントを見つけて組み合わせたいとき。
- ✓トリガー、タスク、エッジで接続されたワークフローが必要なとき。
スキルのリンク
https://github.com/internet-court/internet-court-skill/blob/main/vendored/openserv/openserv-multi-agent-workflows/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“あるエージェントがトピックをリサーチし、二つ目のエージェントがそのリサーチからブログ記事を書くワークフローを設定してもらえますか?”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、トリガーとタスクを持つワークフローを作り、ステップが順番に動くようにタスク間のエッジを追加します。タスクの依存関係だけでは不十分で、フローをつなぐためにワークフローのエッジが必要です。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Multi-Agent Workflows on OpenServ
Build workflows where multiple AI agents collaborate to complete complex tasks.
Reference files:
reference.md- Workflow patterns, declarative sync, triggers, monitoringtroubleshooting.md- Common issues and solutionsexamples/- Complete pipeline examples (blog, youtube-to-blog, etc.)
Quick Start
See examples/ for complete runnable examples:
blog-pipeline.md- Simple 2-agent workflow (research → write)content-creation-pipeline.md- 3-agent workflow (research → write → image)life-coaching-pipeline.md- Complex 6-agent workflow with comprehensive input schema
Recommended pattern using workflows.sync():
- Authenticate with
client.authenticate() - Find agents with
client.agents.listMarketplace() - Create workflow with
client.workflows.create()including:- Triggers
- Tasks
- Edges (⚠️ CRITICAL - connects triggers and tasks together)
⚠️ CRITICAL: Always define edges when creating workflows. Setting task dependencies is NOT enough - you must create workflow edges to actually connect triggers to tasks and tasks to each other.
Workflow Name & Goal
When creating workflows (via workflows.create() or provision()), two properties are critical:
name(string) - This becomes the agent name in ERC-8004. Make it polished, punchy, and memorable — this is the public-facing brand name users see. Think product launch, not variable name. Examples:'Instant Blog Machine','AI Video Studio','Polymarket Intelligence'.goal(string, required) - A detailed description of what the workflow accomplishes. Must be descriptive and thorough — short or vague goals will cause API calls to fail. Write at least a full sentence explaining the end-to-end purpose of the workflow.
Core Concepts
Workflows
A workflow (workspace) is a container that holds multiple agents and their tasks.
Task Dependencies
- Each task is assigned to a specific agent
- Tasks can depend on other tasks:
dependencies: [taskId1, taskId2] - A task only starts when all dependencies are
done - Output from dependencies is passed to dependent tasks
Workflow Graph
- Nodes: Triggers and tasks
- Edges: Connections between nodes
- When Task A completes, its output flows to dependent tasks via edges
Agent Discovery
// Search marketplace for agents by name/capability (semantic search)
const result = await client.agents.listMarketplace({ search: 'research' })
const agents = result.items // Array of marketplace agents
// Get agent details
const agent = await client.agents.get({ id: 123 })
console.log(agent.capabilities_description)
// Note: client.agents.searchOwned() only searches YOUR OWN agents
// Use listMarketplace() to find public agents for multi-agent workflows
Common agent types: Research (Grok, Perplexity), Content writers, Data analysis, Social media (Nano Banana Pro), Video/audio creators.
Edge Design Best Practices
CRITICAL: Carefully design your workflow edges to avoid creating tangled "spaghetti" graphs.
A well-designed workflow has clear, intentional data flow. Common mistakes lead to unmaintainable workflows.
Bad Pattern - Everything Connected to Everything
┌──────────────────────────────────┐
│ ┌─────────┐ │
│ ┌─────┤ Agent A ├─────┐ │
│ │ └────┬────┘ │ │
│ │ │ │ │
Trigger ─┼─────┼──────────┼──────────┼──────┤
│ │ │ │ │
│ │ ┌────┴────┐ │ │
│ └─────┤ Agent B ├─────┘ │
│ └─────────┘ │
└──────────────────────────────────┘
(Spaghetti - avoid this!)
This creates:
- Unclear execution order
- Difficult debugging
- Agents receiving redundant/conflicting inputs
- Hard to understand what depends on what
Good Patterns
Sequential Pipeline:
Trigger → Research → Content → Enhancement → Output
Staged Fan-Out:
┌─ Task A ─┐
Trigger → Research ─┼─ Task B ─┼─→ Combiner → Output
└─ Task C ─┘
Conditional Branching (v1.1.3+):
┌─[approved]─→ Process
Trigger → Review ──┤
└─[rejected]─→ Reject Handler
Use outputOptions on tasks and sourcePort on edges for branching.
よくある質問
なぜエッジが必要ですか?
タスクの依存関係だけでは、トリガーとタスクはつながらないため、ワークフローのエッジを定義する必要があるとしています。
使うエージェントはどう見つけますか?
マーケットプレイスのエージェントを一覧にする方法を示しています。
例は含まれていますか?
はい。ブログのパイプラインやコンテンツ制作のパイプラインなど、完全なパイプラインの例を含みます。
詳細
作者による元の説明
Multi-agent workflow examples to work together on the OpenServ Platform. Covers agent discovery, multi-agent workspaces, task dependencies, and workflow orchestration using the Platform Client. Read reference.md for the full API reference. Read openserv-agent-sdk and openserv-client for building and running agents.
人気
- GitHubのスター
- 7.0k
- ランキング
- #13671
- ライセンス
- —
- 更新日
- 2026/10/26
コメント
- …
このリポジトリの他のスキル
internet-court
7.0kエージェントが、他のAIエージェントや有料サービスと安全に支払い、雇用、取引できるよう支援し、適切な専門ガイドを案内します。
genlayer-erc7710-connector
7.0kエージェントが、AIによるレビューの結果を権限の仕組みにつなぎ、悪いレビューがエージェントの権限を制限または取り消せるよう支援します。
genlayer-intelligent-contracts
7.0kエージェントが、別のエージェントが委任された範囲を守ったかを判定するAIの審査役について、ルール、証拠、出力を定義できるよう支援します。
x402-erc7710
7.0kエージェントが、リクエストごとにウェブサービスの支払いを行い、許可された予算の範囲内で継続的な支出を設定できるよう支援します。
似ているスキル
add-model-provider
394k安全なセットアップコマンドで新しいAIモデルプロバイダーをOpenClawに接続し、APIキーを平文で残さず、ライブテストを行うようエージェントを支援します。
acp-router
394kClaude CodeやCursorなどのコーディングアシスタントに、OpenClaw経由でタスクを渡し、その作業がそのツール内で行われるようエージェントを支援します。
browser-automation
394kログイン、タブ、応答しなくなったページからの復旧を含め、Webページを段階的に操作するようエージェントに教えます。