mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-28 01:21:43 +00:00
feat: add self-evolution plugin — agent self-optimization system
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>
This commit is contained in:
parent
e5d41f05d4
commit
3cd384dc43
23 changed files with 6173 additions and 0 deletions
17
self_evolution/paths.py
Normal file
17
self_evolution/paths.py
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
"""
|
||||
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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue