Environment:42 evey Hermes plugins Hermes Agent Runtime
| Knowledge Sources | |
|---|---|
| Domains | Infrastructure, Autonomous_Agents, LLM_Delegation |
| Last Updated | 2026-10-29 00:00 GMT |
Overview
Python 3.10+ runtime on Linux with Hermes Agent v0.22.5, using only stdlib plus optional paho-mqtt and pyyaml.
Description
This environment is the base runtime context for every evey Hermes plugin. Plugins are pure Python modules loaded by the Hermes Agent gateway at startup. Each plugin registers tools via ctx.register_tool() and makes LLM calls through ctx.llm.complete(). The runtime relies on HERMES_HOME (default ~/.hermes) as the root for all state files: bridge DBs, goals, cron jobs, memory, telemetry logs, and cache. Most plugins use only the Python standard library (json, os, sqlite3, subprocess, urllib, pathlib, re), with two optional dependencies: paho-mqtt for MQTT streaming and pyyaml for sandbox config parsing.
Usage
Use this environment for any evey Hermes plugin that calls ctx.llm or reads/writes files under HERMES_HOME. It is the mandatory prerequisite for all 17 core implementation pages including the autonomy engine, delegation, telemetry, caching, validation, memory, identity, and learning plugins.
System Requirements
| Category | Requirement | Notes |
|---|---|---|
| OS | Linux (Ubuntu/Debian recommended) | Hermes gateway runs on Linux; WSL2 on Windows |
| Hardware | Any CPU | No GPU required; plugins run on free local models |
| Disk | 100MB+ | State files, telemetry logs, cache under ~/.hermes
|
| Python | 3.10+ | Uses zoneinfo (3.9+ with backport), f-strings, type hints
|
Dependencies
System Packages
python3>= 3.10git(for project monitoring in evey-autonomy)
Python Packages
- Python stdlib (always available):
json,os,sqlite3,subprocess,urllib,pathlib,re,math,time,hashlib,base64,logging,concurrent.futures,contextvars paho-mqtt(optional; only evey-mqtt)pyyaml(optional; only evey-sandbox, has fallback parser)
Hermes Agent
- Hermes Agent >= v0.22.5 (provides
ctx.llm,ctx.register_tool,agent.plugin_llm.PluginLlmTrustError)
Credentials
The following environment variables configure the runtime (none are secrets):
HERMES_HOME: Root directory for all state files (default~/.hermes)HERMES_TIMEZONE: IANA timezone name for time-aware scheduling (defaultUTC)HERMES_OPERATOR_NAME: Display name for the operator (defaultoperator)HERMES_AUTONOMY_HEAVY_MODEL: Model id for heavy task routingHERMES_AUTONOMY_CHEAP_MODEL: Model id for cheap task routingHERMES_AUTONOMY_CONFIG: Path to autonomy JSON config (default$HERMES_HOME/evey-autonomy.json)WORK_HOURS: Work-hours window as"START-END"(default9-21)
Quick Install
# Install Hermes Agent v0.22.5+ first, then:
pip install paho-mqtt pyyaml # optional: only for evey-mqtt and evey-sandbox
# Set HERMES_HOME if not using default
export HERMES_HOME="$HOME/.hermes"
# Install plugins
hermes plugins install 42-evey/hermes-plugins/evey-autonomy --enable
hermes plugins install 42-evey/hermes-plugins/evey-delegate-model --enable
hermes plugins install 42-evey/hermes-plugins/evey-telemetry --enable
# Validate
hermes plugins doctor --ci ./evey-autonomy
hermes plugins validate ./evey-autonomy
Code Evidence
Runtime version check from README.md:
Checked on Hermes v0.22.5: every plugin passes `hermes plugins doctor --ci`
and `hermes plugins validate`, and the skills load on a fresh install
running a local model.
Plugin registration pattern from evey-telemetry/__init__.py:232-241:
def register(ctx):
_ensure_dir()
emit_event("plugin_loaded", {"plugin": "evey-telemetry", "version": "1.0.0"})
ctx.register_tool(
name="telemetry_query",
toolset="evey_telemetry",
schema=QUERY_SCHEMA,
handler=query_handler,
)
logger.info("evey-telemetry plugin loaded — structured logging active")
LLM call through ctx.llm from evey-validate/__init__.py:29-40:
def call_llm(prompt, max_tokens=200, temperature=0.3):
if _CTX is None:
return None
try:
result = _CTX.llm.complete(
messages=[{"role": "user", "content": prompt}],
max_tokens=max_tokens, temperature=temperature, purpose="evey-validate",
)
except Exception:
return None
return _visible(result.text) or None
Optional dependency import with fallback from evey-mqtt/__init__.py:13-16:
try:
import paho.mqtt.client as paho_mqtt
except ImportError:
paho_mqtt = None
Common Errors
| Error Message | Cause | Solution |
|---|---|---|
plugin not registered |
_CTX is None — register() not called |
Ensure the plugin is enabled via hermes plugins install --enable
|
PluginLlmTrustError: model not allowed |
Model override attempted without operator grant | Set plugins.entries.evey-delegate-model.llm.allow_model_override: true in config.yaml
|
ImportError: No module named paho |
paho-mqtt not installed |
pip install paho-mqtt (only needed for evey-mqtt)
|
zoneinfo not found |
Python < 3.9 or missing tzdata | Install backports.zoneinfo or upgrade to Python 3.10+
|
Compatibility Notes
- Windows: Not directly supported; use WSL2. The sandbox plugin has a
_win_to_wsl()path converter for Windows paths. - macOS: Should work with Python 3.10+; untested by the maintainer.
- Local models: All plugins run on free local models (e.g.,
qwen35-4b,hermes3:8b); no paid API keys required for core functionality. - Python stdlib only: 28 of 32 plugins use only the standard library; no
requirements.txtneeded for most.
Related Pages
- Implementation:42_evey_Hermes_plugins_autonomous_decide
- Implementation:42_evey_Hermes_plugins_autonomous_plan
- Implementation:42_evey_Hermes_plugins_autonomous_reflect
- Implementation:42_evey_Hermes_plugins_routing_table
- Implementation:42_evey_Hermes_plugins_delegate_with_model
- Implementation:42_evey_Hermes_plugins_telemetry_tracking
- Implementation:42_evey_Hermes_plugins_validate_output
- Implementation:42_evey_Hermes_plugins_delegation_score
- Implementation:42_evey_Hermes_plugins_cached_delegate
- Implementation:42_evey_Hermes_plugins_proactive_nudge
- Implementation:42_evey_Hermes_plugins_evey_goals
- Implementation:42_evey_Hermes_plugins_time_profiles
- Implementation:42_evey_Hermes_plugins_consolidate_daily_memory
- Implementation:42_evey_Hermes_plugins_memory_decay
- Implementation:42_evey_Hermes_plugins_update_identity
- Implementation:42_evey_Hermes_plugins_apply_learnings
- Implementation:42_evey_Hermes_plugins_cost_set_budget