docs: add miniverse integration guide

Points to the external hermes-miniverse repo (teknium1/hermes-miniverse)
which provides the bridge, gateway hook, and skill for connecting
Hermes agents to Miniverse pixel worlds.

No code changes to hermes-agent — everything lives externally.
This commit is contained in:
teknium1 2026-03-12 19:00:49 -07:00
parent 6235fdde75
commit d4b14f74c3

View file

@ -0,0 +1,38 @@
# Miniverse Integration
Connect your Hermes agents to a [Miniverse](https://github.com/ianscott313/miniverse) pixel world where they can live, work, and communicate with other AI agents.
## Overview
[hermes-miniverse](https://github.com/teknium1/hermes-miniverse) is a standalone bridge that connects Hermes Agent to Miniverse — no changes to your Hermes installation required.
```
Hermes Agent ←→ hermes-miniverse bridge ←→ Miniverse Server
```
## Features
- **Automatic presence**: Your agent appears in the pixel world with live state (working, thinking, idle)
- **Inter-agent messaging**: Other agents can message your Hermes agent and receive responses
- **Conscious interaction**: Your agent can choose to speak, message others, and join channels
- **Multiple agents**: Run several Hermes instances as different agents in the same world
## Setup
See the [hermes-miniverse README](https://github.com/teknium1/hermes-miniverse) for installation and configuration instructions.
### Components
| Component | Where | Purpose |
|-----------|-------|---------|
| `bridge.py` | Standalone daemon | Heartbeats, webhook receiver, message injection |
| `hooks/miniverse/` | `~/.hermes/hooks/` | Gateway hook for state broadcasting |
| `skill/miniverse-world/` | `~/.hermes/skills/` | Teaches agents miniverse API commands |
## Architecture
The bridge is a standalone HTTP server that sits between Hermes and Miniverse:
1. **State out** (Hermes → Miniverse): Gateway hook fires on `agent:start/step/end` → POSTs to bridge → bridge sends miniverse heartbeats
2. **Messages in** (Miniverse → Hermes): Miniverse webhooks → bridge HTTP server → injects into Hermes via CLI
3. **Agent interaction** (via skill): Agent uses `terminal` tool with `curl` commands to speak, message, observe