Skip to main content

Agent Evolve

A comprehensive toolkit for evolving and tracking AI agents through evolutionary programming and automated optimization.

Features

  • 🧬 Evolutionary Optimization: Automatically improve your AI agents using OpenEvolve
  • 📊 Interactive Dashboard: Real-time tracking and visualization of evolution progress
  • 🎯 Smart Extraction: Automatically find and extract functions marked for evolution
  • 🔧 Auto-Generation: Generate evaluators, training data, and configurations automatically
  • 📈 Metrics Tracking: Comprehensive metrics collection and analysis
  • 🚀 CLI Interface: Easy-to-use command-line tools for all operations

Quick Start

Installation

pip install agent-evolve

Basic Usage

  1. Mark functions for evolution by adding the @evolve decorator:
from agent_evolve import evolve

@evolve()
def my_function(x: int) -> str:
    return f"Hello {x}"
  1. Extract evolution targets:
agent-evolve extract /path/to/your/code
  1. Run the evolution pipeline:
agent-evolve pipeline my_function
  1. View results in the dashboard:
agent-evolve dashboard

CLI Commands

  • extract - Extract functions marked with @evolve decorator
  • generate-training-data - Generate training data for extracted functions
  • generate-evaluators - Generate evaluation functions
  • generate-configs - Generate OpenEvolve configuration files
  • evolve - Run evolution optimization on a specific tool
  • pipeline - Run the complete pipeline (training data → evaluator → config → evolution)
  • dashboard - Launch the interactive Streamlit dashboard
  • analyze - Analyze tracking data

Dashboard Features

  • Evolution Pipeline: Step-by-step progress tracking
  • Code Comparison: Side-by-side diffs of original vs evolved code
  • Metrics & Timeline: Performance improvements over time
  • Interactive Tools: Generate evaluators, run evolution, and more

Requirements

  • Python 3.8+
  • OpenAI API key (for evaluator generation)
  • OpenEvolve package

License

MIT License - see LICENSE file for details.

Contributing

Contributions welcome! Please read our contributing guidelines and submit pull requests.

Release files for agent-evolve 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agent-evolve 1.0.0
File Size Uploaded
agent_evolve-1.0.0.tar.gz 92.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for agent-evolve 1.0.0
File Interpreter ABI Platform
agent_evolve-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 195.1 kB

Release files / agent_evolve-1.0.0.tar.gz

Download URL agent_evolve-1.0.0.tar.gz
Size 92.1 kB
Tags Source
SHA-256 checksum
How to use checksums
079744561e9c3fe2afea9fcf1385771c056dddbcbb4a27422a95118fd27888b8
BLAKE2b-256 checksum
How to use checksums
a8fbdb35ebcfc8ac136d6ed73bba732f6355f3e104a94193c62d84b3f63459e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.4

Release files / agent_evolve-1.0.0-py3-none-any.whl

Download URL agent_evolve-1.0.0-py3-none-any.whl
Size 103.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
84f2981f5f248fdd8504145d116973bba573b2eee663f3d46f119a7ec520b998
BLAKE2b-256 checksum
How to use checksums
4a74d05bed1aa3f41f806c5c229d6de85038ba900b094dff0483b292458e5e72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.4

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page