Ten agents, no port fights.
marina port gives each project and worktree its own stable port, so parallel agents stop colliding on :3000.
An agent can ask marina about its own servers with --mine, and stop exactly those when it's done. --json on ls, kill, url, who, free, port and agents keeps scripts and agents on a stable contract.
Agents only use it when they're told to. Paste this into CLAUDE.md or AGENTS.md:
## Dev servers - Run servers on `$(marina port)`, not a fixed port. One per service: `marina port <name>`. - Your server's URL: `marina url --mine`. - When done, stop yours: `marina kill --mine`. - Another agent in this worktree? Name your port (`marina port <task>`) and kill by port.
Enter on a session jumps to it in herdr, tmux, iTerm2, WezTerm, Ghostty or Terminal.