본문으로 건너뛰기
cccskills
무료GitHub에 공개

openserv-multi-agent-workflows

Build workflows on OpenServ where multiple AI agents share tasks and pass results between steps. Examples cover research, writing, and image creation, with guidance on finding agents, setting dependencies, and connecting sequential or parallel work.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

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.

설치 방법 보기

이럴 때 유용합니다

  • Connect research and writing agents
  • Build a research-to-image content pipeline
  • Combine results from parallel tasks
  • Branch a workflow based on review results

포함된 파일(15)

  • SKILL.md6.8 KB
  • examples/blog-pipeline.md7.7 KB
  • examples/content-creation-pipeline.md7.0 KB
  • examples/crypto-alpha-pipeline.md6.1 KB
  • examples/life-coaching-pipeline.md11.8 KB
  • examples/paid-image-pipeline.md5.6 KB
  • examples/podcast-production-line.md6.3 KB
  • examples/polymarket-intelligence.md6.2 KB
  • examples/social-media-pipeline.md6.3 KB
  • examples/tokenomics-design-pipeline.md6.8 KB
  • examples/video-content-factory.md6.0 KB
  • examples/youtube-to-blog-pipeline.md6.4 KB
  • LICENSE346 B
  • reference.md6.8 KB
  • troubleshooting.md5.3 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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, monitoring
  • troubleshooting.md - Common issues and solutions
  • examples/ - 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():

  1. Authenticate with client.authenticate()
  2. Find agents with client.agents.listMarketplace()
  3. 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.

Guidelines for Clean Workflows

  1. Linear is usually best: Start with a simple chain, only add complexity when truly needed
  2. Each task should have a clear purpose: If you can't explain why Task A connects to Task B, remove the edge
  3. Minimize cross-connections: Avoid connecting every agent to every other agent
  4. Use fan-out only for parallel work: Multiple tasks from one source is fine; connecting everything to everything is not
  5. One combiner at the end: If you need to merge outputs, have ONE final task that depends on all parallel branches

Before Adding an Edge, Ask:

  • Does Task B actually need the output of Task A?
  • Would Task B work without this connection?
  • Am I adding this edge "just in case"? (Don't!)

Updating This Skill

This skill may be outdated. The OpenServ team ships updates regularly—new features, API changes, and bug fixes won't be reflected here until you update. If something isn't working as expected, or you want to make sure you have the latest information, update the skill before proceeding.

# Check if updates are available
npx skills check

# Update all installed skills to latest versions
npx skills update

Or reinstall the OpenServ skills directly:

npx skills add openserv-labs/skills

Related Skills

  • openserv-agent-sdk - Building individual agent capabilities
  • openserv-client - Full Platform Client API reference
  • openserv-launch - Launch tokens on Base blockchain
  • openserv-ideaboard-api - Find ideas and ship agent services on the Ideaboard

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Build chat, image generation, and speech transcription features on 0G Compute Network, a distributed GPU marketplace. This skill guides SDK integration, model fine-tuning, response processing for billing, and account funding through code patterns and CLI commands.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Integrating chat and image generation into an application
  • Preparing model fine-tuning jobs
  • Checking balances and funding provider accounts
internet-court/internet-court-skill6.9천2026년 8월 20일 업데이트

Build servers and clients for A2A, an open protocol that lets AI agents communicate across frameworks. Publish agent capabilities, exchange tasks and results, stream progress, and add notifications for workflows involving multiple agents.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Connect agents built with different frameworks
  • Publish agent capabilities through an Agent Card
  • Build a research, writing, and review workflow
internet-court/internet-court-skill6.9천2026년 8월 20일 업데이트

Give an AI agent a wallet with administrator-defined transaction limits. The skill covers encrypted key storage, balance checks, and sending funds through code-enforced rules for destinations, amounts, transaction frequency, and emergency shutdown.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Give an agent a wallet with transaction limits
  • Restrict transfers to approved chains and addresses
  • Check balances and active rules before sending
internet-court/internet-court-skill6.9천2026년 8월 20일 업데이트

Manage a crypto wallet with the awal CLI, including sign-in, balance checks, transfers, swaps, and funding. Also find and pay for APIs through x402, a payment protocol, set up paid endpoints, and query blockchain data on Base.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Check wallet balances across supported networks
  • Send tokens to an address or ENS name
  • Swap tokens or add wallet funds
internet-court/internet-court-skill6.9천2026년 8월 20일 업데이트

Write TypeScript, Rust, or Python code for Alkahest escrow contracts, which hold assets until conditions are met. Covers creating escrows, submitting fulfillment, collecting payments, and building custom contracts that decide whether requirements have been satisfied.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Integrate Alkahest escrow into an application
  • Build a bot that creates escrows and submits fulfillment
  • Implement payment collection and fulfillment monitoring
internet-court/internet-court-skill6.9천2026년 8월 20일 업데이트

Use the Alkahest CLI to manage escrow, where assets are held until agreed conditions are met. It covers buyer deposits, seller fulfillment and collection, third-party decisions, token swaps, and reclaiming expired, unfulfilled deposits.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Creating escrow with release conditions
  • Submitting work and collecting escrowed assets
  • Approving or rejecting fulfillment as an oracle
internet-court/internet-court-skill6.9천2026년 8월 20일 업데이트

internet-court의 스킬 모두 보기

이 스킬의 문제 신고