Who it is forA gamer who also runs local AI models on the same NVIDIA card and wants the game to get the memory.
The problemAI engines hold VRAM while a game starts, so the game stutters or fails to load.
The outcomeAI engines drain while the game runs and the card is returned when the game exits, with the state visible 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. - Confirm the daemon is running with
berth status. - Launch a supported game from Steam, Lutris or gamescope on Linux, or Steam, Epic, GOG, EA, Ubisoft, Xbox or Battle.net on Windows.
- Run
berth statusduring play to see the game holding the card. - Quit the game and run
berth statusagain to see the card returned to the AI engines.
Prompt for your agent
On the machine with the Berth repo, run `berth service install --harbor` and then `berth status`. Expected output: the card and any leases are listed. Verify by launching a supported game and confirming `berth status` shows the game as the holder while AI engines are drained.
Caveat. Game detection is limited to the launchers the README lists, and if your game is not on that list, add a `[[claim]]` rule in `berth.toml` or use `berth hold`.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for T-Crypt/berth and "Let games take the GPU while you play and resume AI after"
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