AI Agent Engineering Handbook
vasilyevdm/ai-agent-handbook
Guide to how 30+ open-source agent frameworks work, with Hermes Agent among those studied
AI Agent Engineering Handbook is a written guide to agent design patterns drawn from the source code of more than 30 open-source frameworks, including Hermes Agent. It helps Hermes Agent users understand ideas such as SOUL.md, memory tiers and context compaction.
What AI Agent Engineering Handbook does
The handbook collects patterns, architectures and implementation details that the author extracted by reading framework codebases, system prompts and compaction logic. The README names OpenClaw, Claude Code, LangGraph, CrewAI and Hermes Agent among the projects covered. It is published as a long Markdown guide with a PDF version.
The parts cover agent loops (eight variants with code), system prompt assembly including the SOUL.md and AGENTS.md separation, context management and context rot, memory, tools and MCP, multi-agent orchestration, planning, human-in-the-loop, security, testing and deployment. One listed question is how Hermes Agent improves itself over time through episodic memory and self-evolution. Hermes Agent is one subject among many, so this is a general reference rather than a Hermes-specific manual.
Key features
- Eight agent loop variants with code examples
- Six context compaction strategies and notes on context rot
- Memory chapter comparing file-based, vector, observational and episodic approaches
- Coverage of SOUL.md and AGENTS.md prompt assembly
- Multi-agent orchestration patterns and a framework decision guide
- Markdown guide plus a PDF edition
When to use it
- Learning why a long-running agent degrades and how compaction helps
- Comparing how Hermes Agent and other frameworks handle memory
- Choosing between agent frameworks before starting a project
- Background reading before writing a SOUL.md persona
Who it is for: Developers and agent builders who want to understand how agent frameworks work internally.
How it fits with Hermes Agent
It is a general agent engineering reference that includes Hermes Agent among the 30+ frameworks it analyzes, not a tool built for Hermes.
FAQ
What is AI Agent Engineering Handbook?
It is a written guide to how modern AI agents are built, based on reading the code of more than 30 open-source agent frameworks. It covers agent loops, system prompts, context management, memory, tools, orchestration and security.
Does AI Agent Engineering Handbook work with Hermes Agent?
It is documentation, so there is nothing to connect. Hermes Agent is one of the frameworks the guide analyzes, including how it improves itself through episodic memory.
Is AI Agent Engineering Handbook free and open source?
Yes. The repository is released under the MIT license.
Similar resources for Hermes Agent
All resourcesStep-by-step guide to building an AI IT department in Paperclip, including remote Hermes agents
teknium1 Hermes Star Trek Profiles68 installable Star Trek-inspired profile distributions for Hermes Agent
Hermes-brasil Hermes BrasilBrazilian Portuguese community repo of Hermes Agent skills and guides
Drchronx AI Agent Research Starter KitTeaching pack that walks students through deploying agents for a research workflow
notwitcheer Hermes RecipesTested configs and walkthroughs for running Hermes Agent on real hardware
AtlasOmnia Donna StarterStarter Hermes Agent profile with a persona, curated skills and a guided first-run setup
Related guides: SOUL.md for Hermes Agent: what it is and how to write one · What is Hermes Agent?