Перейти к содержанию
Skillpedia
Агенты7.0k · #13671

openserv-multi-agent-workflows

Что он делает

Этот скилл показывает, как связать несколько агентов OpenServ в один рабочий процесс, например агент-исследователь передаёт работу агенту-писателю. Он нужен создателям, которым нужны многошаговые конвейеры агентов.

Когда использовать

  • ✓Когда задаче нужны несколько специализированных агентов, работающих по порядку, например сначала исследование, потом текст.
  • ✓Когда вы хотите найти агентов на маркетплейсе и объединить их.
  • ✓Когда вам нужен рабочий процесс с триггерами, задачами и связями между ними.

Ссылка на скилл

https://github.com/internet-court/internet-court-skill/blob/main/vendored/openserv/openserv-multi-agent-workflows/SKILL.md

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/internet-court/internet-court-skill/blob/main/vendored/openserv/openserv-multi-agent-workflows/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Можешь настроить рабочий процесс, в котором один агент исследует тему, а второй пишет по этому исследованию статью для блога?”

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, 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.

Частые вопросы

Зачем нужны связи?

Скилл говорит, что одних зависимостей задач недостаточно для соединения триггеров и задач, поэтому связи рабочего процесса нужно определить.

Как найти агентов для использования?

Скилл показывает, как вывести список агентов на маркетплейсе.

Есть ли примеры?

Да. Есть полные примеры конвейеров, например конвейер для блога и конвейер создания контента.

Подробности

Оригинальное описание автора

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.

repo: internet-court/internet-court-skill

Популярность

Звёзды на GitHub
7.0k
Место в рейтинге
#13671
Лицензия
—
Обновлён
26.10.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

Похожие скиллы