← Back to Leaderboard
HNousResearch

NousResearch/hermes-agent-self-evolution

API-backed DSPy + GEPA pipeline for evaluating and refining Hermes Agent skills

View on GitHub ↗
Engineering Health (Methodology)
C · 44/100
Maintenance Activity
● Updated 5mo ago
Latest Release
Rolling commits (main)
Commercial License Check
Custom / Check Repo

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance12/35
Fork Adoption20/25
Release Cadence6/20
License Clarity6/20
CLIAPI
Total Stars
★ 5,825
24h Growth
+3
7d Growth
+38
Forks
721

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

NousResearch/hermes-agent-self-evolution Star History (2026-03-08 - 2026-12-04) ALL-TIME STAR HISTORY (2026-03 – 2026-12) +5.8k in 271d · avg +21/day 6.2k 3.1k 0 2026-03-08: ★ 12026-03-28: ★ 2822026-04-18: ★ 1,8672026-05-09: ★ 2,8892026-05-30: ★ 3,6472026-06-20: ★ 4,1382026-07-11: ★ 4,5512026-08-01: ★ 4,8132026-08-22: ★ 5,0602026-09-12: ★ 5,2712026-10-03: ★ 5,4132026-10-24: ★ 5,5482026-11-10: ★ 5,6822026-12-04: ★ 5,825 ★ 5.8k 2026-03 2026-07 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Hermes Agent Self-Evolution is a Python optimizer that works against an existing Hermes Agent checkout. Its workflow reads the current skill, prepares an evaluation dataset, and runs DSPy + GEPA. GEPA uses execution traces to propose targeted text revisions, and the workflow scores candidates against the evaluation set. The acceptance policy puts tests, constraints, and human PR review between candidate selection and adoption; it does not call for direct commits.

The root tree separates optimizer code in evolution/, evaluation data in datasets/, reports in reports/, and tests in tests/, with a top-level generate_report.py. The manifest requires Python 3.10+ and lists DSPy, OpenAI, PyYAML, Click, and Rich. The concrete integration is a Python module CLI that takes a skill and an evaluation source. The API is used for model calls; no MCP transport or server interface is established.

Key Capabilities & Differentiators

The implemented target is Hermes skill files (SKILL.md). The evolution.skills.evolve_skill module accepts --skill, --iterations, and --eval-source. The synthetic source can bootstrap an evaluation without real sessions, while sessiondb can draw on session history from Claude Code, Copilot, and Hermes. Those names identify evaluation sources, not supported inference backends. No specific model families or broader provider compatibility matrix are established.

The acceptance policy requires the full pytest tests/ -q suite to pass, caps skills at 15 KB, prohibits mid-conversation changes for cache compatibility, and calls for preservation of the skill's original purpose and human PR review. The 500-character tool-description limit applies to a planned target. System-prompt edits, tool implementation changes via Darwinian Evolver, and a continuous improvement loop are also planned rather than shipped capabilities. No measured improvement is provided against which to budget an adoption.

Trade-offs & Limitations

Using DSPy + GEPA directly gives teams control over the task representation, scoring, and integration outside Hermes. This project trades some of that flexibility for a skill-oriented CLI, two evaluation-source options, and a Hermes review workflow. Compared with manual editing, it can evaluate multiple revisions consistently, but it also introduces API cost and makes evaluation quality a prerequisite. A weak synthetic set can reward the wrong changes; real sessions can improve relevance but require privacy review before their data enters an API-backed evaluation. Keep a separate acceptance set for changes you plan to merge.

The estimated $2–10 per run is a planning figure, not a guarantee or a throughput benchmark. The manifest declares MIT, but repository-level license metadata is unspecified; confirm the applicable terms before redistribution. Darwinian Evolver is listed separately as an optional external AGPL v3 CLI for the planned code-evolution phase. Evaluate its licensing separately rather than treating it as part of the current skill runtime.

Hardware & Deployment Guide

Use Python 3.10 or newer and install from the source checkout with pip install -e ".[dev]" to include the test dependencies. Set HERMES_AGENT_REPO to the local Hermes Agent checkout. A starting run is python -m evolution.skills.evolve_skill --skill github-code-review --iterations 10 --eval-source synthetic. This exercises the implemented path without requiring access to real session histories.

The calling machine runs Python and coordinates evaluations; model inference goes through API calls, so the workflow needs network access and model API access, not a local training GPU or a provisioned VRAM budget. It is not a fully offline deployment. Pilot representative workloads because elapsed time and spend depend on model choice, evaluation volume, and request scheduling. The manifest declares package version 0.1.0, but no GitHub release is listed, so that version string does not establish a release history.

Search: GEPA uses execution traces to propose targeted revisions and evaluates candidates through model API calls.
Implemented scope: Phase 1 targets Hermes SKILL.md files; tool descriptions, system prompts, code, and continuous operation remain planned.
Evaluation inputs: The evolve_skill module exposes --eval-source synthetic and --eval-source sessiondb.
Acceptance policy: The workflow specifies a full test pass, a 15 KB skill limit, no mid-conversation updates, preservation of intent, and human PR review.
Runtime: Python 3.10+ with dspy>=3.0.0 and openai>=1.0.0; optimization uses API calls rather than local GPU training.
Integration boundary: The concrete entry point is a Python CLI against a local Hermes Agent checkout; API-backed inference does not imply an MCP server.
Best For

Hermes Agent maintainers who want to compare skill revisions against an evaluation set and accept changes through human review.

Skip If

You need a fully offline or MCP-served optimizer, production-ready tool-code evolution, or reliable gains without investing in evaluation quality.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

CLIAPI
# Install
git clone https://github.com/NousResearch/hermes-agent-self-evolution.git
cd hermes-agent-self-evolution
pip install -e ".[dev]"

# Point at your hermes-agent repo
export HERMES_AGENT_REPO=~/.hermes/hermes-agent

# Evolve a skill (synthetic eval data)
python -m evolution.skills.evolve_skill \
    --skill github-code-review \
    --iterations 10 \
    --eval-source synthetic

# Or use real session history from Claude Code, Copilot, and Hermes
python -m evolution.skills.evolve_skill \
    --skill github-code-review \
    --iterations 10 \
    --eval-source sessiondb

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
hermes-agent-self-evolution ★5.8k+38Python—API-backed DSPy + GEPA pipeline for evaluating and refining Hermes Agent skills
headroom81.5k+469PythonApache-2.0Local context compression for LLMs via a Python library, proxy, and MCP server
skills204.1k+2.5kPython—A Claude Agent Skills catalog for packaging and reusing task workflows
ui-ux-pro-max-skill158.5k+3.6kPythonMITA search-and-rules skill that gives coding agents a UI design system to build fr

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/NousResearch/hermes-agent-self-evolution.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

NousResearch/hermes-agent-self-evolution Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about hermes-agent-self-evolution

How does the optimizer integrate with Hermes Agent and MCP clients?

Point HERMES_AGENT_REPO at a local Hermes Agent checkout and run the Python skill-evolution module with the target skill and evaluation source. The workflow is designed to send the selected revision through human PR review. API calls provide model inference; no MCP server, MCP integration, or hosted service endpoint is established.

Do I need a GPU, and how should I budget a run?

No local GPU or VRAM allocation is required for the API-backed workflow. The local machine runs Python, prepares evaluations, and coordinates API calls. The $2–10 estimate is per optimization run, not a cost cap; measure spend and elapsed time on a representative run before scheduling repeated jobs.

What should we check before commercial use or self-managed deployment?

The Python manifest declares MIT, while the repository-level license is unspecified in the supplied metadata. Confirm the applicable license text before redistribution. The optional, planned Darwinian Evolver integration is identified as an external AGPL v3 CLI; review its obligations separately if you adopt it. Running the optimizer locally does not make model inference local, so verify provider terms and data handling before using session history.

When should we use this instead of DSPy + GEPA directly?

Prefer this project when the target is a Hermes SKILL.md file and you want an existing CLI, evaluation-source options, and a review workflow. Use DSPy + GEPA directly when the target is not a Hermes skill or you need to own the scoring and integration. If you cannot yet tell a good outcome from a bad one reliably, improve the evaluation before adopting either approach.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining NousResearch/hermes-agent-self-evolution? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature NousResearch/hermes-agent-self-evolution on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare