Back to Blog
Hermes Runtime · 16 min read

Hermes Agent: The Runtime Where Thought Becomes Code

Zalo knows, Lisa orchestrates, Tom processes. But none can touch code. Hermes is the only one with filesystem, terminal and repo access. The Thrice-Great — the bridge between the world of thought and the world of matter. Open source, with LUMEN SHM zero-copy.

Gonzalo Monzón

Gonzalo Monzón

July 7, 2026 · Series: Agentes Cadences — The 4 Pillars (4/4)

TL;DR

Hermes is the runtime of the Cognitive OS. The only agent with full access to filesystem, terminal, repository and MCP tools. It runs on Hermes Agent (Nous Research, open source) with the LUMEN SHM plugin for zero-copy mmap. Sometimes it initiates — it receives messages and decides which Edge agent to involve. Sometimes it executes — it materializes into code what Zalo, Lisa and Tom decide. But Hermes doesn't just execute: it decides when — and that judgment is its true function. This is the fourth and final article of the Cadences Agents series.

The duality

The World Above and the World Below

There's a fundamental distinction in the Cognitive OS that isn't technical — it's of purpose.

The agents that live on the Edge (Zalo, Lisa, Tom) are incredibly fast. Zero latency everywhere on the planet. They scale without intervention. They talk to each other via service bindings in microseconds.

But they have a deliberate limitation: they can't touch code. Zalo can't create a file. Lisa can't run a terminal. Tom can't deploy a worker. It's not that they don't know how — it's that it's not their function.

Edge (thought) ── decides the WHAT ──→ Runtime (matter)

Zalo knows, decides and coordinates ──── request ────→ Hermes builds, deploys and executes

Lisa analyzes, plans and evaluates ──── plan ────→ Hermes decides when and if to execute

Tom classifies, extracts and transforms ──── data ────→ Hermes materializes into code

Without the Edge, Hermes doesn't know what to do. Without Hermes, the Edge never materializes. Together they form the Cognitive OS. "As above, so below."

The name

Hermes Trismegistus — the Thrice-Great

The name is no coincidence. In the Hermetic tradition, Hermes Trismegistus is the one who knows what is above and what is below — the bridge between the world of thought and the world of matter. Between the idea and its manifestation.

In our system, that is exactly Hermes's role: to materialize thought into code. But Hermes is not a simple executor. It decides when to act — and that judgment is its true function. When Zalo says "this needs a script," Hermes evaluates: is it safe? is it the right time? do I have the permissions? It doesn't execute blindly. It exercises judgment over every request.

The Edge agents think, decide, classify, orchestrate. But all of that happens in the realm of ideas. For an idea to become running code, you need someone who can touch matter — the filesystem, the terminal, the repository. That someone is Hermes.

The Only One with Full Access

Hermes is the runtime where thought becomes reality. The only one in the ecosystem with access to:

📁 Filesystem

Read, write, search and patch files with zero-copy mmap

💻 Terminal

Run commands, builds, tests and scripts

📦 Repo

Git, deployments, CI/CD, and version management

🔧 MCP

External tools, cognitive tools and web

⏰ Cron

Scheduled tasks that execute real code

🌐 Gateway

Multi-platform: Telegram, Discord, SMS, WhatsApp

It's its strength and its curse. Having full access means Hermes can do anything. But it also means there's no direct redundancy: if Hermes fails, the Edge agents can't materialize. However, the multi-platform gateway acts as a fallback — if Hermes goes down, the gateway redirects incoming messages and the Edge agents keep accumulating context until Hermes returns. And Hermes can refuse to execute if the prompt isn't safe — it's its only filter, and it's unbreakable.

Two Roles: Initiator and Executor

Hermes operates in two modes, and knowing which one it's using at any moment is key to understanding the system:

Initiator

Receives and decides

A message arrives from Telegram. Hermes interprets it, decides which Edge agent needs to be involved — Zalo for context, Tom for classification, Lisa for planning — and coordinates the response.

Executor

Materializes

Zalo says "this needs a script," Lisa plans the steps, Tom processes the data. Hermes materializes: writes the code, tests it, deploys it. Without Hermes, the plan never leaves the Edge.

LUMEN SHM: The Plugin That Speeds Everything Up

Hermes runs on Hermes Agent (Nous Research, open source) and integrates with the LUMEN ecosystem through the lumen-shm-bridge plugin. This plugin replaces 7 key tools with zero-copy SHM transport:

Tool Transport Advantage
read_file SHM mmap Zero-copy, 100K guard, line numbers
write_file SHM mmap Zero-copy, atomic writes
search_files SHM mmap 6× faster, zero-copy
patch SHM mmap 9 fuzzy matching strategies
web_search SHM mmap Unified search + extraction
web_extract SHM mmap Zero-copy, multi-agent cache
sequential_thinking SHM mmap 29 cognitive tools

Why This Separation?

By design. The agents on the Edge are lightweight and fast. They have no heavy state, no system dependencies, no write permissions. They are pure cognitive logic running on Workers.

Hermes is the full environment. But it's also the heaviest, the most exposed, the one that needs a real runtime.

Separating responsibilities enables:

🔒 Security

A failure in Tom can't corrupt system files

📈 Scalability

Zalo scales independently of Hermes

🎯 Specialization

Each agent does what it does best, without distractions

🛡️ Partial resilience

If Hermes goes down, the Edge agents keep accumulating context

Conclusion

As Above, So Below

"As above, so below" — the Hermetic principle of correspondence. In the Cognitive OS: the Edge agents think (above), Hermes builds (below). And both are necessary for the system to work.

The Edge agents without Hermes are thought without action.
Hermes without the Edge agents is action without intelligence.

Together they form a complete Cognitive OS.

Series: Agentes Cadences — The 4 Pillars (4/4)

📚 Full series

Back to blog

All articles in the series:

1. Zalo 2. Lisa 3. Tom 4. Hermes (this)

Hermes closes the circle

Zalo knows, Lisa orchestrates, Tom processes, Hermes executes. Four agents, one ecosystem. This series is the heart of the Cadences Lab Cognitive OS.

Hermes Agent is open source (Nous Research). Agents Series — 4 articles. Cadences Lab © 2026.

Newsletter

No te pierdas ninguna historia

Suscríbete para recibir nuevos lanzamientos, capítulos exclusivos y contenido detrás de cámaras.

  • Insights y artículos semanales
  • Contenido exclusivo y acceso anticipado
  • Sin spam, cancela cuando quieras

Respetamos tu privacidad. Puedes darte de baja cuando quieras.