Recommendation

Use Hermes Agent as the operational foundation, then add MUSE’s per-skill experience and test-gated refinement. Hermes is stronger at memory safety, retrieval, governance, and lifecycle operations. MUSE has the stronger learning abstraction and empirical evaluation. The best design combines them rather than choosing one.

This analysis compares the MUSE-Autoskill paper with the current main branch of Nous Research’s Hermes Agent as reviewed on 2026-08-21. It also examines the separate Hermes Agent Self-Evolution repository. The goal is a practical architecture for short-term memory, long-term memory, and skills that improve without turning one lucky execution into a permanent rule.

Paper: MUSE-Autoskill source note · Local PDF · arXiv

The decision

Adopt four memory layers:

  1. Working memory: current task state and checkpoints.
  2. Curated declarative memory: bounded user and project facts.
  3. Episodic memory: searchable session history.
  4. Procedural memory: stable skills plus private per-skill experience.

The essential rule is:

Key

Memory preserves evidence. Skills contain validated procedure.

A lesson from one run should first become a candidate observation. It should modify a durable skill only after tests, repeated evidence, or user approval.

flowchart TB
    U[User request] --> W[Working memory<br/>goal, plan, progress, failures]
    W --> R[Execute task]
    R --> O[Outcome and evidence]

    O --> D[Curated declarative memory<br/>USER.md and MEMORY.md]
    O --> E[Episodic archive<br/>searchable sessions]
    O --> X[Per-skill experience<br/>private sidecar]

    D -. small frozen snapshot .-> W
    E -. retrieve on demand .-> W
    X --> G{Promotion gate}
    G -->|tests, repeated evidence,<br/>or user approval| S[Stable SKILL.md]
    G -->|insufficient evidence| C[Candidate backlog]
    S -. progressive disclosure .-> R

What Hermes gets right

Facts, people, procedures, and history are separate

Hermes distinguishes four jobs that are often collapsed into one memory file:

  • USER.md stores who the user is, including role, preferences, communication style, and corrections.
  • MEMORY.md stores durable environment facts, project conventions, workflow habits, and tool quirks.
  • Skills store procedural knowledge: how to perform a recurring class of task.
  • state.db stores the full conversation archive for later retrieval.

This is a better operational model than treating all old text as long-term memory. It also sharpens Agent Memory: conversation history, curated facts, episodic recall, and learned procedures are different storage problems.

Long-term memory is bounded and curated

The built-in Hermes memory store defaults to approximately 2,200 characters for MEMORY.md and 1,375 characters for USER.md. When full, the agent must replace, merge, or remove existing entries rather than append indefinitely.

Its memory tool supports an atomic batch that can remove stale facts, replace outdated ones, and add a new fact in one operation. Writes use file locking, atomic replacement, duplicate detection, drift protection, and bounded retry behavior.

This is materially stronger than MUSE’s append-only Markdown memory. The small budget forces high-signal summaries and limits context rent.

Memory is a frozen snapshot within a session

Hermes loads USER.md and MEMORY.md into the system prompt at session start. Mid-session writes persist to disk immediately, but the prompt snapshot does not change until the next session.

That is an explicit cost and consistency trade-off. A stable system prompt preserves provider prompt caching and prevents old turns from seeing a moving instruction prefix. The tool response still tells the live agent what was written.

Episodic memory stays outside the prompt

Hermes stores sessions in SQLite and uses FTS5 for retrieval. Its session_search tool supports:

  • Keyword discovery across past sessions.
  • A window around the matching message.
  • Beginning and ending “bookends” that reconstruct goal and resolution.
  • Scrolling within a selected session.
  • Browsing recent sessions when the query is vague.

This is a clean separation between always-present summaries and deep recall. The limitation is that built-in retrieval is lexical. Semantic memory requires an external provider such as Honcho, Mem0, or Hindsight.

Reflection runs after the user-facing task

Hermes performs memory and skill review in an isolated background fork after delivering the answer. The review agent sees the conversation snapshot but is restricted to memory and skill-management actions. It does not alter the main transcript or compete with the user’s task for model attention.

The implementation also preserves prompt-cache compatibility, isolates external memory providers, prevents the review transcript from entering the user’s session, and supports optional write approval. This is a strong production pattern for Self-Extending Agents: reflection is a separate track, not extra instructions injected into the foreground task.

Skill ownership and garbage collection are explicit

Hermes records skill provenance and usage in a sidecar file rather than modifying skill frontmatter. The curator can mark skills stale, archive old skills reversibly, consolidate overlapping agent-created skills, and respect pinned or user-owned skills.

This aligns with Golden Principles and Garbage Collection: the capability library needs maintenance, not just accumulation.

Where Hermes is still weak

There is no dedicated per-skill experience layer

The online Hermes path is roughly:

conversation -> background review -> patch or create SKILL.md

MUSE provides the missing intermediate layer:

conversation -> per-skill experience -> evaluation -> refine SKILL.md

Hermes can place session-specific material in references/, but it does not maintain a first-class record of observations, confidence, outcome, and evidence for each skill.

Activity telemetry is not outcome telemetry

Hermes tracks use, view, patch, and last-activity timestamps. It does not reliably track:

  • Verified success after skill use.
  • Failure caused by a skill.
  • Outcome by skill version.
  • Regression after a patch.
  • Confidence or evidence behind a learned lesson.

A frequently loaded skill can still be wrong. Usage is useful for retrieval and staleness, but it is not proof of quality.

The review prompt favors over-learning

Hermes’ background reviewer is encouraged to treat most sessions as opportunities for a skill update. That is useful for capture, but risky for promotion. One session can encode a lucky workaround, a transient environment problem, or a narrow user preference into a broad procedure.

The better default is:

  • Most complex sessions may produce candidate experience.
  • Only a minority should directly modify durable skill instructions.

Curation is based mostly on age and overlap

The curator manages catalog size through inactivity thresholds and optional consolidation into class-level umbrella skills. This controls entropy but does not determine whether a skill works.

Time-based garbage collection should be paired with quality-based lifecycle states such as experimental, verified, regressed, deprecated, and archived.

What MUSE adds

MUSE treats skills as long-lived assets with five lifecycle stages:

creation -> memory -> management -> evaluation -> refinement

Its most valuable contribution is skill-level memory. Each skill receives a private .memory.md containing accumulated lessons, input quirks, failure modes, and performance caveats. That experience is loaded only with the selected skill.

The paper also adds:

  • Test-gated registration for code-backed skills.
  • Runtime checks for procedural skills without tests.
  • Adaptive context compression for long tasks.
  • A skill catalog using name and description for progressive disclosure.
  • Cross-agent transfer experiments.

Evidence from the paper

On SkillLearnBench, the combined memory system raises first-round accuracy from 48% to 64% and second-round accuracy from 60% to 74%. On the successfully covered SkillsBench subset, MUSE-created skills reach 85.24% accuracy, compared with 81.17% for human-authored skills on the same subset.

The results are promising but bounded:

  • MUSE creates usable skills for only 47 of 75 SkillsBench tasks.
  • The memory ablation tests the combined system, not each memory layer independently.
  • Each generated skill starts from one successful trajectory.
  • The HVAC example regresses from 80% baseline success to 20% after the learned skill overfits its source trajectory.

This regression is the strongest argument against immediate skill patching.

Keep the shareable skill package clean and put private experience in a sidecar store:

~/.agent/
├── memories/
│   ├── USER.md
│   └── MEMORY.md
├── sessions/
│   └── state.db
├── skills/
│   └── research-synthesis/
│       ├── SKILL.md
│       ├── tests/
│       ├── references/
│       └── scripts/
└── skill-state/
    └── research-synthesis/
        ├── experience.jsonl
        ├── candidates.md
        ├── metrics.json
        └── versions/

Keeping skill-state/ outside the package avoids leaking personal history, customer data, environment paths, and local failures when the skill is shared. This retains MUSE’s skill-level memory while preserving Hermes’ ownership and portability discipline.

The learning lifecycle

flowchart LR
    A[Execute] --> B[Observe]
    B --> C[Capture candidate]
    C --> D{Validate}
    D -->|objective tests pass| E[Promote]
    D -->|repeated success| E
    D -->|user approves| E
    D -->|weak or conflicting evidence| F[Keep as candidate]
    E --> G[Version skill]
    G --> H[Monitor outcomes]
    H -->|quality holds| I[Stable]
    H -->|regression detected| J[Rollback]
    J --> F

1. Capture evidence, not conclusions

After meaningful work, write an experience event:

{
  "skill": "research-synthesis",
  "skill_version": "1.3.0",
  "session": "2026-08-21-abc123",
  "observation": "Scanned PDFs returned empty text",
  "candidate_lesson": "Use OCR when extracted text is below 100 characters",
  "outcome": "success",
  "verification": "All cited quotations matched source pages"
}

2. Route the learning to the correct store

LearningDestination
User identity or communication preferenceUSER.md
Stable project or environment factMEMORY.md
Past task detail that might matter laterSession archive
Skill-specific observation with limited evidencePrivate experience sidecar
Stable procedure supported by evidenceSKILL.md
Deterministic repeated actionscripts/
Failure that must never recurtests/ or eval suite

3. Require a promotion gate

A candidate may modify SKILL.md only when at least one condition holds:

  1. Objective tests pass on representative cases.
  2. The lesson succeeds in multiple independent sessions.
  3. The user explicitly approves the change.
  4. An authoritative source confirms it.

For high-impact skills, require more than one condition. Unresolved failures may remain diagnostic evidence, but must not be presented as reliable procedure.

4. Track outcomes by version

{
  "version": "1.4.0",
  "invocations": 12,
  "verified_successes": 9,
  "failures": 2,
  "unknown": 1,
  "regressions": 0
}

The important metric is not how often the skill was loaded. It is whether the skill improved verified outcomes compared with the previous version.

5. Make rollback normal

Every automatic modification should produce an auditable version. If a new version reduces verified success or increases variance, revert it automatically and retain the failed candidate as evidence.

This is the safer form of the Ratchet. A failure earns a candidate rule. Validation earns promotion. Regression earns rollback. Garbage collection removes rules that no longer carry their weight.

Role of Hermes Agent Self-Evolution

The separate Hermes Agent Self-Evolution project uses DSPy and GEPA to generate candidate skill variants from traces, evaluate them, apply constraint gates, and submit the best variant for human-reviewed pull requests.

Its current implementation covers skill files. Tool descriptions, system prompts, code evolution, and a continuous improvement loop are listed as planned phases. It is therefore best understood as an offline optimizer, not the online memory system.

The useful integration is:

flowchart LR
    O[Online task outcomes] --> X[Per-skill experience]
    X --> B[Evaluation dataset]
    B --> V[Generate candidate variants]
    V --> T[Tests and regression suite]
    T --> C{Better than current?}
    C -->|yes| P[Review and promote]
    C -->|no| K[Keep current version]
    P --> M[Monitor production outcomes]
    M --> X

Implementation priorities

  1. Add bounded USER.md and project MEMORY.md with replace, merge, and removal operations.
  2. Keep a searchable session archive for episodic recall.
  3. Add private per-skill experience sidecars outside shareable skill folders.
  4. Change autonomous review from direct patching to candidate generation by default.
  5. Track verified outcomes by skill version, not just use counts.
  6. Require tests, repeated evidence, or approval before promotion.
  7. Version every promoted change and support automatic rollback.
  8. Run scheduled consolidation and reversible archival.

Comparison

CapabilityHermes AgentMUSE-AutoskillCombined design
User profileStrong, dedicated USER.mdNot a distinct focusKeep Hermes model
Global factsBounded and curatedPersistent append-only notesBounded summaries with provenance
Episodic recallSearchable SQLite sessionsFull history retained for replayHybrid lexical and semantic recall
Working memoryConversation plus compressionExplicit short-term memory and adaptive compressionStructured checkpoint plus replayable transcript
Skill experienceMostly folded into skills or referencesDedicated per-skill .memory.mdPrivate sidecar outside shared package
Skill evaluationGuidance and operational checks, no general outcome gateUnit tests and runtime feedbackTests, repeated evidence, and user approval
Usage telemetryViews, uses, patches, lifecycle stateUsage observationsVersioned verified outcomes
GovernanceStrong provenance, approval, pinning, reversible archiveLimitedKeep Hermes controls
Empirical evidenceNo comparable memory ablation found in this reviewStronger benchmark evidenceMeasure with local evals

Sources

Primary paper

Hermes Agent primary sources

Open questions

  • What should count as an independent confirmation when two sessions reuse the same source data?
  • Should user corrections bypass repeated-evidence requirements, or remain pending until explicitly approved?
  • Which skills deserve automatic tests, and which require sampled human review?
  • How should confidence decay when dependencies, APIs, or project conventions change?
  • What is the smallest useful local benchmark for measuring whether the memory system improves work rather than merely storing more text?
  • Knowledge Factory — an industry counterpoint: a separate curator agent maintains the knowledge, and working agents only flag; no governance or test-gating is described