OpenAlpha_Evolve
Framework for autonomous coding agents using evolutionary algorithms
GraphCanon updated today · GitHub synced today
Decision brief
Autonomous coding agents evolve via advanced algorithms.
Good fit when
- Integration of iterative refinement into code generation processes
- Research involving autonomous software development experiments
Avoid when
- When needing immediate, human-tuned feedback for code improvements
- For projects preferring deterministic outcomes over evolved solutions
Observed Jul 17, 2026 · Source: enrich:decision_facts
Verify the decision
Maintenance and security
Full trust report- Maintenance
- Dormant (450d since push)
- As of today
- Provenance
- Not a fork · Personal account
- As of today
- Security (OSV)
- No lockfile
- As of 1mo
Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.
Install
pip install OpenAlpha_Evolve PyPISimilar tools
Same-category neighbours. No typed graph edges are catalogued for this tool yet.
Evidence and technical details
Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.
Overview
A Python-based framework inspired by DeepMind's AlphaEvolve, aimed at developing autonomous code-generating agents using advanced evolutionary algorithms
Capability facts
- Languages
- python
Source: github.language · Aug 25, 2026
Categories
Compatibility
Sourced claims from the README excerpt - not unsourced marketing copy.
Tags
README
🏁 Getting Started
-
Prerequisites:
- Python 3.10+
pipfor package managementgitfor cloning- Docker: For sandboxed code evaluation. Ensure Docker Desktop (Windows/Mac) or Docker Engine (Linux) is installed and running. Visit docker.com for installation instructions.
-
Clone the Repository:
git clone https://github.com/shyamsaktawat/OpenAlpha_Evolve.git cd OpenAlpha_Evolve -
Set Up a Virtual Environment (recommended):
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate -
Install Dependencies:
pip install -r requirements.txt -
Set Up Environment Variables (Crucial for API Keys):
- This step is essential for the application to function correctly with your API keys. The
.envfile stores your sensitive credentials and configuration, overriding the default placeholders inconfig/settings.py. - Create your personal environment file by copying the example:
cp .env_example .env
LLM Configuration
Google Cloud authentication (e.g., via Application Default Credentials (ADC) or service account keys pointed to by
GOOGLE_APPLICATION_CREDENTIALS) is a supported method for using Google's LLMs.To set up your environment variables for Google Cloud, you can use one of the following methods. These should be added to your
.envfile:# For Google Cloud (Vertex AI / AI Studio) # Option 1: Using Application Default Credentials (ADC) # Ensure you have authenticated via gcloud CLI: # gcloud auth application-default login # Or set the GOOGLE_APPLICATION_CREDENTIALS environment variable: # GOOGLE_APPLICATION_CREDENTIALS="/path/to/your/service-account-key.json" # Option 2: Directly using an API Key for specific Google services (e.g., Gemini API) # GEMINI_API_KEY="your_gemini_api_key"This project uses LiteLLM to interface with various LLM providers. For providers other than Google Cloud (e.g., OpenAI, Anthropic, Cohere), please refer to the LiteLLM documentation for the specific environment variables required. Common examples include:
# OPENAI_API_KEY="your_openai_api_key" # ANTHROPIC_API_KEY="your_anthropic_api_key" # COHERE_API_KEY="your_cohere_api_key"Add the necessary API key variables for your chosen LLM provider(s) to your
.envfile. - This step is essential for the application to function correctly with your API keys. The
-
Run OpenAlpha_Evolve! Run the example task (Dijkstra's algorithm) with:
python -m main examples/shortest_path.yamlWatch the logs in your terminal to see the evolutionary process unfold! Log files are also saved to
alpha_evolve.log(by default). -
Launch the Gradio Web Interface Interact with the system via the web UI. To start the Gradio app:
python app.pyGradio will display a local URL (e.g., http://127.0.0.1:7860) and a public share link if enabled. Open this in your browser to define custom tasks and run the evolution process interactively.
📜 License
This project is licensed under the MIT License. See the LICENSE.md file for details.
For agents
This page has a .md twin and JSON over the API.