Robotics Hands-On: Tic-Tac-Toe
Run d1-3B, GR00T 1.7, Isaac Lab, and Newton on Jetson AGX Thor, then play from your laptop browser.
All runtime components in this activity run on Jetson AGX Thor. A fine-tuned d1-3B model selects the robot’s next legal board position. GR00T 1.7 predicts the actions used to pick up the correct X or O cube and place it on that square. Isaac Lab, Newton, and Viser simulate and display the robot. Your laptop runs only the browser interface.
Prerequisites
Connect your laptop to the workshop Tailscale tailnet. The assigned Thor is prepared with the application, model files, container images, Isaac Lab, Newton, and Viser.
If you used the same Jetson in Chapter 3, exit Hermes and stop its Nemotron container using that chapter’s Before Moving On steps before the d1 service is started.
Prepared files on Jetson Thor
| Item | Prepared location |
|---|---|
| Tic-Tac-Toe application | ~/workshop/repo/groot-tic-tac-toe |
| Fine-tuned d1-3B board-decision model | ~/workshop/models |
| GR00T 1.7 robot-action model | ~/workshop/models |
| Simulation container image | ttt-sim:latest |
The workshop team prepares and tests these files before the session. Participants do not clone the repository, download model weights, or build the simulation image.
How the System Is Split
| Component | Runs on | Role |
|---|---|---|
| Browser interface | Laptop | Accepts your move and displays the simulation, model inputs, scores, and action history |
| Isaac Lab, Newton, and Viser | Jetson AGX Thor | Simulate the board and Franka arm, render camera views, and stream the scene |
| Fine-tuned d1-3B | Jetson AGX Thor | Selects one legal board position for the robot’s next move |
| GR00T 1.7 | Jetson AGX Thor | Predicts the action chunk for picking and placing the correct X or O cube |
| Isaac Lab controller | Jetson AGX Thor | Validates the requested move and applies the predicted robot actions in simulation |
Two Models, One Move
Step 1: Connect and Select the Workshop Folder
Open a new terminal in the VS Code window connected to your Jetson Thor, then run:
cd /home/jetson/workshop/repo/groot-tic-tac-toe
export MODELS_DIR=/home/jetson/workshop/models
Step 2: Ensure Both Model Services Are Running
docker compose -p models -f models/compose.yml up -d \
--no-build --pull never --no-recreate
docker compose -p models -f models/compose.yml ps
Both d1 and groot should show healthy. These options reuse the prepared images and existing containers. Keep MODELS_DIR exported for later Compose commands.
Step 3: Start the Simulator on Thor
The ttt-sim:latest image is already available. No build or download is needed. It contains the prepared Isaac Lab scene, Newton simulation runtime, Viser browser interface, and Tic-Tac-Toe controller. The container connects to the d1 and GR00T services running on Thor.
mkdir -p runs/sim
docker run -d \
--name ttt-sim \
--pull=never \
--runtime=nvidia \
--gpus all \
--network host \
-v "$PWD:/workspace:ro" \
-v "$PWD/runs/sim:/app/runs" \
ttt-sim:latest \
--groot-url http://127.0.0.1:8771 \
--strategy-url http://127.0.0.1:5600
The simulator uses 127.0.0.1 because it shares Thor’s network. Simulation logs are saved under runs/sim.
Follow startup:
docker logs -f ttt-sim
GR00T ready at http://127.0.0.1:8771
D1 strategy ready at http://127.0.0.1:5600
Run logs: /app/runs/20261203-052641-995253 Press Ctrl+C to stop following the logs. The simulator continues running.
Step 4: Open the App on Your Laptop
Open Chrome on your laptop and go to:
http://TAILSCALE_IP:8100
Replace TAILSCALE_IP with the assigned Thor Tailscale address from Chapter 1. Confirm that the page shows Table connected, the Franka arm, the board, and Your move.
Step 5: Challenge the Robot

You play X. The models choose O’s move and drive the simulated arm to place the cube.
Choose an empty square. After your move:
- d1-3B chooses where to play. It receives the board state and legal positions, then selects O’s board position.
- GR00T 1.7 decides how to move. It receives the target position, camera view, and robot state, then predicts the pick-and-place action.
- Isaac Lab executes the move. The application validates both outputs before the simulated arm moves the cube.
Open Inside the move on the right to compare the model inputs, selected board position, predicted action, and final placement.
Continue until the game ends. Start another round with a different opening move and see whether d1-3B chooses a different response.
Before You Finish
Stop the simulator and model services on Thor:
docker stop ttt-sim
docker compose -p models -f models/compose.yml stop
Logs, model requests, camera frames, and measured action results remain under runs/.