O
OOMeta

Developer Resources · Open Source

Hermes Agent Deep-Dive Wiki

Complete architecture documentation for the open-source Hermes Agent framework, maintained by OOMeta AI. 41 articles across 12 modules with 33 architecture diagrams — from the agent core to the gateway, from MCP protocol to sandbox security.

41

Articles

12

Modules

33

Diagrams

23MB

Content

Module Guide

From architecture to every implementation detail

01

Architecture Overview & Narrow Waist Philosophy

Hermes Agent's overall architecture — how a narrow-waist core enables high extensibility

02

Agent Core & Caching Protection

Main agent loop, prompt cache stability, adaptive context compression, credential rotation, error self-healing

03

Tool System & Parameter Sanitization

Tool reflection discovery, JSON self-healing, tool call circuit breaking

04

SessionDB & High-Concurrency Lock Optimization

SQLite concurrency optimization, foreign key design, schema hot migration

05

Message Gateway & Multi-Platform Dedup

Telegram, Feishu, and 20+ platform integration with deduplication

06

React Ink TUI & RPC Bridge

Terminal UI, WebSocket RPC routing, real-time interaction

07

Plugin Ecosystem & Dynamic Discovery

Plugin loading contracts, long-term memory service integration

08

Scheduled Tasks & Cron Engine

Job registration, scheduler loop, crash recovery — enterprise-grade agent scheduling

09

Virtual Terminal & Sandbox Boundary

PTY pseudo-terminal, Docker isolation sandbox

10

MCP Protocol & API Interoperability

Editor bridge, protocol negotiation, stdio/SSE transport

11

CLI Interactive & Skin Engine

Command registry, alias self-healing, skin style system

12

Batch Engine & Concurrency

Task partition throttling, shared lock accounting, backoff retry

Using AI Agents? Need Governance?

You just read about agent architecture. Now make your agents governable — policy enforcement, audit logs, compliance reports, out of the box.

Meet OOMeta Governance Agent