mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-27 01:11:40 +00:00
Add a comprehensive self-evolution system that enables Hermes Agent to continuously improve through automated analysis and optimization: Core components: - reflection_engine: Nightly session analysis (1:00 AM) - evolution_proposer: Generate improvement proposals from insights - quality_scorer: Multi-dimensional session quality evaluation - strategy_injector: Inject learned strategies into new sessions - strategy_compressor: Strategy optimization and deduplication - git_analyzer: Code change pattern analysis - rule_engine: Pattern-based rule generation - feishu_notifier: Feishu card notifications for evolution events Storage: - db.py: SQLite telemetry storage - strategy_store: Persistent strategy storage - models.py: Data models Plugin integration: - plugin.yaml, hooks.py, __init__.py for plugin system - cron_jobs.py for scheduled tasks Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
17 lines
531 B
Python
17 lines
531 B
Python
"""
|
|
Self Evolution Plugin — Centralized Path Definitions
|
|
=====================================================
|
|
|
|
Single source of truth for all filesystem paths used by the plugin.
|
|
"""
|
|
|
|
from pathlib import Path
|
|
|
|
HERMES_HOME = Path.home() / ".hermes"
|
|
DATA_DIR = HERMES_HOME / "self_evolution"
|
|
DB_PATH = DATA_DIR / "evolution.db"
|
|
STRATEGIES_FILE = DATA_DIR / "strategies.json"
|
|
ARCHIVE_DIR = DATA_DIR / "archive"
|
|
SKILLS_DIR = HERMES_HOME / "skills" / "learned"
|
|
MEMORIES_DIR = HERMES_HOME / "memories"
|
|
CRON_DIR = HERMES_HOME / "cron"
|