colab
PLUGINUploads the run's files (hidden files and folders, symlinks, hard links, virtualenvs and common credential files excluded; the home directory, ULPI_HOME and credential.
by PietrangeloManco · v0.1.0
What it does
Disclosure — needs the user's own Google Cloud OAuth client (Desktop app, Colaboratory scope) signed in with ulpi auth add ulpi-colab:google; Ulpi attaches the token to colab.research.google.com only. Uploads the run's files (hidden files and folders, symlinks, hard links, virtualenvs and common credential files excluded; the home directory, ULPI_HOME and credential folders are refused as code or output folders) to the user's Colab runtime and executes them there with a small stdlib runner that pip-installs the run's requirements; runtimes consume the account's Colab compute units and are released when a run ends; a daemon thread supervises active runs (one per profile, lease-protected; with no active run it only reads the run store every 30 s); run records live in the profile's plugin data directory; a pre_llm_call hook adds a finished run's one-line summary to the starting chat's next turn.
Tools it adds
The tools an agent gets once this plugin is installed.
- colab_doctor
- colab_run
- colab_status
- colab_logs
- colab_cancel
- colab_resume
- colab_runtimes
- colab_release_runtime
How to set it up
Run Python scripts and Jupyter notebooks on Google Colab GPUs (T4 free tier, L4, A100, H100, TPU) from chat: Ulpi assigns the runtime, uploads the code, keeps it alive, streams progress and GPU use, syncs outputs and checkpoints home while the job runs, resumes on a fresh runtime from the last checkpoint when Colab reclaims one, and reports back to the chat that started it; a Desktop page shows live runs with cancel and resume.
Review notes
What an owner reads and accepts before the install is approved.
- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve