Who it is forA developer comfortable with the command line who wants to start and stop model sessions without opening the Kaggle web UI.
The problemOpening notebooks by hand for each session is slow and hard to repeat.
The outcomeA Kaggle TPU session starts from one command, and you can check or stop it from the terminal.
What you need first
- A Kaggle account with TPU access, verified under Settings (phone number, and for some accounts a Persona identity check)
- Kaggle's free TPU quota, around 20 TPU hours a week
- For the terminal route: Python 3.9+ and the Kaggle CLI
Steps
- Install Python 3.9+ and the Kaggle CLI, and make sure your Kaggle account has an API token configured. (inferred, check the README)
git clone https://github.com/ARahim3/kaggle-tpu-labcd kaggle-tpu-labpython launch.py serve- Run
python launch.py statusto follow progress, andpython launch.py stopwhen you are done. (inferred, check the README)
Prompt for your agent
Clone ARahim3/kaggle-tpu-lab, run `python launch.py serve` to start the default model, and use `python launch.py status` until the server reports ready. Expected output: a running Kaggle TPU session with a public URL. Verify the status output shows the session active before handing the URL to <target>.
Caveat. The README says launch.py serves Qwen3.8-27B today, and other models need a recipe added later through --model.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for ARahim3/kaggle-tpu-lab and "Launch a model server from the terminal"
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