Discover and explore top open-source AI tools and projects—updated daily.
NousResearchEvolutionary optimization for AI agent components
Top 42.3% on SourcePulse
This repository offers an automated system for the evolutionary self-improvement of the Hermes Agent, focusing on optimizing its skills, prompts, and code. It targets developers and users within the Hermes Agent ecosystem seeking enhanced agent performance. The primary benefit is achieving measurably better agent versions through reflective evolutionary search, operating entirely via API calls without requiring GPU training, with estimated costs of $2-10 per optimization run.
How It Works
The project employs DSPy combined with GEPA (Genetic-Pareto Prompt Evolution) to drive an evolutionary search process. It iteratively mutates text-based components like skills, tool descriptions, and system prompts. Candidate variants are generated, evaluated against execution traces and defined guardrails, and the best performing ones are selected. This approach allows the system to understand why failures occur and propose targeted improvements, operating via API calls for mutation and evaluation.
Quick Start & Requirements
pip install -e ".[dev]".HERMES_AGENT_REPO environment variable to point to your hermes-agent repository (e.g., export HERMES_AGENT_REPO=~/.hermes/hermes-agent).python -m evolution.skills.evolve_skill --skill github-code-review --iterations 10 --eval-source synthetic, or use real session history with --eval-source sessiondb.PLAN.md.Highlighted Details
Maintenance & Community
The project is associated with Nous Research and has been presented at ICLR 2026. No specific community links (Discord, Slack) or details on active maintenance beyond the planned phases are provided in the README.
Licensing & Compatibility
The core project and its DSPy + GEPA engine are released under the permissive MIT License, suitable for commercial use. However, the planned "Darwinian Evolver" component carries an AGPL v3 license, which may impose copyleft restrictions if integrated or modified, particularly concerning its use as an external CLI.
Limitations & Caveats
Phases 2 through 5, covering optimization of tool descriptions, system prompts, tool code, and establishing a continuous improvement loop, are currently planned but not yet implemented. The AGPL v3 license of the Darwinian Evolver may present compatibility challenges for some commercial applications. All code changes require human review via PR before merging.
1 week ago
Inactive
karthikscale3
microsoft
SakanaAI
gepa-ai