Setup

No install

Open the lab or the deck in a browser. Each is one page that replays recorded runs, so no key, no Python and no terminal are needed. The bakery is the same model of the loop, drawn as a bakery chain. The podcast transcript is the three-part episode as text.

Terminal path

The session's two primary pages are lab/index.html (the lab) and deck/dist/deck.html (the slides). The terminal lab is the alternative.

Run these in a terminal on <!--ref slide:rocket-->slide 3<!--/ref-->; setup runs during the talk, and lab/index.html can be opened in a browser meanwhile. It needs Python 3.10+ and git. No key needed: rounds replay recorded runs.

git clone https://github.com/brokenairplane/managed-agent-session
cd managed-agent-session
python3 lab/setup_lab.py --no-key

No python3? Use python. Then run the activate line it prints, and cd lab:

python lab.py round 1

A learner who ran round 1 in the talk starts at python lab.py round 2.

Hosted copies

make lab-bundle and make deck-bundle each write one self-contained page (lab/dist/lab.html, deck/dist/deck.html) with its styles, scripts and recorded runs inlined. Either file can be uploaded or published anywhere, with no server. When the facilitator hosts the lab, they rebuild the hosted pages with make publish-bundle after any change to the lab or deck, and republish them. In a hosted viewer the file save may do nothing, so the lab also has a Copy progress button and the decision record a Copy record button; both put the same text on the clipboard.