A desktop app that teaches you how modern AI works by letting you play with it.
TypeScript
1
3 commits
updated Oct 5, 2026
A desktop app that teaches you how modern AI works by letting you play with it.
There are 51 small hands-on labs. In each one you move a slider, click a word, or train a tiny model, and you watch what changes. Next to every lab there is a short lesson that explains what you just saw. You can read it in plain everyday words or in the more technical version.

I wanted to create a single place for anyone to learn AI. One that runs on your own computer, keeps track of what you've learned, lets you challenge yourself when you're ready, and makes hard ideas easier to understand through visuals and hands-on play.
The 51 labs are split into six groups. You can go in order or jump to whatever you're curious about.
| Group | What you'll learn |
|---|---|
| Start with the groundwork (1 to 6) | What AI is, the math you need, data and features, classic machine learning, the training loop, and how we know a model works |
| Build the foundations (7 to 14) | Tokens and embeddings, a single neuron, stacking neurons, loss and gradient descent, backpropagation, training dynamics, why GPUs matter, and the main model types |
| Look inside models (15 to 21) | Next-token prediction, attention, the transformer block, the KV cache, attention at scale, scaling laws, and structured decoding |
| Build with a trained model (22 to 27) | Search with embeddings, RAG, tools and function calling, agents, multimodal models, and failure modes and safety |
| Explore the frontier (28 to 35) | Reinforcement learning, post-training, in-context learning and reasoning, diffusion, the AI ecosystem, ethics, and interpretability |
| Train and adapt a model (36 to 51) | A full training run from start to finish: datasets, synthetic data, hyperparameters, training from scratch, fine-tuning, LoRA, model merging, instruction tuning, preference tuning, reasoning models, evaluation, quantization, distillation, serving, and a final "ship it" capstone |
Attention lab. Click a word and see which other words it looks at. This one runs a real small transformer right in the app.

Backpropagation lab, in dark theme. Step through the forward pass and then follow the gradients backward, one calculation at a time.

Train one from scratch. Pick some text, a model size, and a training recipe. The model retrains on every change, so you can watch the loss fall and the samples get better.

Connections map. See how all 51 labs link together. Pick one to see what it builds on and what it leads to.

Plain or Standard. The welcome tour shows the same idea written both ways, so you can pick the one that suits you.

Cmd+K on Mac or Ctrl+K on Windows and Linux to search labs, lessons, glossary terms, and settings.You can run Discover AI in two ways. The web version is the quickest way to try it. The desktop app gives you everything, including the local AI guide.
git clone https://github.com/Fazmin/AILearningGuide.git
cd AILearningGuide
npm install
npm run dev
Then open http://localhost:1420 in your browser.
All the labs and lessons work here. The local AI guide and safe storage for API keys only work in the desktop app.
First install the Tauri prerequisites for your system. Then:
git clone https://github.com/Fazmin/AILearningGuide.git
cd AILearningGuide
npm install
npm run tauri dev
The first run takes a few minutes because Rust has to compile everything. After that it starts much faster.
To make an app you can install and share:
npm run tauri build
You'll find the result in src-tauri/target/release/bundle/.
Open Settings in the desktop app.
Once it's set up, click Ask the guide in any lab. The guide knows which lab you're on and what you're looking at.
src/
components/ the app shell: home, sidebar, settings, lab frame
modules/<lab>/ one folder per lab: the interactive, lessons, and checkpoint
module-sdk/ shared building blocks the labs use (charts, the tiny trainable model)
model-runtime/ runs the small ONNX models in a background worker
store/ saved settings, progress, and snapshots
src-tauri/ the desktop side (Rust): database, keychain, local AI setup
models/ Python scripts that train and export the small teaching models
scripts/ checks, search index builder, and the new lab generator
docs/ how the app is built and how labs and lessons are written
docs/screenshots/ images used in this README
npm run check
cd src-tauri && cargo test
npm run check checks every lab's files and content, the reading level of the Plain lessons, the search index, the license list, the model files, types, and the tests. It needs python3 for the model file check.
npm run new:module -- my-new-lab
npm run check:modules
This creates a new folder in src/modules/ with everything a lab needs. The app finds it on its own, so you don't have to register it anywhere. Read MODULE_AUTHORING.md for how labs work and CONTENT_STYLE_GUIDE.md for how the lessons are written.
You don't need to do this to run the app. The trained models are already included. If you want to rebuild them yourself, see models/README.md and models/MODEL_CARD.md.
ARCHITECTURE.md explains how the pieces fit together.
Ideas, bug reports, and fixes are all welcome, and you don't need to be an AI expert to help. Pointing out a lesson that didn't make sense to you is one of the most useful things you can do.
npm run check, and open a pull request.CONTRIBUTING.md has the details: how to set up, which checks to run, and how lessons and labs are written.
Discover AI is released under the MIT License. You're free to use it, change it, and share it.
The app also uses open source libraries, fonts, models, and datasets that have their own licenses. You can see the full list inside the app under Settings > About.
Thanks to everyone who builds and shares open tools, models, and datasets. This project would not exist without them.
If you use Discover AI in your work, teaching, or writing, you can use this reference:
@software{discover_ai_2026,
title = {Discover AI: A Learning Guide},
author = {{Discover AI contributors}},
year = {2026},
url = {https://github.com/Fazmin/AILearningGuide},
note = {An interactive desktop app for learning how modern AI works}
}
A desktop app that teaches you how modern AI works by letting you play with it.
TypeScript
1
3 commits
updated Oct 5, 2026
A desktop app that teaches you how modern AI works by letting you play with it.
There are 51 small hands-on labs. In each one you move a slider, click a word, or train a tiny model, and you watch what changes. Next to every lab there is a short lesson that explains what you just saw. You can read it in plain everyday words or in the more technical version.

I wanted to create a single place for anyone to learn AI. One that runs on your own computer, keeps track of what you've learned, lets you challenge yourself when you're ready, and makes hard ideas easier to understand through visuals and hands-on play.
The 51 labs are split into six groups. You can go in order or jump to whatever you're curious about.
| Group | What you'll learn |
|---|---|
| Start with the groundwork (1 to 6) | What AI is, the math you need, data and features, classic machine learning, the training loop, and how we know a model works |
| Build the foundations (7 to 14) | Tokens and embeddings, a single neuron, stacking neurons, loss and gradient descent, backpropagation, training dynamics, why GPUs matter, and the main model types |
| Look inside models (15 to 21) | Next-token prediction, attention, the transformer block, the KV cache, attention at scale, scaling laws, and structured decoding |
| Build with a trained model (22 to 27) | Search with embeddings, RAG, tools and function calling, agents, multimodal models, and failure modes and safety |
| Explore the frontier (28 to 35) | Reinforcement learning, post-training, in-context learning and reasoning, diffusion, the AI ecosystem, ethics, and interpretability |
| Train and adapt a model (36 to 51) | A full training run from start to finish: datasets, synthetic data, hyperparameters, training from scratch, fine-tuning, LoRA, model merging, instruction tuning, preference tuning, reasoning models, evaluation, quantization, distillation, serving, and a final "ship it" capstone |
Attention lab. Click a word and see which other words it looks at. This one runs a real small transformer right in the app.

Backpropagation lab, in dark theme. Step through the forward pass and then follow the gradients backward, one calculation at a time.

Train one from scratch. Pick some text, a model size, and a training recipe. The model retrains on every change, so you can watch the loss fall and the samples get better.

Connections map. See how all 51 labs link together. Pick one to see what it builds on and what it leads to.

Plain or Standard. The welcome tour shows the same idea written both ways, so you can pick the one that suits you.

Cmd+K on Mac or Ctrl+K on Windows and Linux to search labs, lessons, glossary terms, and settings.You can run Discover AI in two ways. The web version is the quickest way to try it. The desktop app gives you everything, including the local AI guide.
git clone https://github.com/Fazmin/AILearningGuide.git
cd AILearningGuide
npm install
npm run dev
Then open http://localhost:1420 in your browser.
All the labs and lessons work here. The local AI guide and safe storage for API keys only work in the desktop app.
First install the Tauri prerequisites for your system. Then:
git clone https://github.com/Fazmin/AILearningGuide.git
cd AILearningGuide
npm install
npm run tauri dev
The first run takes a few minutes because Rust has to compile everything. After that it starts much faster.
To make an app you can install and share:
npm run tauri build
You'll find the result in src-tauri/target/release/bundle/.
Open Settings in the desktop app.
Once it's set up, click Ask the guide in any lab. The guide knows which lab you're on and what you're looking at.
src/
components/ the app shell: home, sidebar, settings, lab frame
modules/<lab>/ one folder per lab: the interactive, lessons, and checkpoint
module-sdk/ shared building blocks the labs use (charts, the tiny trainable model)
model-runtime/ runs the small ONNX models in a background worker
store/ saved settings, progress, and snapshots
src-tauri/ the desktop side (Rust): database, keychain, local AI setup
models/ Python scripts that train and export the small teaching models
scripts/ checks, search index builder, and the new lab generator
docs/ how the app is built and how labs and lessons are written
docs/screenshots/ images used in this README
npm run check
cd src-tauri && cargo test
npm run check checks every lab's files and content, the reading level of the Plain lessons, the search index, the license list, the model files, types, and the tests. It needs python3 for the model file check.
npm run new:module -- my-new-lab
npm run check:modules
This creates a new folder in src/modules/ with everything a lab needs. The app finds it on its own, so you don't have to register it anywhere. Read MODULE_AUTHORING.md for how labs work and CONTENT_STYLE_GUIDE.md for how the lessons are written.
You don't need to do this to run the app. The trained models are already included. If you want to rebuild them yourself, see models/README.md and models/MODEL_CARD.md.
ARCHITECTURE.md explains how the pieces fit together.
Ideas, bug reports, and fixes are all welcome, and you don't need to be an AI expert to help. Pointing out a lesson that didn't make sense to you is one of the most useful things you can do.
npm run check, and open a pull request.CONTRIBUTING.md has the details: how to set up, which checks to run, and how lessons and labs are written.
Discover AI is released under the MIT License. You're free to use it, change it, and share it.
The app also uses open source libraries, fonts, models, and datasets that have their own licenses. You can see the full list inside the app under Settings > About.
Thanks to everyone who builds and shares open tools, models, and datasets. This project would not exist without them.
If you use Discover AI in your work, teaching, or writing, you can use this reference:
@software{discover_ai_2026,
title = {Discover AI: A Learning Guide},
author = {{Discover AI contributors}},
year = {2026},
url = {https://github.com/Fazmin/AILearningGuide},
note = {An interactive desktop app for learning how modern AI works}
}