# googlecolab/google-colab-cli

Repository: https://github.com/googlecolab/google-colab-cli
Canonical: https://ross.abutalabs.com/products/google-colab-cli
Language: Python
License: Apache-2.0
License Family: permissive
Last push: 2026-09-02T21:46:15+00:00

## Health v2 (maintenance only)
Score: 59/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 35, longevity 9
- inputs: {"age_days": 138, "days_push": 0, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, young
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1126, forks 141 (observed 2026-09-03T02:15:12.459391+00:00)

## What it is
A Python-based command-line interface for Google Colab that lets users provision CPU, GPU, and TPU runtimes, execute local scripts and notebooks remotely, and manage files from the terminal. It supports headless automation and AI agent integrations with features like ephemeral job runners and keep-alive daemons.

## Use cases
- run python scripts on a gpu from the terminal
- provision a colab gpu or tpu vm without opening a browser
- execute jupyter notebooks headlessly in the cloud
- run a one-off job on a fresh vm and tear it down automatically
- keep a colab runtime alive without open browser tabs
- automate cloud ml pipelines from ci or scripts
- let an ai agent execute code on colab runtimes

## When to choose
- you want terminal-based, headless access to Google Colab compute
- you need to run local scripts or notebooks on GPU/TPU runtimes programmatically
- you're building automation or AI agent workflows that use Colab as a backend
- you work on Linux or macOS and prefer CLI over the Colab web UI

## When to avoid
- you're on Windows, which is not supported
- you want interactive in-notebook agent-assisted coding (use the Colab MCP Server instead)
- you need a general-purpose cloud VM manager beyond Colab runtimes
- you require a stable long-term API, given the tool is early (v0.6.0)

## Facets
- artifact type: cli-tool
- maturity: active
- function: cli, developer-tools, gpu-computing, workflow-automation, sdk
- domain: developer-tools, cloud-computing, machine-learning, gpu-computing
- platform: cli, python, cloud
- tags: google-colab, jupyter, notebooks, remote-execution, vm-provisioning, tpu, cloud-pipelines, ai-agents, command-line, automation, linux, macos

## Member repositories
- googlecolab/google-colab-cli (main) score 59

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:12.459391+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:51:28.055848+00:00, confidence not recorded.
  - readme: https://github.com/googlecolab/google-colab-cli (fetched 2026-09-03T02:15:12.459391+00:00, sha fc7059b8284b)
  - registry_pypi: https://pypi.org/pypi/google-colab-cli/json (fetched 2026-08-29T12:54:05.747551+00:00, sha 4498413ac978)
- Data as of 2026-08-30T08:39:29.467469+00:00.
