Skip to content
Day 43 since launch: Best Productivity Resources went live on 25 August 2026. Day 43 is live with yesterday's additions in the latest roundup!

Course

micrograd

A tiny scalar-valued autograd engine with a PyTorch-like API.

Built with love by Shushant Lakhyani. Building bestproductivityresources.com

Screenshot or bookmark this page so you find it later, then share it with your network.

What is micrograd?

micrograd is Andrej Karpathy's tiny autograd engine and neural net library — a few hundred lines that implement backpropagation over scalar values with a PyTorch-like API, built for teaching how neural networks really work.

Pros

  • The clearest way to learn backpropagation
  • Tiny, fully readable codebase
  • Pairs with a famous video lecture

Cons

  • Teaching tool, not for real training
  • Scalar-valued only — intentionally minimal

Who should use micrograd

Anyone who wants to understand neural nets from first principles.

Who may not need it

Teams looking for a production training framework.

Compare micrograd

Side-by-side comparisons and lists that include micrograd.

micrograd alternatives

Similar resources to micrograd, picked from the directory.

nanoGPT

The simplest, fastest repository for training and finetuning medium-sized GPTs.

FrameworkLearningmacOS, WindowsFree

Free alternatives to micrograd

Free resources that cover similar ground.

FinAI Research

Evidence-first AI workflow for economic and financial research: from topic to verifiable LaTeX draft.

AI ToolResearchmacOS, WindowsFree

Featured on Best Productivity Resources

Made micrograd? Add this free badge to your website or README. It links to this page.

Featured on Best Productivity Resources
<a href="https://bestproductivityresources.com/resources/micrograd" target="_blank" rel="noopener"><img src="https://bestproductivityresources.com/badges/featured-light.svg" alt="Featured on Best Productivity Resources" width="250" height="54" /></a>

Weekly newsletter

Join my email newsletter for the newest tools and visual guides.

Discover new tools and websites, plus fresh visual guides delivered every Monday.

Open stats

Live traffic, fully public

This site's analytics are open for everyone to see.