Home / Code / bootgpt

bootgpt
For curious hackers: a tiny language model that fits in a 512-byte boot sector.
What is bootgpt
bootgpt is an open-source (MIT) tiny language model that fits in a 512-byte x86 boot sector and is built with Python. It generates boot logs for fictional hardware. It is a technical experiment with limited practical use.
How to use
- Install the tools:
brew install nasm qemu. - Create a Python environment with numpy:
python3 -m venv .venv && .venv/bin/pip install numpy. - Build the boot image with
./build.sh(generates the corpus, trains and quantizes the int8 model, assembles the MBR). - Run it in QEMU with
./run.shand watch the model dream a Linux boot log. - Optionally dd disk.img to a USB stick and boot any BIOS machine;
- any keypress reboots.
Use cases
- Exploring how a tiny int8 neural network can run in 16-bit real mode from a boot sector Learning boot sector, BIOS interrupt and x86 assembly programming A sizecoding/demoscene showcase that boots straight into a language model Studying integer-only quantized inference that matches Python output char for char
Price from official sources
Free
Check the official site for current pricing · Price not yet checked by our editors
Source: github.com · Info as of Nov 2, 2026
Reviews
No reviews yet.
Alternatives
-
sweet-search
Free
For agents searching codebases: local semantic search that saves 5–33% per agent run
- Added
- Nov 2, 2026
Same category: Code
-
Skep Free For collaborating with coding agents across devices: share live sessions with a join code
- Added
- Nov 2, 2026
Same category: Code
-
Rufous
Free
For coding with small local models: an agent framework built for 2B–12B models
- Added
- Nov 2, 2026
Same category: Code
-
SKI
Freemium
For voice coding: drive multiple coding agents side by side
- Added
- Nov 2, 2026
Same category: Code
Social