Pular para o conteúdo
Skillpedia
Agentes14 mil · #11164

evolving-ai-agents

O que ela faz

Esta skill explica como melhorar automaticamente os prompts, as skills e a memória de um agente de IA usando testes repetidos contra um benchmark. Ela é para equipes que querem que o agente melhore sem ajustar cada mudança à mão.

Quando usar

  • ✓Quando você quiser otimizar os prompts ou as skills de um agente com um teste mensurável.
  • ✓Quando quiser um agente que melhore por meio de ciclos repetidos de teste e revisão.
  • ✓Quando precisar de um histórico de cada mudança para revisar ou desfazer.

Link da skill

https://github.com/Orchestra-Research/AI-Research-SKILLs/blob/main/14-agents/a-evolve/SKILL.md

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/Orchestra-Research/AI-Research-SKILLs/blob/main/14-agents/a-evolve/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Você pode configurar um ciclo automático de melhoria para o meu agente de suporte, com o nosso conjunto de testes, e manter um histórico de cada mudança?”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

O agente guarda as configurações do agente como arquivos, executa-o no benchmark, analisa o que deu errado e propõe mudanças. As mudanças que não melhoram os resultados são revertidas, e cada uma fica versionada no git.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do GitHub.

Evolving AI Agents with A-Evolve

Overview

A-Evolve is universal infrastructure for evolving any AI agent across any domain using any evolution algorithm with zero manual engineering. It represents all evolvable agent state as files (prompts, skills, memory, tools), runs iterative solve-observe-evolve cycles against benchmarks, and uses LLM-driven mutation to improve agent performance automatically.

Benchmark results (Claude Opus 4.6):

  • MCP-Atlas: 79.4% (#1)
  • SWE-bench Verified: 76.8% (~#5)
  • Terminal-Bench 2.0: 76.5% (~#7)
  • SkillsBench: 34.9% (#2)

When to Use A-Evolve

Use A-Evolve when:

  • Optimizing agent prompts, skills, or memory against a measurable benchmark
  • Building self-improving agents with automated gating and rollback
  • Evolving domain-specific tool usage and procedures through LLM-driven mutation
  • Running iterative solve-observe-evolve loops to maximize agent performance
  • Needing reproducible, git-versioned evolution history for every change

Key differentiator: Other frameworks build agents; A-Evolve optimizes them. It sits on top of any agent framework and makes it better through automated evolution.

Do NOT use A-Evolve for:

  • Building multi-agent orchestration from scratch (use CrewAI, LangGraph)
  • One-shot agent tasks with no iteration needed (use LangChain, LlamaIndex)
  • RAG pipeline optimization (use LlamaIndex, Chroma)
  • Prompt-only optimization without skill/memory evolution (use DSPy)

Quick Start

Installation

pip install a-evolve                    # Core
pip install a-evolve[anthropic]         # With Claude support
pip install a-evolve[all]               # All providers

Three-Line Evolution

import agent_evolve as ae

evolver = ae.Evolver(agent="swe", benchmark="swe-verified")
results = evolver.run(cycles=10)
print(f"Final score: {results.final_score}")

This copies the built-in SWE seed workspace, runs 10 evolution cycles against SWE-bench Verified, and returns the optimized agent.

Core Concepts

The Agent Workspace

All evolvable state lives as files in a workspace directory:

my-agent/
├── manifest.yaml          # Metadata + entrypoint
├── prompts/
│   ├── system.md          # Main system prompt (evolved)
│   └── fragments/         # Modular prompt pieces
├── skills/
│   └── skill-name/
│       └── SKILL.md       # Reusable procedure with frontmatter
├── memory/
│   ├── episodic.jsonl     # Lessons from failures
│   └── semantic.jsonl     # General knowledge
├── tools/
│   ├── registry.yaml      # Tool manifest
│   └── tool_name.py       # Tool implementations
└── evolution/             # Managed by engine (metrics, history)

The Evolution Loop

Each cycle follows five phases:

  1. Solve — Agent processes a batch of tasks from the benchmark
  2. Observe — Benchmark evaluates trajectories, producing (task, trajectory, feedback) triples
  3. Evolve — Evolution engine mutates workspace files based on observations
  4. Gate — Validate mutations (git snapshot before/after for rollback)
  5. Reload — Agent reinitializes from evolved filesystem state

Three Pluggable Interfaces

# 1. Agent — implements solve()
class MyAgent(ae.BaseAgent):
    def solve(self, task: ae.Task) -> ae.Trajectory:
        # Domain-specific solving logic
        return ae.Trajectory(task_id=task.id, output=result, steps=steps)

# 2. Benchmark — implements get_tasks() and evaluate()
class MyBenchmark(ae.BenchmarkAdapter):
    def get_tasks(self, split="train", limit=None) -> list[ae.Task]:
        return [ae.Task(id="1", input="...")]

    def evaluate(self, task: ae.Task, trajectory: ae.Trajectory) -> ae.Feedback:
        return ae.Feedback(success=True, score=0.95, detail="Passed")

# 3. Engine — implements step()
class MyEngine(ae.EvolutionEngine):
    def step(self, workspace, observations, history, trial):
        # Mutate workspace based on observations
        return ae.StepResult(mutated=True, summary="Updated prompts")

Workflow 1: Evolve an Existing Agent

Use when: You have a working agent and want to optimize it against a benchmark.

Critical Requirements:

  • Agent implements BaseAgent.solve() returning Trajectory
  • Benchmark implements BenchmarkAdapter with get_tasks() and evaluate()
  • Seed workspace has manifest.yaml with entrypoint and evolvable layers
  • System prompt exists at prompts/system.md
  • Workspace is a git repo (run `git init && g
Perguntas frequentes

Isso serve para criar agentes do zero?

Não. Ela melhora um agente existente e funciona sobre frameworks de agentes.

Precisa de um benchmark?

Sim. É preciso um benchmark mensurável para pontuar cada versão do agente.

Quando não devo usar?

Para criar sistemas com vários agentes do zero, ou para tarefas pontuais que não exigem iteração.

Detalhes

Descrição original do autor

Provides guidance for automatically evolving and optimizing AI agents across any domain using LLM-driven evolution algorithms. Use when building self-improving agents, optimizing agent prompts and skills against benchmarks, or implementing automated agent evaluation loops.

repo: Orchestra-Research/AI-Research-SKILLs

Popularidade

Estrelas no GitHub
14 mil
Posição no ranking
#11164
Licença
MIT
Atualizada em
10/10/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas