Polygeist is the sovereign orchestrator for local-first, agentic control loops. It bridges upstream developer communication channels (via Band.ai) directly to a decentralized suite of task completion engines operating entirely on the host system.
graph TD
subgraph Upstream
Band[Band.ai Room / WebSocket Client]
end
subgraph Core Control Plane
P[Polygeist Daemon]
IPC[Polygeist UNIX IPC Socket Server]
end
subgraph Execution Loop
V[vibeauracle UDS completed completion API]
AC[auracrab Sandbox Verification Engine]
AI[anyisland Autonomous Package Manager]
end
Band -->|1. Event Tasks / WebSockets| P
P -->|2. Orchestration Loop| V
P -->|3. Sandbox Command Exec| AC
P -->|4. Release distribution & registration| AI
IPC -.->|Status/Health Inspection| P
Polygeist coordinates mutations, verification, and distribution phases across three core modules via UNIX Domain Sockets (UDS), keeping the control plane robust, isolated, and responsive:
- Phase 1: Mutation (via
vibeauracle): Runs completion/synthesis workflows to patch, modify, or extend the codebase under constraints specified in the room payload. - Phase 2: Verification (via
auracrab): Isolates modifications within a sandbox executor, running test suites, linters, and verification checks. - Phase 3: Distribution (via
anyisland): Builds, signs, and registers updated binaries securely to the target platform directory layout.
Deploy the entire orchestration ecosystem (including polygeist, anyisland, vibeaura, and auracrab) with a single command:
curl -sSL https://raw.githubusercontent.com/nathfavour/polygeist/master/install.sh | bashThis installer places all binaries inside ~/.local/bin and writes local UDS path configs to ~/.config/polygeist/env.
Clone the repository recursively to pull in all submodule components:
git clone --recursive https://github.com/nathfavour/polygeist
cd polygeist
# Setup submodules and workspace
./install.sh
./scripts/start-daemons.sh# Set up environment variables
source ~/.config/polygeist/env
# Start background daemons
anyisland daemon start
vibeaura daemon start
# Run Polygeist connecting to Band.ai
export BAND_API_KEY="your-agent-key"
export BAND_AGENT_ID="your-agent-id"
export BAND_CHAT_ID="your-chat-room-id"
polygeist --chat $BAND_CHAT_ID
# Run a single task locally (Offline/Cli mode)
polygeist --once "fix auth middleware" --workdir /path/to/target/project--chat: Specific Band.ai chat room ID (falls back toBAND_CHAT_ID).--workdir: Target workspace directory for mutations (defaults to current directory).--bin: Output binary override path for the distribution phase.--once: Runs a single prompt query string locally and exits (ideal for CI/CD integration).--version: Print build version info.
Polygeist opens a diagnostic socket at ~/.anyisland/polygeist.sock (or path dictated by POLYGEIST_IPC_SOCK). External applications can query daemon health and phase state using JSON payload interfaces:
{
"op": "HEALTH"
}{
"status": "ok",
"phase": "idle",
"sockets": {
"polygeist": "/home/user/.anyisland/polygeist.sock",
"anyisland": "/home/user/.anyisland/anyisland.sock",
"vibeauracle": "/home/user/.polygeist/run/vibeaura.sock"
},
"reachable": {
"polygeist": true,
"anyisland": true,
"vibeauracle": true
}
}idle: Daemon waiting for new events.mutating:vibeauracleis patching source code.verifying:auracrabis executing sandboxed test verifications.distributing:anyislandis releasing the final compiled executable.