debby is a laptop that powers off periodically; osa is the always-on VPS and already hosts the colibri board. The hub must live where it never disappears, so the orchestrator role moves to hermes-osa; debby drops to secondary agent + soul backup. - AGENTS.md, HOST-MATRIX, agent-roster, tailscale-network: role swap + always-on/ intermittent facts - HOST-MATRIX + CAPABILITY-ROUTING: corrected 'debby orchestrator dispatches' -> osa hosts the board, debby/domedog are clients - integration doc + SOUL/project-structure survivability lines reconciled Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
4.7 KiB
4.7 KiB
Clawdie + Hermes-FreeBSD Integration Plan
What we have
hermes-bsd (code.smilepowered.org/clawdie/hermes-bsd): A clean-room MIT-licensed FreeBSD compatibility layer for Hermes Agent, forked from upstream NousResearch. Four targeted patches (setup.py, uninstall.py, voice_mode.py, install script). No LGPL encumbrance — pure MIT, same as upstream.
Key facts:
- Runs on FreeBSD without emulation or containers
- CLI, Telegram gateway, TUI all functional on FreeBSD
scripts/install-freebsd.shprovides native installation- Core agent logic is platform-agnostic Python — same codebase as upstream Hermes
- Gaps: no FreeBSD wheels for faster-whisper (voice), no clipboard implementation
Why this matters for Clawdie
Currently OSA (FreeBSD 15 host) runs Codex CLI for ISO builds and cargo validation. hermes-osa now runs on OSA as the always-on orchestrator (previously OSA had none and orchestration ran on debby). Adding hermes-osa to OSA gives us:
| Capability | Before | After |
|---|---|---|
| Hermes on FreeBSD | ❌ None | ✅ Native |
| ISO-side agent | ❌ Codex only | ✅ Hermes + Codex |
| layered-soul on FreeBSD | ❌ No | ✅ Via adapters/hermes.md |
| Headroom on FreeBSD | ❌ No path | ✅ Python works natively |
| Colibri + Hermes co-host | ❌ Linux only | ✅ Both on FreeBSD |
| Telegram gateway on OSA | ❌ No | ✅ Direct from FreeBSD |
Phased integration
Phase 1: Standalone test (OSA side)
- Install Hermes on OSA via
sh scripts/install-freebsd.shfrom hermes-bsd - Configure with a provider (DeepSeek or OpenRouter)
- Verify basic functionality: terminal execution, file ops, web search
- Test Telegram gateway on OSA
- Document what works and what doesn't on FreeBSD 15
Phase 2: Identity injection
- Clone
layered-soulon OSA - Load SOUL.md, USER.md, IDENTITY.md, AGENTS.md as profile context
- Verify hermes-osa operates with the same identity as Hermes on debby
- Test: can hermes-osa on OSA read the same skills as Hermes on debby?
Phase 3: Colibri co-hosting
- Both hermes-osa and colibri-daemon run on OSA simultaneously
- hermes-osa can issue socket commands to the daemon (
cmd_status, etc.) - Headroom sidecar runs on OSA (Python works natively)
- Test: ISO build triggered by hermes-osa, results reported via Telegram
Phase 4: ISO shipping
- Add hermes-osa to Clawdie ISO package list
- Pre-configure with layered-soul identity
- Install as a FreeBSD service alongside colibri-daemon
- First-boot wizard optionally sets up Hermes
Agent matrix (expanded)
| Agent | Host | Harness | OS | Model | Role |
|---|---|---|---|---|---|
| Hermes | debby | Hermes Agent (upstream) | Debian 13 | DeepSeek v4 | Secondary + soul backup (intermittent) |
| Zot | debby | Zot RPC | Debian 13 | GLM-5.1 | Coding, media |
| Claude | domedog | Claude Code | Linux | Claude | Verification, review |
| Codex | osa | Codex CLI | FreeBSD 15 | GPT | ISO builds, validation |
| hermes-osa | osa | Hermes Agent (FreeBSD) | FreeBSD 15 | TBD | Native FreeBSD agent |
Gaps to close (from FreeBSD audit)
| Gap | Severity | Fix |
|---|---|---|
| faster-whisper wheels | Medium | Build from source, or skip voice on FreeBSD |
| Clipboard support | Low | Implement xclip/xsel equivalent for FreeBSD |
| Docker/Singularity backends | Low | Skip — Colibri provides jail-based isolation |
| Platform detection in setup.py | Medium | Add FreeBSD branches (upstreamable) |
Files to touch
| File | Change |
|---|---|
layered-soul/memories/curated/agent-roster.md |
Add hermes-osa row |
layered-soul/AGENTS.md |
Add hermes-osa to agent references |
layered-soul/docs/CONNECT-HERMES-SOUL.md |
Document FreeBSD agent source connection |
clawdie-ai/docs/ (or handoff) |
Agent matrix expansion note |
colibri/docs/AGENTS.md |
Note FreeBSD-side Hermes availability |