openserv-multi-agent-workflows
What it does
This skill shows how to connect several OpenServ agents into one workflow, such as a research agent handing work to a writing agent. It is for builders who need multi-step pipelines of agents.
When to use it
- βWhen a task needs several specialized agents to work in sequence, such as research then writing.
- βWhen you want to find agents on the marketplace and combine them.
- βWhen you need a workflow with triggers, tasks, and edges that connect them.
Skill link
https://github.com/internet-court/internet-court-skill/blob/main/vendored/openserv/openserv-multi-agent-workflows/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βCan you set up a workflow where one agent researches a topic and a second agent writes a blog post from the research?β
5 new skills a week. 1 minute to read.
How it works
The agent creates a workflow with triggers and tasks, then adds edges between them so the steps run in order. Setting task dependencies alone is not enough, so the edges are required to connect the flow.
Technical content (original SKILL.md)
Original text by the author, straight from 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.
FAQ
Why are edges needed?
The skill says task dependencies alone do not connect triggers and tasks, so workflow edges must be defined.
How do I find agents to use?
The skill shows how to list agents on the marketplace.
Does it include examples?
Yes. It includes complete pipeline examples such as a blog pipeline and a content creation pipeline.
Details
Original description by the author
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.
Popularity
- GitHub stars
- 7.0k
- Ranking position
- #13671
- License
- β
- Updated
- 10/26/2026
Comments
- β¦
More skills from this repository
internet-court
7.0kHelps your agent pay, hire, or deal safely with another AI agent or paid service, and points it to the right specialized guide.
genlayer-erc7710-connector
7.0kHelps your agent connect an AI review result to a permission system, so a bad review can limit or cancel an agent's permissions.
genlayer-intelligent-contracts
7.0kHelps your agent define the rules, evidence and outputs of an AI judge that checks whether another agent followed its mandate.
x402-erc7710
7.0kHelps your agent pay for web services one request at a time, and set up ongoing spending that stays within a permission budget.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.