SuperAPI AI Directory

EvoAgentX

EvoAgentX is an open-source framework for building, evaluating, and evolving LLM-based agents or multi-agent workflows in an automated, modular, and goal-driven manner. It enables developers to go beyond static prompt chains or manual orchestration, achieving self-evolution of the agent ecosystem through iterative feedback loops. Core features include: automatic construction of multi-agent workflows from a single prompt, built-in automatic evaluators, a self-evolution engine, compatibility with OpenAI, Qwen, Claude, Deepseek, kimi, and other models (via LiteLLM, siliconflow, or openrouter), as well as a built-in toolset (code interpreter, search, file system, database, image, browser automation, etc.), short-term and long-term memory modules, and support for human-in-the-loop (HITL) interaction. EvoAgentX is suitable for AI researchers, workflow engineers, and startup teams, enabling them to go from a vague idea to a fully functional agent system with minimal engineering.

Open website

About this tool

Overview

EvoAgentX is an open-source framework for building, evaluating, and evolving LLM-based agents and agent workflows. It adopts an automated, modular, and goal-driven approach, freeing developers from being limited to static prompt chains or manual orchestration, and instead enabling them to build and optimize through iterative feedback loops. The framework was developed by ANative-Lab, is open source on GitHub, was officially released in May 2025, and had gained more than 1,000 GitHub stars as of July 2025.

Main Capabilities

Automatic Construction of Agent Workflows

Simply provide a natural language goal, and EvoAgentX can automatically generate a structured multi-agent workflow.

Built-in Evaluation

Integrated automatic evaluators can score agent behavior according to task-specific criteria.

Self-Evolution Engine

Agents can not only work, but also learn. EvoAgentX uses self-evolution algorithms to improve workflows, integrates multiple evolutionary algorithms, and supports community contributions of new algorithms.

Plug-and-Play Compatibility

Easily integrate OpenAI, Qwen, and other popular models (such as Claude, Deepseek, kimi), implemented through LiteLLM, siliconflow, or openrouter. To deploy an LLM locally on your machine, you can use LiteLLM.

Comprehensive Built-in Tools

EvoAgentX comes with a rich set of built-in tools that enable agents to interact with the real environment. These include:

  • Code interpreter (Python, Docker)
  • Search and HTTP requests (Google, Wikipedia, arXiv, RSS)
  • File system tools (read/write, shell commands)
  • Database (MongoDB, PostgreSQL, FAISS)
  • Image tools (analysis, generation)
  • Browser automation (low-level and LLM-driven)

It also supports MCP tools, which can be configured according to the tutorial.

Memory Modules

Supports short-term (temporary) and long-term (persistent) memory systems, enabling agents to remember, reflect, and improve across interactions.

Human-in-the-Loop (HITL) Interaction

Supports interactive workflows where humans can review, correct, and guide agent behavior. All human interactions are managed through a central HITLManager instance, including HITLInterceptorAgent (approval gating) and HITLUserInputCollectorAgent (collecting user data) and other specialized agents.

Usage

Installation

pip installation is recommended:

pip install EvoAgentX

You can also install from source. For local development or detailed setup (such as using conda), please refer to the installation guide.

LLM Configuration

Using an LLM (such as OpenAI) requires setting an API key. You can set environment variables in the Windows Command Prompt or PowerShell, or create one in the project root directory .env file and add the key, then load it in Python. Once set up, the LLM can be initialized. For more supported models and configuration options, see the LLM Module Guide.

Automatic Workflow Generation and Execution

After configuring the API key and language model, multi-agent workflows can be automatically generated and executed:

  1. Define the goal in natural language
  2. Use WorkFlowGenerator to generate the workflow
  3. Use AgentManager to instantiate agents
  4. Execute the workflow via WorkFlow

The workflow can be visualized (workflow_graph.display()) and saved/loaded (save_module() / from_file()). For a complete example, see workflow_demo.py.

Tool-Enabled Workflow Generation

In more advanced scenarios, the workflow agents may need to use external tools. EvoAgentX supports automatic tool integration: provide a list of toolkits to WorkFlowGenerator, and the generator will consider them and include them in the appropriate agents. For example, ArxivToolkit can be enabled.

Human-in-the-Loop (HITL) Support

Human interaction can be integrated into agent workflows. For example, requiring an email-sending agent to obtain human approval before execution; when the interceptor triggers, the workflow pauses and prompts for approval or rejection in the console.

Application Examples

Application 1: Financial Information Agent Workflow

Using a workflow generated by EvoAgentX, collect public company information based on a given index, including the overall market index, current stock price, institutional buying and selling activity, etc., and finally generate an HTML report that summarizes the information and provides buy/sell/hold recommendations. This is an alpha version.

Application 2: ArXiv Research Summary Workflow

Generated by EvoAgentX and based on the ArXiv MCP tool, it can retrieve and summarize arXiv papers based on keywords and time ranges. It can be extended to other academic search platforms (such as Google Scholar).

Evolutionary Algorithms and Evaluation

EvoAgentX integrates multiple effective agent/workflow evolutionary algorithms. Performance was evaluated on three different tasks: multi-hop question answering (HotPotQA), code generation (MBPP), and reasoning (MATH). For each task, 50 examples were randomly sampled for validation and 100 examples for testing. GAIA benchmark was also used to optimizetwo multi-agent systems, Open Deep Research and OWL, optimizing their prompts. The benchmark and evaluation code have been integrated into EvoAgentX.

Use Cases

  • AI researchers: explore self-evolving agent algorithms
  • Workflow engineers: automate the construction and optimization of multi-agent workflows
  • Startup teams: quickly build fully functional agent systems from vague ideas
  • Critical tasks requiring human-in-the-loop approval
  • Applications requiring agents to interact with the real environment (search, code, files, databases, etc.)

Limitations

The materials do not provide specific information about fees, pricing, platform limitations, or performance guarantees. Some application examples are labeled as alpha versions.

Community and Support

  • Discord: real-time chat, discussion, and collaboration
  • X (formerly Twitter): follow news and updates
  • WeChat: Chinese community
  • Weekly meetings: Sunday 16:30–17:30 GMT+8
  • Email: evoagentx.ai@gmail.com (replies within 2-3 business days)

Contributing

Community contributions are welcome; you can submit issues or Pull Requests to suggest the latest self-evolving algorithms or new tools. Contribution guide documentation is provided.

Roadmap

  • Modular evolutionary algorithms
  • Develop task templates and agent modules
  • Integrate more self-evolving agent algorithms (prompt tuning, workflow structure, memory modules)
  • Visual workflow editing interface

Citation

If you find EvoAgentX helpful, you can cite EvoAgentX and the Survey Paper. The project is built on open-source projects such as AFlow, TextGrad, DSPy, EvoPrompt, and LiveCodeBench.