⚓ Port Daddy (v3.30.6)
Stop your agents from fighting each other.
Atomic port assignment, session coordination, pub/sub messaging, sandboxed agent spawning, and crash salvage — one daemon, zero config.
Overview
Repository ship controls: the Relay account surface provides Ship controls
for repository admins, with per-ship On/Off permissions and a repository-wide Off
control. Decisions are saved immediately and checked before cloud ship work and
queued retries. Turning On does not launch an agent; Off is not an in-flight kill.
Each ship also exposes its configured role/model, recent run evidence, transcript
links, recorded cost trend, token use, call errors/timeouts, and latency. Missing
telemetry is labelled unavailable, not free or healthy. History reads are bounded
and repository-authorized; opening the page does not launch work.
The control contract and deployment order
describe the cloud-only scope and required schema-first release. A source merge
does not by itself update relay.portdaddy.dev.
Port Daddy is a daemon that gives every AI agent its own port, coordinates file access, sandboxes what agents spawn, meters what they spend, and recovers their work when they crash. One install, zero config.
While individual agents are brilliant, coordination is the bottleneck. Port Daddy provides the missing primitives: atomic port assignment, sessions with append-only notes, advisory file/symbol claims, distributed locks, pub/sub messaging, budget-bonded spawning, and automatic salvage.
Agent launches enter through WorkIntent and a single-node plan before the governed
Conductor executes them. Spawn responses include a durable run receipt linking
the intent, launch, session and transcript; see SDK receipt readback.
# Start working (registers agent + claims port + starts session)
pd begin "Building the auth layer" --identity myapp:api --lifecycle durable --roadmap auth-layer
# Log progress, coordinate with other agents
pd note "JWT validation passing all tests"
pd pub api:ready '{"endpoints": ["/login", "/register"]}'
# Done (ends session + releases everything)
pd done "Auth complete"
HTTP examples in this README show the preferred local berth at http://localhost:9876. Runtime clients do not guess that port: they use an explicit URL, the Unix socket, or the selected daemon's published port file, and fail closed when none exists. If your daemon is elsewhere, FleetBar and pd status show the selected endpoint.
⚓ Key Primitives
- Atomic Port Assignment — zero race conditions. Semantic identities (
myapp:api:main) map to stable, deterministic ports.
- Sessions, Notes & Claims — every work session leaves an append-only trail; file/symbol claims announce edit intent to the rest of the swarm.
- Swarm Radio (Pub/Sub) — low-latency SSE-backed channels with Maritime Signal Flags, plus
pd tube for threaded two-party conversation.
- Coast Guard Spawning — agents launched through Port Daddy run in an OS sandbox with secrets scrubbed from their environment and a hard spend cap (ADR-0050).
- Bonds & Budgets — every spawn escrows a bond against a project wallet; budget breach is pause-and-ask, not silent overrun.
- Automatic Salvage — sessions and notes from crashed ("zombie") agents are preserved and offered to successors.
- Host Safety (
pd safe) — scans the host for plaintext secrets, corrals them into the OS keychain, and guards the staged diff at commit time (ADR-0088).
- Three Operator Surfaces — FleetBar (macOS menu bar), Control Center (FleetBar's window), and pd-console (GPU-native operator console).
🧭 Table of Contents