Skip to content

Tutorials

A progressive learning path from first API call to advanced training techniques. All tutorials are marimo notebooks — read here or run them interactively.

Prerequisites

Install the Tinker SDK, cookbook, and marimo:

uv pip install tinker tinker-cookbook marimo

Set your API key (get one from the Tinker Console):

export TINKER_API_KEY="your-api-key-here"

Run tutorials interactively

All tutorials are marimo notebooks in the tinker-cookbook repo. Clone the repo and run any tutorial:

git clone https://github.com/thinking-machines-lab/tinker-cookbook.git
cd tinker-cookbook
uv run marimo edit tutorials/101_hello_tinker.py

Or download a single file and run it directly:

curl -O https://raw.githubusercontent.com/thinking-machines-lab/tinker-cookbook/main/tutorials/101_hello_tinker.py
uv run marimo edit 101_hello_tinker.py

Basics

Start here. Learn the core Tinker SDK operations.

Core Concepts

Deep dives into specific SDK features. Each tutorial is standalone.

Cookbook Abstractions

Learn the higher-level training patterns from tinker-cookbook.

Advanced

Advanced techniques for experienced users.

Deployment

Getting trained models into production.