colabhive
Health Uyari
- License — License: Apache-2.0
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 8 GitHub stars
Code Basarisiz
- rm -rf — Recursive force deletion command in .github/workflows/ci.yml
- rm -rf — Recursive force deletion command in scripts/build-release.sh
- rm -rf — Recursive force deletion command in scripts/install.sh
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
Pool multiple Google Colab accounts into one self-hosted GPU cluster, frameless system tray & headless MCP router for Claude Code, Codex & Cursor.
ColabHive
Connect Google Colab — Google's cloud GPU powerhouse (A100 80GB, 96GB Blackwell G4, H100, L4, Free T4) — together with your lab or self-hosted SSH GPU servers straight into your local machine. Skip tedious Colab web notebooks and let local scripts, parallel AI coding agents (MCP), research teams, and local AI apps call cloud GPUs directly.
🎮 Live Interactive Demo (No Install) · 🖥 Download Desktop (Win / macOS) · ✨ Core Use Cases · ⚡ Quickstart · 🧩 Plugin Platform v2 · 简体中文
Open Ecosystem: WanGP (DeepBeepMeep) · ComfyUI · Unsloth · JupyterLab · Inspired by sub2api / magpie / cc-switch
✨ What ColabHive Solves
Google Colab is one of the easiest places to get serious cloud GPUs (96GB G4, A100 80GB, H100, L4, plus free T4s), yet using it for real engineering work is painful: juggling browser tabs, tedious Notebook setups, uploading files by hand, dropped sessions, and zero way for local AI coding agents to talk to it directly.
ColabHive sits between cloud GPUs and your local machine as one unified compute gateway — pooling your Google Colab accounts and your lab/self-hosted SSH GPU servers into a single GPU pool you can call straight from your terminal, IDE, or AI agents:
1. Call Google's Cloud GPUs Straight From Local — Skip the Colab Web UI
No more clicking through Colab tabs, babysitting expiring Compute Units, or fighting 503/412 shortages by hand:
- Multi-account pooling & parallel sharding: combine AI Ultra, Pro+, Pro, and free
T4accounts in one pool; shard an experiment across 4 GPUs from one local command (4GPUs for 1 hour costs the exact same CUs as1GPU for 4 hours — 4× faster). - Keep hard-won GPUs warm & queue politely when busy: scarce GPUs (
A100/G4/H100) stay warm for 20 minutes by default after a run finishes so your next experiment — or a waiting task — takes over in0ms. When GPUs are out of stock, background queuing probes across accounts at 0 CU burn (persisted across restarts), while strict locking and ≥80GB Large-VRAM Protection (A100 / G4 / H100only) prevent silent downgrades to a small T4.
2. University Labs & Small Teams Sharing a Few GPUs — No More "Who's on GPU #3?" in Group Chat
Most research labs share a handful of 4090 / A100 servers plus everyone's Colab accounts. Taking turns manually is wildly inefficient: people forget to kill finished jobs, hold a GPU at 0% utilization while editing code, or finish at 2 AM while the card sits idle until morning.
Plug both your lab's SSH GPU servers (password, private key, or local ~/.ssh keys) and Colab accounts into ColabHive: everyone sees real GPU compute load, VRAM used, and who holds each lock at a glance. The moment someone releases or unlocks a card, ColabHive scrubs leftover VRAM and stray nohup processes and hands the warm GPU straight to the next person in queue in 0ms — zero wasted overnight compute.
3. Multiple AI Agents on One Machine — No More Polling Loops or Playing Messenger
When you run Claude Code, Codex, Antigravity, and Cursor in parallel on the same laptop, each agent used to fly blind — running crude nvidia-smi polling scripts every few minutes, or relying on you to paste messages between chats ("don't touch GPU #2, the other window is training!"). One slip and two agents hit the same GPU and both OOM.
Connect every agent to one local ColabHive gateway over MCP: live GPU locks, VRAM usage, and VM lifetime are synced across every agent automatically so nobody collides. If all GPUs are busy, an agent drops a background grab ticket (0 CU while waiting) and gets a freshly scrubbed GPU dispatched the instant one opens up.
4. One GPU Pool Powers Your Local AI Workstation Too
Beyond experiments, the exact same cloud GPUs drive local AI apps directly:
- 0ms Local Multimodal Media Studio: opens locally in
0msinstead of a 23 MB remote Gradio page — T2I (7.2s), I2I, T2V, I2V (17.2shot VRAM), and TTS — release the GPU immediately while every artwork stays permanently on local disk. - Official ComfyUI Desktop Bridge & Uncensored Local
/v1LLMs: fast private tunneling exposes isolated localhost ports directly to ComfyUI Desktop & Krita (no ngrok, zero local VRAM), or deploys open-weight LLMs with OpenAI / Anthropic / Ollama endpoints for SillyTavern, Cherry Studio & IDEs — alongside Unsloth zero-code fine-tuning and tokenless 1-click JupyterLab.
🖼️ Inside ColabHive
1. 8-IDE Compute Gateway & Multi-GPU Research Workbench (/router · /exp)
One-click config sync for Claude Code, Codex, Antigravity, Cursor, Gemini CLI, Windsurf, OpenCode, and Claude Desktop. Inspect real GPU compute/VRAM/lock owners on the live topology graph, shard experiments across accounts, flip through background grab tickets in the left-rail card deck, and reap Linux zombie processes every 8s automatically.
2. Unified GPU Pool: Google Colab + Lab SSH Servers (/pool)
Manage Google AI Ultra, Pro+, Pro, Free T4 and your own SSH GPU boxes in one place — drag-and-drop card ordering, sink or hide paused accounts, pin per-account SOCKS5/HTTP proxies, export encrypted .chvault backups, and pick individual GPU slots directly on multi-GPU SSH hosts.
3. 1-Click Uncensored Open-Weight LLMs (/apps/llm · Private Local /v1)
Deploy popular community uncensored (Heretic / Abliterated) models — Qwen3, Gemma 4, DeepSeek, GLM — or paste any hf.co/... GGUF URL onto Colab or SSH GPUs (with 0s reuse of running sessions). Exposes local OpenAI /v1, Anthropic /v1/messages, and Ollama /api/chat on 127.0.0.1:7860 for SillyTavern, Cherry Studio, Cursor & Claude Code.
4. Cloud GPU App Store, ComfyUI Desktop Bridge & Background Grab Queue (/apps)
One-click ComfyUI (complete 3-piece Z-Image Turbo / Qwen-Image FP8 / FLUX.2 Dev FP8 bundles bridged on isolated 127.x.y.z:8188 straight to official ComfyUI Desktop & Krita), Unsloth zero-code fine-tuning, 1-click JupyterLab, and single-file colabhive-app.json plugins — with 0s live session reuse, polite background queuing (0 CU while waiting), and fallback ordering (A100 → G4 → H100 → L4 → T4).
5. 2× Retina Compute Savings Posters (/savings · Zero-PII)
Track actual GPU hours used, idle auto-stops, and equivalent cloud spend — export crisp 2× Retina PNG posters with zero personal emails or tokens included.
6. 0ms Local Multimodal Media Studio (Powered by WanGP) + Permanent Local Gallery (/studio/media)
Opens in 0ms locally while streaming live denoising previews from a headless cloud GPU. Verified on 96GB Blackwell G4 across T2I (7.2s), I2I, T2V, I2V (17.2s hot VRAM), and TTS — release the cloud GPU the second generation finishes while every output stays permanently on your local disk, with swappable community UI plugins (PLUGIN_PLATFORM_V2.md).
/ · AI App Store · High-Res Media Studio)
Compute Observatory (/)

5-App Cloud GPU Store (/apps)

Local Multimodal Media Studio (/studio/media)

🐝 Native Desktop & System Tray
Always One Click Away — Never Drops Your GPUs
Inspired by Magpie and cc-switch, ColabHive ships as a native frameless app on Windows (
|
|
⚡ 30-Second Quickstart
Windows Native Desktop + System Tray (1-Liner)
irm https://raw.githubusercontent.com/hexwander/colabhive/main/scripts/install.ps1 | iex
Or grab the Windows zip directly from GitHub Releases and launch
colabhive-desktop.exe.
macOS (ColabHive.app Menu Bar + CLI) & Linux
curl -fsSL https://raw.githubusercontent.com/hexwander/colabhive/main/scripts/install.sh | sh
Shared Lab / Team Server (Docker + Auto-HTTPS)
cp .env.cloud.example .env.cloud && chmod 600 .env.cloud
docker compose -f docker-compose.cloud.yml --env-file .env.cloud --profile caddy up -d
📊 Benchmarks & How It Fits Together
| Workflow | Hardware | Measured | Why It Matters |
|---|---|---|---|
| Warm Pool → Next Queued Job | A100 / G4 / L4 / T4 |
0 ms |
Scrubs VRAM & stray nohup jobs, then hands off immediately |
| Local Media Studio Cold Open | Local React (40 KB gzip) |
0 ms |
Replaces 23.3 MB remote Gradio; browse gallery offline anytime |
Text-to-Image (Z-Image NitroFusion2) |
96GB Blackwell G4 |
7.2 s |
Live preview + permanent local gallery |
Image-to-Video (LTX-2 Distilled 19B) |
96GB Blackwell G4 |
17.2 s (hot VRAM) |
One-click gallery → MP4 with exact 8k+1 frames |
Speech Synthesis (Qwen3-TTS) |
96GB Blackwell G4 |
40.6 s (4s infer) |
Saves WAV locally with inline playback |
| Comm Tunnel v3 | A100 / L4 / T4 |
5.4× – 9.6× faster | /gradio_api/info: 35.8s → 3.7s, no head-of-line stalls |
| ComfyUI Desktop Bridge | Free T4 / L4 / SSH |
77s boot · 255 ms API |
Auto 3-piece bundles + WS 101 on local 127.x.y.z:8188 |
| Unsloth Studio / JupyterLab | Free T4 / SSH |
2.28s SPA / 41s boot |
Zero-code GGUF export · 1-click tokenless JupyterLab |
flowchart LR
subgraph Local["Your Laptop / Lab Gateway (Local-First · Zero Public Exposure)"]
AGENTS["Parallel AI Agents (Claude Code · Codex · Antigravity · Cursor)"]
APPS["Local Tools (ComfyUI Desktop · SillyTavern · Workbench UI)"]
GW["ColabHive Compute Gateway\nLive Lock Sync · Background Grab Queue · 20m Warm-Pool Handoff"]
end
subgraph Pool["Unified GPU Pool"]
COLAB["Google Colab Accounts (A100 80GB · 96GB G4 · H100 · L4 · T4)"]
SSH["Lab & Self-Hosted SSH GPU Servers (4090 / 5090 / A100 / H100)"]
end
AGENTS & APPS --> GW
GW <==>|"Comm Tunnel v3 / SSH Tunnel"| COLAB & SSH
🔌 Connect AI Coding Agents (MCP) & CLI/SDK
Antigravity / Cursor / Windsurf / Claude Code / Codex / Gemini CLI{
"mcpServers": {
"colabhive": {
"url": "http://127.0.0.1:7860/mcp"
}
}
}
(Claude Code: claude mcp add --transport http colabhive http://127.0.0.1:7860/mcp — no API key needed locally; scoped ch_sk_live_... keys for shared --mode cloud servers.)
Common multi-agent tools:
- Queue in the background at zero CU burn:
colab_grab_gpu,colab_grab_status,colab_grab_cancel(strict flagship GPU lock on by default). - Hand a clean GPU straight to the next agent:
colab_release_gpu,colab_lease_renew(cleans VRAM +0mshandoff). - Pick Colab vs. lab SSH hosts explicitly:
provider(colab/ssh/auto) withallow_external_fallback=falseby default so nothing switches unexpectedly.
# Check remaining Colab CUs and live SSH GPUs in one table
colabhive usage --gpu-hours
# Shard an experiment across 4 accounts (4x faster, exact same CU cost)
colabhive run --gpu A100 --shards 4 --strategy waste-zero --experiment eval_4x eval_shard.py
from colabhive import ColabHiveClient
client = ColabHiveClient(base_url="http://127.0.0.1:7860")
with client.session(gpu="A100") as sess:
sess.upload("./sim_config.yaml", "/content/sim_config.yaml")
print(sess.exec("import torch; print(torch.cuda.get_device_name(0))").stdout)
📚 Docs, Changelog & Acknowledgments
- Docs:
CHANGELOG.md·docs/PLUGIN_PLATFORM_V2.md·docs/PLUGIN_SDK.md·docs/LAUNCH_PLAYBOOK.md·SECURITY.md - Build From Source: Windows
.\scripts\build-release.ps1| macOS / Linux./scripts/build-release.sh - Acknowledgments: WanGP (DeepBeepMeep) (Powered by WanGP), ComfyUI, Unsloth,
google-colab-cli,sub2api,magpie, andcc-switch. - Community & Friendly Links: LINUX DO — Open-source & developer community.
License
Licensed under the Apache License 2.0.
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi