Back to directory

Learn Hermes Agent

A 27-chapter, code-first Python tutorial that builds an autonomous AI agent from scratch, covering the agent loop, tools, memory, MCP, and a multi-platform chat gateway.

Learn Hermes Agent

Learn Hermes Agent is a hands-on tutorial for building a production-grade autonomous AI agent from zero in Python, inspired by another agent codebase but focused on teaching the mechanisms that let an agent work autonomously across platforms rather than mirroring every product detail. Each of its 27 chapters ships a runnable reference implementation alongside a prose explanation in English and Chinese, covering the conversation loop, a self-registering tool dispatch layer, SQLite-with-FTS5 session persistence, prompt assembly, context compression, memory and skill management, a permission system that detects dangerous commands, a gateway spanning Telegram, Discord, Slack, and WeChat, terminal backends that run commands locally, in Docker, over SSH, or on serverless platforms, and scheduling, MCP, and voice integration.

The stated teaching goal is to explain the real design backbone of an autonomous agent well enough that a reader can rebuild it themselves, teaching unfamiliar concepts before relying on them and staying close to real system structure rather than drowning the reader in product-specific detail.

More in Agent frameworks

See all 902
  • Recurse

    recurse.run

    A serverless harness that lets a coding agent design, test, and deploy its own specialist sub-agents as tools, MCP servers, or bots, defined by a schema-validated manifest.

  • ProofForge

    shulgin.is-a.dev

    An AI-agent pipeline that decomposes a mathematics problem, proves each piece, and formalizes the result in Lean 4 and Mathlib until the Lean kernel accepts it, with six of its proofs already merged into Google DeepMind's formal-conjectures repository.

  • local-coder

    github.com

    Builds a local coding-agent team on top of Ollama and OpenCode by detecting the machine's hardware, recommending models for seven specialist roles, and testing whether each assigned model can actually use tools, edit a repository and pass verification.