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) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“هل تستطيع إعداد سير عمل يبحث فيه وكيل في موضوع، ويكتب فيه وكيل ثانٍ مقالًا من نتائج البحث؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
ينشئ الوكيل سير عمل بمشغّلات ومهام، ثم يضيف حوافّ بينها حتى تعمل الخطوات بالترتيب. وتبعيات المهام وحدها لا تكفي، لذلك يلزم تعريف الحواف لربط التدفق.
المحتوى التقني (ملف 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
- الترخيص
- —
- آخر تحديث
- 26/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
internet-court
7.0kيساعد وكيلك على الدفع لوكيل ذكاء اصطناعي آخر أو لخدمة مدفوعة، أو التعامل معهما بأمان، ويوجهه إلى الدليل المتخصص المناسب.
genlayer-erc7710-connector
7.0kيساعد وكيلك على ربط نتيجة مراجعة الذكاء الاصطناعي بنظام الصلاحيات، بحيث يمكن لمراجعة سيئة أن تقيّد صلاحيات الوكيل أو تلغيها.
genlayer-intelligent-contracts
7.0kيساعد وكيلك على تحديد قواعد وأدلة ومخرجات قاضٍ بالذكاء الاصطناعي يتحقق مما إذا كان وكيل آخر التزم بتفويضه.
x402-erc7710
7.0kيساعد وكيلك على الدفع مقابل خدمات الويب طلبًا تلو الآخر، وعلى إعداد إنفاق مستمر يبقى ضمن ميزانية الصلاحيات.
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.