Hermes Architecture EXPLAINED: Memory, Context & Gateways
Hermes is an always-on AI agent with a simple but useful architecture: an agent loop, memory, context construction, gateway integrations, and scheduled cron jobs. In this video, I walk through how Hermes builds context, talks to external services like Telegram and Slack, compresses long conversations, and learns from previous interactions.
๐ค Topics Covered
- Hermes agent architecture
- Context, memory, and compression
- Gateways, SQLite, and cron jobs
โฑ๏ธ Timestamps
00:00 - Intro
00:57 - Bird's-eye view of the architecture
03:49 - Agent loop
07:31 - Context
13:28 - Context compression
18:28 - Context compression prompt
19:59 - Gateway
28:00 - Memory
34:37 - Cron jobs
๐ Links
- Written version: https://alejandro-ao.com/hermes-agent-architecture/
๐ Connect with me