Skip to content
NEWBudgetBench: memory strategy evaluation under a fixed token budget (arXiv:2609.13149) →
Aditya Karnam
Free course

Learn AI from silicon to software factories

For engineers and curious people who are comfortable with basic programming. Seven chapters take you from the chip to running agents across several machines, built from my own measured work. It is free and needs no signup.

Start chapter 1 →0 of 7 complete · about 210 min in total
The roadmap

Seven layers, built from the bottom up

  1. 7FactoriesSoftware factories: running it all30 min
  2. 6EvalsHow you know it worked30 min
  3. 5AgentsAgents and harnesses35 min
  4. 4RetrievalRetrieval and memory30 min
  5. 3ModelsTraining, LoRA and distillation30 min
  6. 2InferenceMaking a model answer fast30 min
  7. 1SiliconWhat the hardware actually does25 min
  8. Hardware at the bottom, software factories at the top. Schematic, not to scale.
How to use this course

Read in order, play with the pictures

  • Read the chapters in order. Each one builds on the layer below it.
  • Every chapter has visuals you can click and drag. Play with them before reading the caption.
  • Each chapter ends with check-yourself questions. Tap a question to see the answer.
  • The "mark complete" button saves your progress in this browser only. Nothing is sent anywhere.
  • Every chapter links to the original posts and code it comes from.
Chapters

What is inside

1 · 25 min
Silicon

What the hardware actually does

A model is arithmetic plus memory traffic. Start at the chip and learn why decode is slow and prefill is fast.

Open chapter 1
2 · 30 min
Inference

Making a model answer fast

Tokens, the KV cache, quantization and speculative decoding: where the time goes and what each trick buys you.

3 · 30 min
Models

Training, LoRA and distillation

How a small model gets better: fine-tuning with LoRA, mixture-of-experts quirks, and distilling from two teachers.

4 · 30 min
Retrieval

Retrieval and memory

Embeddings, vector search, hybrid retrieval and memory: how a model gets the right context into a small window.

5 · 35 min
Agents

Agents and harnesses

An agent is a loop around a model. Learn the harness: tools, permissions, context, and what makes one auditable.

6 · 30 min
Evals

How you know it worked

Benchmarks, budgets, null results and measurement mistakes. The skill that separates a demo from evidence.

7 · 30 min
Factories

Software factories: running it all

Put the stack to work: routing subagents across machines, a local lab, and an infrastructure layer for agents.

What you need

A laptop and curiosity

Nothing to install to read the course. The experiments behind it ran on Apple Silicon Macs, which is why the examples mention them, but nothing here requires one.

About this course

Where the numbers come from

Every number in this course comes from my own published posts, and each chapter links to the posts it draws on. They are measurements from specific machines and workloads, so treat them as examples of how to measure, not as universal rankings. Where a result was a miss or a null, the course says so.

© 2026 Aditya Karnam