EvoAgentX Workflow
by @kylechen26
Bridge EvoAgentX (1000+ star open-source framework) with OpenClaw. Enables self-evolving agentic workflows - workflows that automatically improve over time t...
clawhub install evoagentx-workflowπ About This Skill
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:
Quick Start
CLI Usage
This skill provides a command-line interface for EvoAgentX operations:
# Check if EvoAgentX is installed
python3 scripts/evoagentx_cli.py statusGet installation instructions
python3 scripts/evoagentx_cli.py installShow usage examples
python3 scripts/evoagentx_cli.py examplesCreate 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 evoagentxVerify 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, Workflowclass 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 EvolutionEngineengine = EvolutionEngine()
optimized_workflow = await engine.evolve(
workflow=MyWorkflow(),
iterations=10,
evaluation_criteria={"accuracy": 0.95}
)
Core Concepts
Workflows
Evolution Strategies
Genomes
Encoded success patterns containing: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
References
Version
1.0.0 - Initial release with core EvoAgentX integration
π‘ Examples
CLI Usage
This skill provides a command-line interface for EvoAgentX operations:
# Check if EvoAgentX is installed
python3 scripts/evoagentx_cli.py statusGet installation instructions
python3 scripts/evoagentx_cli.py installShow usage examples
python3 scripts/evoagentx_cli.py examplesCreate 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 evoagentxVerify 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, Workflowclass 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 EvolutionEngineengine = EvolutionEngine()
optimized_workflow = await engine.evolve(
workflow=MyWorkflow(),
iterations=10,
evaluation_criteria={"accuracy": 0.95}
)