Local executor system for zo-swarm-orchestrator — manages bridge scripts, health checks, and registry for Claude Code, Hermes, Gemini, and Codex agents running on the local machine.
Resources
12Install
npx skillscat add marlandoj/zouroboros-swarm-executors Install via the SkillsCat registry.
zo-swarm-executors
Local executor system for the zo-swarm-orchestrator. Manages bridge scripts, executor registry, and health checks for AI agents that run directly on the machine.
Quick Start
cd /home/workspace/Skills/zo-swarm-executors
# Check executor health
bun scripts/doctor.ts
# Integration test (sends test prompt through each bridge)
bun scripts/test-harness.ts
# List registered executors
bun scripts/register.ts list
# Validate registry schema
bun scripts/register.ts validateAvailable Executors
| ID | Name | Bridge | Speed | Best For |
|---|---|---|---|---|
claude-code |
Claude Code | bridges/claude-code-bridge.sh |
~25-120s | Code implementation, file editing, git operations |
hermes |
Hermes Agent | bridges/hermes-bridge.sh |
~15-60s | Web research, security audits, multi-tool investigation |
gemini |
Gemini CLI | bridges/gemini-bridge.sh |
~2-12s (daemon) | Large-context analysis (1M+ tokens), multimodal tasks |
codex |
Codex CLI | bridges/codex-bridge.sh |
~3s | Fast code generation, shell commands, rapid prototyping |
Bridge Protocol
Bridges are shell scripts that wrap a local AI agent for orchestrator invocation:
bash <bridge> "<prompt>" [workdir]
# stdout = clean text response
# stderr = diagnostics
# exit 0 = success, non-zero = failureSee docs/BRIDGE_PROTOCOL.md for the full specification.
Integration with zo-swarm-orchestrator
The orchestrator reads registry/executor-registry.json to discover local executors. Set the registry path via:
export SWARM_EXECUTOR_REGISTRY=/home/workspace/Skills/zo-swarm-executors/registry/executor-registry.jsonOr let the orchestrator use its default path: Skills/zo-swarm-executors/registry/executor-registry.json relative to SWARM_WORKSPACE.
Adding a Custom Executor
- Copy
bridges/template-bridge.shand implement your executor - Create a JSON file with executor metadata (see
executor-registry.jsonfor schema) - Register:
bun scripts/register.ts add my-executor.json - Verify:
bun scripts/doctor.ts --executor my-executor
Environment Variables
| Variable | Bridge | Default |
|---|---|---|
CLAUDE_CODE_BIN |
claude-code | Auto-detected |
CLAUDE_CODE_MODEL |
claude-code | CLI default (Opus 4.6) |
CLAUDE_CODE_TIMEOUT |
claude-code | 600s |
HERMES_PROJECT_DIR |
hermes | /home/workspace/hermes-agent |
HERMES_VENV |
hermes | $HERMES_PROJECT_DIR/.venv/bin/activate |
HERMES_TIMEOUT |
hermes | 300s |
GEMINI_MODEL |
gemini | gemini-2.5-flash |
GEMINI_TIMEOUT |
gemini | 300s |
GEMINI_NO_DAEMON |
gemini | 0 (daemon enabled) |
CODEX_MODEL |
codex | gpt-5.4 |
CODEX_TIMEOUT |
codex | 300s |
SWARM_WORKSPACE |
all | /home/workspace |
SWARM_EXECUTOR_REGISTRY |
all | Skills/zo-swarm-executors/registry/executor-registry.json |