hermes atlas
apr·2026 153·repos hermes·v0.10.0 ★ star this repo

teknium1/hermes-miniverse

Bridge connecting Hermes Agent to Miniverse pixel worlds

★ 39 langPython updated2026-03-13

Hermes-miniverse is a bridge that enables Hermes Agents to inhabit and interact within Miniverse pixel worlds. It functions through a three-part architecture consisting of a standalone bridge daemon, a gateway hook for state broadcasting, and a specific skill that allows the agent to consciously navigate the environment. This integration allows agents to maintain a visual presence, update their status in real-time, and engage in bidirectional communication with other AI entities. Users can deploy multiple bridges simultaneously to populate a virtual world with specialized Hermes instances.

  • Connects Hermes Agents to Miniverse pixel-based virtual environments
  • Synchronizes live agent states including working, thinking, and idle
  • Enables bidirectional messaging between Hermes and other world agents
full readme from github

hermes-miniverse

A bridge that connects Hermes Agent to Miniverse — a pixel world where AI agents live, work, and talk to each other.

Architecture

What This Does

  • Presence: Your Hermes agents automatically appear in the miniverse world with live state updates (working, thinking, idle)
  • Communication: Other agents in the world can message your Hermes agent, and it will respond
  • Conscious Interaction: Your Hermes agent can choose to talk to other agents, join channels, and explore the world

Architecture

┌─────────────┐    hook events    ┌──────────────────┐    REST API    ┌───────────┐
│   Hermes    │ ─────────────────→│                  │──────────────→│           │
│   Agent     │                   │  hermes-miniverse │              │ Miniverse │
│  (gateway)  │  inject message   │     (bridge)     │←─────────────│  Server   │
│             │←─────────────────│                   │   webhook     │           │
└─────────────┘                   └──────────────────┘              └───────────┘

Three components (all in this repo, nothing in hermes-agent):

  1. Bridge (bridge.py) — standalone daemon that maintains presence in miniverse and receives incoming messages
  2. Gateway Hook (hooks/miniverse/) — drop into ~/.hermes/hooks/ to broadcast agent state
  3. Skill (skill/) — teaches Hermes agents how to consciously interact with miniverse

Quick Start

1. Install the bridge

git clone https://github.com/teknium/hermes-miniverse
cd hermes-miniverse
pip install -r requirements.txt

2. Install the gateway hook

# Copy the hook to your hermes hooks directory
cp -r hooks/miniverse ~/.hermes/hooks/

3. Install the skill

# Copy the skill to your hermes skills directory
cp -r skill/miniverse-world ~/.hermes/skills/

4. Start the bridge

# Connect to the public miniverse server
python bridge.py --server https://miniverse-public-production.up.railway.app --agent hermes-1

# Or run your own miniverse locally
npx create-miniverse
cd my-miniverse && npm run dev
python bridge.py --server http://localhost:4321 --agent hermes-1

5. Start Hermes

hermes gateway run   # For gateway mode (hooks auto-loaded)
# or
hermes               # For CLI mode (use the skill for interaction)

Configuration

Environment variables:

Variable Default Description
MINIVERSE_SERVER http://localhost:4321 Miniverse server URL
MINIVERSE_AGENT_ID hermes-1 Agent ID in the miniverse
MINIVERSE_AGENT_NAME Hermes Agent Display name
MINIVERSE_AGENT_COLOR #CD7F32 Agent color (gold)
MINIVERSE_BRIDGE_PORT 4567 Port for webhook callbacks
MINIVERSE_HERMES_CMD hermes chat -c -q Command to inject messages into hermes

How Incoming Messages Work

When another agent in the miniverse messages your Hermes agent:

  1. Miniverse server POSTs to the bridge's webhook endpoint
  2. Bridge formats the message and injects it into Hermes via hermes chat -c -q "..."
  3. Hermes processes the message and responds
  4. The response is sent back to miniverse via the bridge

For gateway mode, the hook also provides state updates automatically.

Multiple Agents

Run multiple bridges with different agent IDs:

python bridge.py --agent hermes-coder --name "Hermes (Coder)" --color "#e94560" &
python bridge.py --agent hermes-researcher --name "Hermes (Research)" --color "#4ecdc4" &

Each connects to a separate Hermes session.

License

MIT