Learn Agent Architecture
hardness1020/learn-agent-architecture
Section-by-section course on how AI agent harnesses work, with Hermes Agent studied as a worked example
Learn Agent Architecture is a written course, with runnable demos, on how modern AI agents are built around the language model. It studies Hermes Agent alongside Claude Code, mini-swe-agent and deepseek-harness as worked examples.
What Learn Agent Architecture does
The repository argues that the model reasons and the harness turns that reasoning into controlled action by running tools, keeping state across calls, gating side effects and coordinating loops. It explains the harness section by section: loop, tools, memory, permissions, context, tasks and interfaces. Every section uses the same four-part lens of opening, mechanism, per-system examples and failure modes.
Hermes Agent is described as a long-term assistant that remembers you, learns workflows and runs anywhere. It is read for memory, skills and always-on channels, and it is the worked example for sections 7, 9, 14, 16, 19, 21 and 22, at version v2026.7.1. Claude Code covers every section. Runnable sections include a src/loop.py and a demo.py. The README is available in English, Traditional Chinese, Simplified Chinese, Japanese and Korean, and three companion repositories cover memory, deepseek-harness and eval sets.
Key features
- Sections numbered 0 to 23 across eight layers, from the basic loop to a harness that runs itself
- Hermes Agent studied for memory, skills and always-on channels
- Four systems studied: Claude Code, Hermes Agent, mini-swe-agent and deepseek-harness
- Runnable sections with a src/loop.py and a demo.py
- README in English, Traditional Chinese, Simplified Chinese, Japanese and Korean
- Companion repos learn-agent-memory, learn-deepseek-harness and EvalGrill
When to use it
- Understanding how Hermes Agent handles memory, skills and messaging channels compared with other agents
- Learning the agent loop before building your own agent
- Comparing harness design choices across Claude Code, Hermes Agent and mini-swe-agent
Who it is for: Developers who want to understand how agent harnesses work before building or choosing one.
How it fits with Hermes Agent
Uses Hermes Agent as one of its worked examples for the sections on memory, skills and channels. It is a learning resource and not software that runs with Hermes Agent.
FAQ
What is Learn Agent Architecture?
Learn Agent Architecture is a course in repository form that explains how AI agents are built around the language model. It covers the agent loop, tools, memory, permissions, context, tasks and interfaces.
Does Learn Agent Architecture work with Hermes Agent?
It is a course about agents rather than a tool that plugs into Hermes Agent. Hermes Agent is studied at version v2026.7.1 for sections 7, 9, 14, 16, 19, 21 and 22.
Is Learn Agent Architecture free and open source?
Yes, the repository is released under the MIT license.
Similar resources for Hermes Agent
All resourcesNVIDIA setup guides for DGX Spark, including a playbook for running Hermes Agent with a local LLM
e2b-dev E2B CookbookExample code and guides for E2B sandboxes, with a Hermes Agent incident-triage skill example
bradAGI Awesome CLI Coding AgentsCurated list of 130+ terminal coding agents and their harnesses, with Hermes Agent listed first
ksimback Hermes AtlasCommunity-curated directory of Hermes Agent tools, skills and integrations with live GitHub data
jwangkun Hermes Agent GuideSixteen-volume Chinese guide to installing, running and extending Hermes Agent
OnlyTerp Hermes Optimization GuideGuide to running Hermes Agent cheaper, faster and safer, verified against Hermes Agent v0.21.4
Related guides: SOUL.md for Hermes Agent: what it is and how to write one · What is Hermes Agent?