Hermes Agent Architecture

High-level components and data flow

Telegram Home Chat LINE Home Channel Hermes CLI Shell / TUI / API Auth OAuth / PAT / Tokens Hermes Core / Gateway Router Profile / Context Provider Selection Messaging Plugin Telegram / LINE Skills SKILL.md runtime Tools Terminal / Browser / Web Memories mem0 / SQLite history External Systems API / DBs / Cloud Subagents delegate_task Leaf / Orchestrator Background runtime Cron / Scheduled Jobs Delivery / chain Responses Rich media / text Auth Check / Tokens Legend External / User Core / Backend Cloud / Plugin Database / Memory Tools / Frontend Security Auth Flow

Input

  • • Telegram
  • • LINE
  • • CLI / TUI / API

Runtime

  • • Hermes Core / Gateway
  • • Profiles & context
  • • Provider routing

Extensibility

  • • Skills
  • • Tools
  • • Subagents
  • • Cron jobs

State

  • • Memories
  • • Sessions
  • • History

Security

  • • Auth
  • • Tokens/PAT
  • • Input validation

Output

  • • Text replies
  • • Media
  • • Scheduled delivery