# Reasoning Models From Scratch: Code Setup

> Source: <https://sebastianraschka.com/blog/2026/reasoning-models-and-agents-from-scratch.html>
> Published: 2026-08-30 08:42:39+00:00

# Reasoning Models From Scratch: Code Setup

A little video that

- explains the relationship between conventional LLMs and reasoning models (and agents),
- philosophizes about “from scratch” approaches,
- and explains how to install the Python and PyTorch requirements with
`uv`

.

The video is here: [Build A Reasoning Model From Scratch #1: Motivation & Code Setup](https://www.youtube.com/watch?v=Kh9mqTzjuEQ).

Source: website version of my [Substack note](https://substack.com/@rasbt/note/c-325854620).

## Read Next

[Two Live Book Club Q&As on September 3 Two free live book club Q&A sessions on September 3 about Build a Reasoning Model From Scratch and related reader questions.](/blog/2026/reasoning-model-book-club-q-and-a.html)

[GLM-5.3-Flash Architecture Notes Architecture note on GLM-5.3-Flash, formerly Ox Alpha, covering its KDA and MLA/DSA hybrid attention, sparse MoE backbone, and four-stream mHC residual pat](/blog/2026/glm-5-3-flash-architecture-notes.html)

[How Claude's Text Watermarking Works Short illustration of how Claude's text watermarking is supposed to work based on Anthropic's released materials.](/blog/2026/claude-text-watermarking.html)
