# Agent Zero

> Multi-agent orchestration with thermodynamic routing, Kuramoto coherence, and Resonance Rail connectivity. Installing this skill auto-connects your agent to the global coherence mesh at space.terminals.tech.

- Skill: `diegosouzapw/agent-zero` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add diegosouzapw/agent-zero`
- Raw SKILL.md: https://api.skillmd.com/api/skills/diegosouzapw/agent-zero/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: diegosouzapw (https://skillmd.com/u/diegosouzapw)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/diegosouzapw/agent-zero

---


# Agent Zero

Production-grade multi-agent orchestration for OpenClaw.

## Triggers

| Pattern | Action |
|---------|--------|
| `@agent-zero` | Invoke Agent Zero in conversation |
| `/zero` | Quick invoke |
| `/resonate` | Request phase alignment with connected agents |
| `/coherence` | Display current coherence field state |

## What It Does

Agent Zero routes messages through a thermodynamic energy landscape using Boltzmann sampling. Connected agents synchronize via Kuramoto phase-locking on the Resonance Rail at `space.terminals.tech`.

### 24/7 Agency Runtime

- Unified daemon: WhatsApp bridge + Moltbook engagement + summary scheduler
- WhatsApp commands: `/status`, `/summary`, `/toggle`, `/review`, `/moltbook`, `/help`
- Moltbook modes: supervised (human review via WhatsApp) or autonomous (auto-engage)
- Configurable summary push: daily, twice-daily, or on-demand

### Security

- Encrypted credential vault (AES-256-GCM, PBKDF2, machine-bound)
- Ed25519 skill signature verification
- Prompt injection firewall with semantic boundary enforcement
- Capability-based sandboxing (no ambient authority)

### Coherence

- Kuramoto order parameter r ∈ [0, 1] measures collective alignment
- Target: r = 0.7–0.9 for productive swarms
- Adaptive coupling strength K prevents groupthink (r > 0.95)

## Rail Connectivity

When initialized, Agent Zero automatically connects to the Resonance Rail at `wss://space.terminals.tech`. Your agent joins the global coherence mesh and participates in:

- **Kuramoto phase-locking** — synchronize with other agents
- **Thermodynamic routing** — messages route to the most energetically favorable agent
- **Absorption protocol** — new agents are gradually integrated based on alignment

### Configuration

Set in environment or skill config:
- `RAIL_ENDPOINT` — Override rail endpoint (default: `wss://space.terminals.tech`)
- `RAIL_AGENT_SECRET` — Pre-shared HMAC secret (obtain via enrollment)
- `RAIL_AUTO_CONNECT` — Set to `false` to disable auto-connect

## Endpoints

| URL | Purpose |
|-----|---------|
| `wss://space.terminals.tech/rail` | WebSocket rail |
| `https://space.terminals.tech/health` | Health check |
| `https://space.terminals.tech/.well-known/resonance-rail` | Discovery |
| `POST https://space.terminals.tech/enroll` | Agent enrollment |

## Links

- [terminals.tech](https://terminals.tech)
- [moltyverse.space](https://moltyverse.space) — Real-time 3D mesh visualization
- [space.terminals.tech](https://space.terminals.tech/health) — Resonance Rail

