A multi-agent app built on EvoAgentX that turns a single natural-language goal into a working program. It automatically generates a multi-agent workflow, executes it to produce code, then verifies and repairs that code
Sign in to save downloads to your library and vote.
Preview
๐งฌ Self-Evolving AI Agent
A multi-agent app built on EvoAgentX that turns a single natural-language goal into a working program. It automatically generates a multi-agent workflow, executes it to produce code, then verifies and repairs that code with a second model โ no manual agent wiring required.
The included example takes the goal "Generate HTML code for a Tetris game that can be played
in the browser" and writes a ready-to-play index.html.
โจ What It Demonstrates
- Automatic workflow generation โ
WorkFlowGeneratordesigns the agents and steps from a plain-English goal. - Multi-agent execution โ
AgentManager+WorkFlowinstantiate and run the generated agents. - Cross-model code verification โ generation runs on OpenAI
gpt-4o-mini; a separate Anthropic Claude pass verifies and fixes the output. - Self-evolving by design โ the workflow is built and refined by the system itself rather than hand-coded.
๐ ๏ธ How to Get Started
-
Clone the repository
git clone https://github.com/Shubhamsaboo/awesome-llm-apps.git cd awesome-llm-apps/advanced_ai_agents/multi_agent_apps/ai_self_evolving_agent -
Install dependencies
pip install -r requirements.txt pip install git+https://github.com/EvoAgentX/EvoAgentX.git -
Set your API keys
export OPENAI_API_KEY=<your-openai-api-key> export ANTHROPIC_API_KEY=<your-anthropic-api-key>(Or place them in a
.envfile in this folder.) -
Run the agent
python ai_Self-Evolving_agent.pyThe generated game is written to
examples/output/tetris_game/index.htmlโ open it in a browser to play.
๐ง How It Works
- Define a goal in natural language (e.g. build a Tetris game).
- Generate a workflow โ
WorkFlowGeneratorproduces a multi-agent graph for the goal. - Run the workflow โ
AgentManagerbuilds the agents andWorkFlowexecutes them withgpt-4o-mini. - Verify the output โ a Claude model (via LiteLLM) reviews and repairs the generated code through
CodeVerification. - Save the result โ the final code is extracted and written to the output directory.
๐ Learn More
This example is powered by the open-source EvoAgentX framework. For docs, tutorials, and additional optimizers (TextGrad, AFlow, MIPRO), see the EvoAgentX repository.
Ingestion metadata
- Source catalog
- awesome-llm-apps
- Repository
- Shubhamsaboo/awesome-llm-apps ยท main
- File path
- advanced_ai_agents/multi_agent_apps/ai_self_evolving_agent/README.md
- Last refreshed
- 7/23/2026, 10:39:07 PM (4h ago)
- Refresh schedule
- Daily ยท 03:00 UTC
- Dedupe status
- Unique ยท deduped by (source, url)