GPU Errand GitHub

Send your agent
on a GPU errand.

GPU Errand lets Claude Code, Codex or any coding agent run a job on a Google Colab GPU. It never runs past the compute units you allowed, and it brings the results back with a receipt.

pipx install git+https://github.com/GanglyPuma22/gpu-errand
  1. hello-pr1Tesla T4
  2. account rate2.61 units/h
  3. cap from 0.1 units137 s
  4. copied in9 s
  5. jobexit 0
  6. resultsmatch SHA-256 list
  7. runtimestopped
  8. spentabout 0.02 units
A real run on 26 October 2026, copied from its driver log.

How an errand runs

Your agent writes the job.

One JSON file: the commit to run, the command, the GPU and the most it may spend.

{
  "schema": 1,
  "id": "hello-pr1",
  "type": "shell",
  "repo": "GanglyPuma22/gpu-errand",
  "ref": "79d34a6",
  "command": "nvidia-smi > $OUT_DIR/gpu.txt",
  "gpu": "T4",
  "max_minutes": 3,
  "max_units": 0.1,
  "max_rate": 3
}

Then you read the plan and say go.

gpu-errand plan prints every step with its caps. Nothing is spent before you agree.

$ gpu-errand plan hello-pr1.json
host: git fetch, git archive 79d34a6
      (no .git, no credentials)
host: colab new --gpu T4
host: read the hourly rate; refuse an
      unknown rate or one above 3 units/h;
      cap the runtime at 3 min + 20
      or 0.1 units, whichever comes first
runtime: run: nvidia-smi …
host: check every file, stop the runtime

agent: Go? This spends up to 0.1 units.

Your machine runs it on Colab.

It waits for a free GPU, reads the rate, and stops the runtime at the cap, even if something hangs.

$ gpu-errand run hello-pr1.json
04:16:21 job hello-pr1: T4, cap 3 min
04:16:26 rate: account 2.61 units/hour
04:16:26 cap: 137 s after the runtime
         started, from the 0.1 unit ceiling
04:16:35 copied in after 9 s
         Tesla T4, 15360 MiB
04:16:45 done

The results come home with a receipt.

Every file is checked against the list the runtime made. Then the GPU is shut off.

04:17:44 results match the runtime's
         SHA-256 list
04:17:45 job hello-pr1: exit 0
04:17:45 stopping runtime

results/hello-pr1-20261026T041617Z/out/
  gpu.txt        Tesla T4
  commit.txt     79d34a6
  runner.json    run_exit 0
  MANIFEST.sha256

Safe to hand to an agent

GPU

On a T4 at 1.07 units an hour, the runtime is stopped after 5 min 36 s, by the unit cap. It can spend at most 0.1 units, about 1 cent.

A hard spending cap

Once the GPU is granted, the runner reads the account's hourly rate. It refuses an unknown rate or one above max_rate, then stops the runtime at the time cap or the unit cap, whichever comes first.

If a stop fails, it keeps trying for 30 minutes. The calculator uses rates we saw on one Pro account in October 2026; the runner reads your account's own rate.

$ cat out/commit.txt
79d34a6cdbd263626dbad2608f61aacf8b3a7de7

$ sha256sum out/commit.txt
3c5dcdad592828e4ffc6e5ee19781f42
22f3d8c93e28428a3c1ba181a6035fae

host: results match the runtime's
      SHA-256 list

Checksums on every file

The runtime lists every output with its SHA-256 before anything leaves. Your machine checks each file against that list, and drops links and special files.

Model runs add receipt.json with each output's length, peak and loudness. A silent or broken file fails the run.

sent to the runtime
  repo.tar          git archive, no .git
  runtime_job.sh
  runtime_display.sh

kept on your machine
  Colab login, Hugging Face token,
  SSH keys, everything else

Your keys stay on your machine

Only the job's commit and two scripts go to the runtime. Gated Hugging Face weights come through short-lived download links your machine makes, so the token never travels.

The job file refuses environment variables that look like keys or passwords.

$ gpu-errand service go
[service] go typed
[service] start: you/jobs:errand-queue,
          1 at once, 3 jobs, 2 h
          repos: you/game  refs: main
[service] launched sfx-batch-2 (1 of 3)

You approve every job

The agent skill shows you the plan and the cap, then waits. A go covers only that job and its caps.

For a standing queue, agents push job files to a branch of a private repo. Your machine works through them only after you type go, inside the bounds you set.

Measured runs

Runs of the GPU Errand runner on Colab, with time and compute units used
DateJobGPU and timeUnits
26 Oct 2026GPU check, the hello job aboveT4, about 1.5 minabout 0.02
23 Oct 202660 s music cue and a looping versionA100, 5 min0.44
3 sound effects, 5 s eachL4, 9 min0.21
2 Godot gameplay clipsL4, 3.3 minabout 0.02

Colab sold 100 compute units for about $10 when these ran, so each run cost a few cents or less. Times include starting the GPU and copying results back.

What it can run

Recipes

Job types

  • shell, any command from a git repositoryno screen
  • godot-capture, a game's own capture commandXvfb and Vulkan
  • model-run, a shipped recipepinned models

Agents

  • Claude Codeplugin
  • Codexskill folder
  • Anything that runs a shell commandCLI

Questions

Is this a Google product? No. It's an independent open-source tool that drives Google's own Colab CLI.

Does it work on the free Colab tier? No. Colab allows remote shells only on paid accounts with compute units left.

How is it different from Modal, RunPod or SkyPilot? Those rent GPUs by the second. GPU Errand is for people who already pay for Colab and want an agent to use those units safely.

Which agents does it work with? Claude Code through the plugin, Codex through the skill folder, and anything else that can run a shell command.

Can my agent raise its own cap? No. The cap is in the job you approved, and a go covers that job only. On a failure the skill reports back instead of retrying.

What does the host need? Linux, macOS or WSL with git, ssh, Python 3.9 or newer, and the Colab CLI signed in. The CLI doesn't run on plain Windows.

Can a cloud agent use it? Yes, through the queue. It pushes a job to a private repo and reads the results branch later, while your machine does the running.

Who checks the model licenses? You do. Stable Audio Open uses the Stability AI Community License, and ACE-Step lists its terms on its repository.