271f79610d
New skills: - blacknode-graph-workflow - multi-agent-workflow-execution - langgraph-agent-workflow - langgraph-multi-agent-router - three-tier-evaluation-pipeline Config: LLM pipeline uses LFM on llama.cpp (8080)
35 lines
2.5 KiB
JSON
35 lines
2.5 KiB
JSON
{
|
|
"name": "multi-agent-workflow-execution",
|
|
"version": "1.0.0",
|
|
"goal": "Execute multi-agent AI workflows defined in YAML blueprints by creating sessions, submitting user prompts, and polling for completion until final answers are returned.",
|
|
"inputs": [
|
|
"Blueprint ID or name (to identify the workflow to execute)",
|
|
"User shortcut (authentication identifier for the user)",
|
|
"User question or prompt (input to the workflow)",
|
|
"Base URL of the UnifAI API (endpoint for session management)",
|
|
"Polling interval (seconds between status checks during execution)"
|
|
],
|
|
"steps": [
|
|
"Resolve the blueprint ID from either direct ID or name lookup via the API, handling cases where the blueprint is not found or not unique",
|
|
"Create a new session from the resolved blueprint using the session creation endpoint",
|
|
"Submit the session with the user's prompt to start the multi-agent workflow execution",
|
|
"Poll the session status at regular intervals until the session completes, fails, or is cancelled",
|
|
"Retrieve and return the final answer from the completed workflow"
|
|
],
|
|
"outputs": [
|
|
"Final workflow result or answer (text or structured data)",
|
|
"Session status (completed, failed, or cancelled)",
|
|
"Error details if the workflow execution fails or times out"
|
|
],
|
|
"failure_modes": [
|
|
"Blueprint not found or not unique - script exits with an error listing available blueprints",
|
|
"Session creation fails - may be due to invalid blueprint ID, authentication issues, or rate limiting",
|
|
"Session submission fails - could be due to network issues, invalid parameters, or API rate limits",
|
|
"Polling loop times out - session may be stuck in a long-running state without progress",
|
|
"Final answer retrieval fails - could be due to session cleanup or network issues after completion"
|
|
],
|
|
"confidence": 0.95,
|
|
"explanation": "The UnifAI repository contains a concrete, reusable workflow pattern for executing multi-agent AI workflows. The scripts/execution_workflow.py script demonstrates a complete pipeline: resolving blueprints by ID or name, creating sessions from blueprints, submitting user prompts to start workflows, polling session status until completion, and retrieving final answers. This pattern can be adapted to any multi-agent workflow defined in the YAML blueprint system, making it reusable across different use cases and teams.",
|
|
"source_repo": "https://github.com/redhat-community-ai-tools/UnifAI.git",
|
|
"score": 1.0
|
|
} |