# Hermes Architecture EXPLAINED: Memory, Context & Gateways
Canonical: https://social-archive.org/tommypkm/ynipjoNiqo
Original URL: https://www.youtube.com/watch?v=n32qq7Kwzh0
Author: Hugging Face
Platform: youtube
## Content
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 - https://x.com/_alejandroao/ - https://www.linkedin.com/in/alejandro-ao/
