360 Secure SkillHub
360 安全技能中心

EvoAgentX Workflow

该 Skill 提供一个 Python 命令行脚本,用于检查 EvoAgentX 安装状态、输出安装指引与示例、生成工作流模板并交由 EvoAgentX 演化引擎优化。文档描述工作流编排、TextGrad/AFlow/MIPRO 演化策略与 Genome 概念,但仓库内仅含 CLI 脚本,不含框架本体与算法实现。

分类:开发
kylechen26
kylechen26
热度 48.21
最近更新 2026-05-17 12:25:34

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add kylechen26/evoagentx-workflow
兼容性
通用兼容
联网要求
联网要求未确认
数据出网
数据出网未确认
Metadata
name
evoagentx-workflow
description
Bridge EvoAgentX (1000+ star open-source framework) with OpenClaw. Enables self-evolving agentic workflows - workflows that automatically improve over time through evolutionary optimization. Solves the gap where no EvoAgentX integration existed for OpenClaw (only 2 minimal EvoMap skills existed). Provides workflow autoconstruction, TextGrad/AFlow/MIPRO optimization algorithms, and GEP (Genome Evolution Protocol) integration.
metadata
{"openclaw":{"requires":{"bins":["python3","pip"]},"install":[{"id":"pip","kind":"pip","package":"evoagentx","bins":["python3"],"label":"Install EvoAgentX framework"}]}}

EvoAgentX Workflow Integration

Integrates the EvoAgentX framework with OpenClaw for self-evolving agentic workflows.

When to Use This Skill

Use this skill when:

  • Building multi-agent workflows that need to evolve over time
  • Evaluating and optimizing existing agent workflows
  • Implementing the Genome Evolution Protocol (GEP)
  • Creating self-improving agent systems
  • Migrating static workflows to self-evolving ones

Quick Start

CLI Usage

This skill provides a command-line interface for EvoAgentX operations:

# Check if EvoAgentX is installed
python3 scripts/evoagentx_cli.py status

# Get installation instructions
python3 scripts/evoagentx_cli.py install

# Show usage examples
python3 scripts/evoagentx_cli.py examples

# Create a workflow template
python3 scripts/evoagentx_cli.py create-workflow \
  --name ResearchWorkflow \
  --description "A research automation workflow"

# Check EvoAgentX status
python3 scripts/evoagentx_cli.py check

Installation

# Install EvoAgentX framework
pip install evoagentx

# Verify installation
python3 -c "import evoagentx; print(evoagentx.__version__)"

1. Create a Basic Workflow

After running create-workflow, edit the generated Python file:

from evoagentx import Agent, Workflow

class MyWorkflow(Workflow):
    async def execute(self, context):
        # Your workflow logic here
        result = await self.run_agents(context)
        return result

2. Enable Self-Evolution

from evoagentx.evolution import EvolutionEngine

engine = EvolutionEngine()
optimized_workflow = await engine.evolve(
    workflow=MyWorkflow(),
    iterations=10,
    evaluation_criteria={"accuracy": 0.95}
)

Core Concepts

Workflows

  • Multi-agent orchestration
  • State management
  • Tool integration

Evolution Strategies

  • TextGrad: Prompt optimization
  • AFlow: Workflow structure optimization
  • MIPRO: Multi-step reasoning optimization

Genomes

Encoded success patterns containing:

  • Task type classification
  • Approach methodology
  • Outcome metrics
  • Context requirements

Common Patterns

Pattern 1: Research Workflow Evolution

# Start with basic research workflow
workflow = ResearchWorkflow()

# Evolve for better results
evolution = await workflow.evolve(
    dataset=research_queries,
    metric="comprehensiveness"
)

Pattern 2: Tool Selection Optimization

# EvoAgentX automatically selects optimal tools
workflow = AgentWorkflow(
    tools=["web_search", "browser", "file_io"],
    auto_select=True
)

Security Considerations

  • All evolution happens locally (no data exfiltration)
  • Genomes contain no credentials
  • Evaluation uses synthetic data when possible

References

Version

1.0.0 - Initial release with core EvoAgentX integration