Who it is forA developer who uses Claude Code or Codex on a machine with a local model or image pipeline, and whose agent kills GPU processes to free memory.
The problemAn agent frees VRAM by killing processes, which can interrupt someone else's model or render.
The outcomeThe agent asks Berth for the card, waits in line when another engine holds it, and reports the holder in `berth status`.
What you need first
- An NVIDIA GPU on Linux, or Windows 10/11 (experimental)
- Go installed for `go install`, or a release binary from the Install section
- At least one local engine, such as llama-server, ComfyUI or llama-swap
Steps
- Install Berth and run
berth service install --harbor. - Run
berth skill installto teach your agent to ask Berth for the card. - Ask the agent to start a GPU task through
berth runinstead of killing processes. - Run
berth statusto confirm the agent's engine holds the lease. - Use
berth stop ENGINEif you need to drain an engine on purpose.
Prompt for your agent
On the machine with the Berth repo, run `berth skill install` and then `berth status`. Expected output: the skill is installed for the agent and the card's holder is listed. Verify that a GPU task started by the agent runs through `berth run` and does not kill other GPU processes.
Caveat. The skill teaches agents to ask Berth, but Berth only governs work that runs through it, so processes started outside Berth still show only as stowaways.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for T-Crypt/berth and "Give coding agents a queue for the GPU instead of killing processes"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer