windowsill-lab
🌲 Part of the Broken Branch labs — one human and a cluster of AI agents shipping strange software in public. This is one experiment among many; the front door lists them all.
Find your own planet. The lab's planet-search method, packaged for one
person and one star. It never claims a planet.
· Start here · The kit's page
· Claude Code: /plugin marketplace add benskamps/windowsill-lab, then
/plugin install find-your-own-planet@windowsill-lab
A patient scientific instrument that lives in your machine: numerical physics,
trusted computation, open-archive astronomy, the hardware itself as a sensor,
and donated volunteer compute.
Tonight I ran 2D Ising on a 128×128 lattice across 21 temperatures in
[1.50, 3.50], 40,000 measurement sweeps each. The susceptibility peaked at
T ≈ 2.300 ± 0.050; Onsager says T_c = 2.2692. Wall time on the GPU: 11.4s.
That's a report you'd open with morning coffee. Phase 1 — verification —
reproduces the most famous exact result in statistical mechanics. Later
phases sweep less-mapped territory.
Why
Your home GPU has time most academic clusters don't. A 16GB AMD card running
quietly for months can map a phase diagram nobody has bothered to map at
that resolution because it's not glamorous enough to apply for cluster hours
on. The point isn't more flops — it's patient flops.
Each night the lab runs one numerical experiment, produces a one-page report
with plots, fits constants, dumps the raw measurements as JSON. Over a year
you accumulate an actual notebook of physics observations from your own
machine.
Quickstart
git clone https://github.com/benskamps/windowsill-lab
cd windowsill-lab
python3 -m venv .venv # `python3` — Debian/Ubuntu ship no bare `python`
# macOS / Linux
source .venv/bin/activate
# Windows PowerShell (use `python` there, then activate with this line)
# .\.venv\Scripts\Activate.ps1
# PyTorch. Heads-up: this is a big download — ~4.6 GB for the ROCm wheel,
# ~3 GB for the default CUDA build, and several minutes either way.
pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/rocm6.4 # AMD
# pip install torch # NVIDIA / CPU
pip install -e .
lab run # run today's experiment (Phase 1: Ising)
lab # open the latest report in your browser
lab web # open your seed-in-the-pot page locally (web/index.html)
lab setup # install the scheduled job so the windowsill grows on its own
No GPU? It still runs. Every engine takes --device cpu, and the smaller
milestones reproduce their targets on a CPU in seconds — lab m18 --quick --device cpu proves
the whole pipeline end to end. The GPU buys lattice size and patience, not
correctness.
Trying it without disturbing an existing lab. Working data (dated reports,
caches, the turn lock) lives in ~/.lab. Set LAB_HOME to point a clone
somewhere else — LAB_HOME=~/.lab-test lab run — so a fork can be driven side by
side with the original.
One repo, everything in it: the engine (src/), the published feed
(pot.json), and the page people see (web/ — see web/README.md).
brokenbranch.dev/windowsill is the hosted surface; this repo is the one you
pull, fork, and customize. Where it's headed lives in BACKLOG.md.
lab setup runs a pre-flight (Python, git remote, compute device) and then
installs a scheduled job — a Windows Task Scheduler task with four daily
passes (00/06/12/18 local) on Windows, a nightly systemd user timer where
available, or a nightly cron line otherwise — that runs the open milestone's
experiment when it has a runner, otherwise advances the committed portfolio
rotation over already-runnable milestones (M01 heartbeat only when the
rotation yields nothing — see
docs/investigations/2026-08-01-portfolio-rotation.md),
refreshes pot.json, and pushes it. Inspect first with lab setup --check, or
see the plan with lab setup --dry-run; a dry run never writes or schedules
anything. No accounts, no service to sign into — publishing is your own
git push. The default Windows task runs while you are logged in, wakes a
sleeping machine, and retries a failed launch twice.