How servervpss/centraldark works
Hermes Agent is a self-improving AI agent that accepts conversations through a CLI/TUI or messaging gateway, uses a configurable model and tools to respond, and retains context for later turns. The README also describes scheduled jobs, subagents, multiple execution backends, and a learning loop spanning memory and skills. Those documented capabilities are included, but many implementation files were not sampled; links for those branches rely on README statements rather than inspected calls.
Main entry points: agent Agent runtime · console_engine.py CLI and TUI · gateway Messaging gateway · auxiliary_client.py Model providers
Components 17
User interfaces
- CLI and TUI
hermes_cli/console_engine.py - Messaging gateway
gateway - OpenAI-compatible API
gateway/platforms/api_server_openai_routes.py
Agent runtime
- Agent runtime
agent - Context engine
agent/context_engine.py - Context compression
agent/context_compressor.py - Model providers
agent/auxiliary_client.py - Tools and backends
tools/environments - Tool result storage
tools/tool_result_storage.py
Learning and memory
- Memory and recall
agent - Learning skills
agent - Subagents
agent
Automation and execution
- Cron scheduler
cron - Teams meeting pipeline
plugins/teams_pipeline/pipeline.py
Configuration and persistence
- Configuration
hermes_cli/config.py - Persistence layer
persistence_assembly.py
Other components
- User
Connections 19
- User → CLI and TUI: starts conversation
- User → Messaging gateway: messages through
- CLI and TUI → Agent runtime: sends turns
hermes_cli/console_engine.py - Messaging gateway → Agent runtime: sends turns
gateway/platforms/api_server_openai_routes.py - OpenAI-compatible API → Agent runtime: routes requests
gateway/platforms/api_server_openai_routes.py - Agent runtime → Model providers: requests completion
agent/context_compressor.py - Agent runtime → Tools and backends: calls tools
agent/checkpoints/manager.py - Agent runtime → Context engine: manages context
agent/context_engine.py - Context engine → Context compression: selects engine
agent/context_engine.py - Context compression → Model providers: summarizes context
agent/context_compressor.py - Tools and backends → Tool result storage: persists large output
tools/tool_result_storage.py - Agent runtime → Memory and recall: learns and recalls
- Agent runtime → Learning skills: creates and improves
- Agent runtime → Subagents: delegates work
- Cron scheduler → Messaging gateway: delivers jobs
- CLI and TUI → Configuration: reads configuration
hermes_cli/console_engine.py - CLI and TUI → Cron scheduler: manages jobs
hermes_cli/console_engine.py - Agent runtime → Persistence layer: stores sessions
- Teams meeting pipeline → Model providers: uses auxiliary model
plugins/teams_pipeline/pipeline.py