mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-09 08:21:50 +00:00
Two-part implementation: Part A - Curated Bounded Memory: - New memory tool (tools/memory_tool.py) with MEMORY.md + USER.md stores - Character-limited (2200/1375 chars), § delimited entries - Frozen snapshot injected into system prompt at session start - Model manages pruning via replace/remove with substring matching - Usage indicator shown in system prompt header Part B - SQLite Session Store: - New hermes_state.py with SessionDB class, FTS5 full-text search - Gateway session.py rewritten to dual-write SQLite + legacy JSONL - Compression-triggered session splitting with parent_session_id chains - New session_search tool with Gemini Flash summarization of matched sessions - CLI session lifecycle (create on launch, close on exit) Also: - System prompt now cached per session, only rebuilt on compression (fixes prefix cache invalidation from date/time changes every turn) - Config version bumped to 3, hermes doctor checks for new artifacts - Disabled in batch_runner and RL environments |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| browser_tool.py | ||
| cronjob_tools.py | ||
| file_operations.py | ||
| file_tools.py | ||
| fuzzy_match.py | ||
| image_generation_tool.py | ||
| memory_tool.py | ||
| mixture_of_agents_tool.py | ||
| patch_parser.py | ||
| process_registry.py | ||
| rl_training_tool.py | ||
| session_search_tool.py | ||
| skills_guard.py | ||
| skills_hub.py | ||
| skills_tool.py | ||
| terminal_hecate.py | ||
| terminal_tool.py | ||
| todo_tool.py | ||
| transcription_tools.py | ||
| tts_tool.py | ||
| vision_tools.py | ||
| web_tools.py | ||