WhatsApp, Discord, API, CLI
SYSTEM 03 / HERMES INFRASTRUCTURE
Hermes Infrastructure Full-Stack Flow
Messages enter through platform adapters, become agent sessions, collect memory and skills, call a model, execute tools/MCP servers, persist evidence, and deliver results back to the origin.
Control plane + data plane + trust boundaries
Hermes repo AGENTS.md, live config shape, and process scan covering gateway, WhatsApp bridge, personal_core MCP, GitHub MCP, Playwright MCP, cron/background services.
normalize message + route session
AGENTS, memory, skills, profile
model call, tool call, iteration budget
chat/completions or provider adapter
schemas, toolsets, dispatch
personal core, GitHub, Playwright, WhatsApp
terminal, files, browser, git
SQLite sessions, logs, memory, cron
origin chat, scheduled output, media
- 1. Ingress
A platform adapter receives a message or cron tick and resolves the target session/channel.
- 2. Context
Hermes assembles project instructions, memory, skills, recent session state, and tool schemas.
- 3. Reasoning
AIAgent calls the configured model and loops through tool calls until enough evidence exists.
- 4. Execution
Tool registry dispatches to local tools or MCP servers; results return as structured evidence.
- 5. Persistence + delivery
Session DB, logs, artifacts, memory, and cron output store state; the gateway sends the final message back.
WhatsApp / Discord / API→gateway normalization→agent session
memory + skills + project files→prompt assembly→model call
local tools + MCP servers→structured result messages→agent loop / session DB
agent response→gateway delivery formatting→origin platform
Platform boundary
Adapters translate platform-specific events into a single internal session format.
Reasoning/execution boundary
The model decides; deterministic tools perform and verify actions.
State boundary
Temporary task progress stays in sessions; durable preferences go to memory; artifacts stay on disk or target platforms.