Skip to main content
Hermes Agent runs its terminal and file tools on a terminal backend. Mirage reaches it three ways:

Install

Install Hermes Agent 0.23.3 or later. The terminal backend needs nothing else; for MCP and FUSE, install the Mirage CLI:

Workspace

/Users/me/workspace.yaml
Hermes keeps its shell state and background-job logs in /tmp, and polls a background job from another session than the one that started it, so the terminal backend needs both lines.

Terminal backend

Hermes installs mirage-ai into its own environment. Every command its terminal tool runs, and every read_file, write_file, patch and search_files, now goes to the workspace.
  • Each Hermes task gets its own sessions in the workspace, closed when the task ends. A background job lives as long as its task.
  • python3, pip and git run on a machine; add one to the workspace YAML. Hermes’ execute_code needs one with Python.
  • Hermes’ approvals.mode still decides which commands ask first, and the workspace’s command rules apply as well.

MCP

~/.hermes/config.yaml
Hermes keeps its own terminal and gains the workspace’s tools. mirage mcp starts the Mirage server when it is not running.

FUSE

Install a FUSE driver, and with uv, 'mirage-ai[fuse]'.
workspace-fuse.yaml
Hermes’ commands run on your computer in /tmp/mirage-demo, and each file they read or write goes through the workspace.