evolving-ai-agents

Evolve AI agents across prompts, skills, and memory using LLM-guided mutation cycles.

Updated May 2, 2026
One-click install
npx skills add https://github.com/qcmuu/AI-Research-Skills --skill evolving-ai-agents
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: evolving-ai-agents
Source: https://github.com/qcmuu/AI-Research-Skills/tree/main/14-agents/a-evolve
Command: npx skills add https://github.com/qcmuu/AI-Research-Skills --skill evolving-ai-agents

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires a-evolve, pyyaml, and includes references (resource) components.

What problem does it solve?

This Skill helps you automatically evolve AI agents so their prompts, skills, and memory improve over time against measurable benchmarks instead of relying on slow, manual trial-and-error.

Core Features & Use Cases

  • Benchmark-driven evolution loop: Runs solve → observe → evolve → gate → reload cycles using benchmark feedback to guide targeted mutations.
  • File-system-based agent optimization: Represents evolving agent state (prompts, skills, memory, tools) as versioned workspace files so changes are explicit, inspectable, and rollbackable.
  • Automated skill discovery and refinement: Learns reusable procedures by proposing, curating, merging, and updating skills based on observed failures and performance changes.
  • Git snapshot gating for safety: Uses git snapshots for rollback-friendly gating so rejected or harmful mutations don’t linger.

Quick Start

Use A-Evolve to run 10 evolution cycles for a SWE-bench agent by giving the command: pip install a-evolve && python -c "import agent_evolve as ae; evolver=ae.Evolver(agent='swe', benchmark='swe-verified'); r=evolver.run(cycles=10); print(r.final_score)"

Frequently Asked Questions about evolving-ai-agents

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically improve AI agent prompts and skills against benchmark scores?

Automated agent evolution uses LLM-guided mutation cycles to iteratively optimize prompts, skills, and memory for higher benchmark scores. It runs solve, observe, evolve, gate, and reload cycles, using benchmark feedback to guide targeted mutations instead of manual trial-and-error.

What is file-system-based agent optimization and how does it track self-improving agents?

File-system-based agent optimization represents evolving agent state—including prompts, skills, memory, and tools—as versioned workspace files. This approach ensures all mutations are explicit, inspectable, and rollbackable using git snapshot gating to prevent harmful changes from lingering.

How do I set up automated skill discovery and refinement for autonomous agent workflows?

Automated skill discovery learns reusable procedures by proposing, curating, merging, and updating skills based on observed agent failures and performance changes. It operates within a benchmark-driven evolution loop to continuously refine agent capabilities across any domain.

Do I need a git-versioned workspace to run benchmark regression fixing for AI agents?

Yes, a git-versioned workspace contract is required to run benchmark regression fixing and agent evaluation loops. You also need A-Evolve-compatible agent and benchmark adapters that implement solve and evaluate functions for iterative optimization.

What's the best way to start evolving a SWE-bench agent with automated evaluation loops?

Install the a-evolve package and instantiate the Evolver with your specified agent and benchmark parameters. Run the evolution cycles by calling the run method with your desired cycle count to receive the final improved benchmark score.

Why does my agent evolution loop reject mutations during benchmark evaluation?

Agent evolution loops reject mutations through git snapshot gating, a safety mechanism that rolls back harmful or unhelpful changes. This ensures only mutations that improve benchmark performance are retained in the versioned workspace.