๐ Hermes Agent Architecture Course
Welcome! This course will take you from zero to deep understanding of how Hermes Agent works under the hood. We'll explore the codebase step by step, with hands-on examples and exercises.
๐ฏ What You'll Learn
By the end of this course, you'll understand:
- How Hermes works as a whole โ The big picture architecture and data flow
- The agent loop in detail โ How conversations progress turn by turn
- Tool orchestration โ How tools are discovered, registered, and called
- Multi-platform support โ How one codebase serves CLI, Telegram, Discord, etc.
- Persistence layer โ Sessions, memory, and how context survives across restarts
- Learning loop โ How skills are created, improved, and reused
- Advanced features โ Subagents, scheduling, MCP integration
๐ Course Modules
| Module | Topic | Estimated Time |
|---|---|---|
| 01 | Overview & Mental Model | 30 min |
| 02 | Core Agent Loop & Conversation Flow | |
| 03 | Tools System & Toolsets | |
| 04 | Gateway & Messaging Platforms | |
| 05 | Sessions, Memory & Persistence | |
| 06 | Skills System & Self-Improvement | |
| 07 | Advanced Topics: Subagents, Cron, MCP |
Total Time: ~6 hours (spread over multiple sessions)
๐ ๏ธ Prerequisites
- Basic Python knowledge (functions, classes, decorators)
- Familiarity with LLMs and chat interfaces
- The cloned repo at
~/git/nous-hermes-agent
๐ Quick Start
- Start with Module 01 โ Read the overview to understand the big picture
- Progress through modules in order โ Each builds on previous knowledge
- Code along โ Actually run the exercises, don't just read them
- Take breaks โ 6 hours is a lot; spread it over several days if needed
๐ How to Use This Course
Each module includes:
- โ Conceptual explanations with diagrams
- โ Real code from the Hermes codebase
- โ Hands-on exercises you can try
- โ Common pitfalls to avoid
- โ Checklist to verify understanding
๐ Resources
- Hermes Agent Repo: https://github.com/NousResearch/hermes-agent
- Official Docs: https://hermes-agent.nousresearch.com/docs/
- Discord Community: https://discord.gg/NousResearch
Ready to start? Begin with Module 01: Overview & Mental Model ๐