Loading...
Loading...
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.
npx skill4agent add openserv-labs/skills openserv-multi-agent-workflowsreference.mdtroubleshooting.mdexamples/examples/blog-pipeline.mdcontent-creation-pipeline.mdlife-coaching-pipeline.mdworkflows.sync()client.authenticate()client.agents.listMarketplace()client.workflows.create()dependenciesworkflows.create()provision()name'Instant Blog Machine''AI Video Studio''Polymarket Intelligence'goaldependencies: [taskId1, taskId2]done// 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 ┌──────────────────────────────────┐
│ ┌─────────┐ │
│ ┌─────┤ Agent A ├─────┐ │
│ │ └────┬────┘ │ │
│ │ │ │ │
Trigger ─┼─────┼──────────┼──────────┼──────┤
│ │ │ │ │
│ │ ┌────┴────┐ │ │
│ └─────┤ Agent B ├─────┘ │
│ └─────────┘ │
└──────────────────────────────────┘
(Spaghetti - avoid this!)Trigger → Research → Content → Enhancement → Output ┌─ Task A ─┐
Trigger → Research ─┼─ Task B ─┼─→ Combiner → Output
└─ Task C ─┘ ┌─[approved]─→ Process
Trigger → Review ──┤
└─[rejected]─→ Reject HandleroutputOptionssourcePort# Check if updates are available
npx skills check
# Update all installed skills to latest versions
npx skills updatenpx skills add openserv-labs/skills