Skip to content
Day 69: new resources are added every day. See what's new

Course

micrograd

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

Visit micrograd4.8
  • Rating

    4.8 / 5

  • Pricing

    Free

  • Difficulty

    Intermediate

  • Works on

    Web

Built with love by Shushant Lakhyani. Building bestproductivityresources.com

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.

Third-party open-source projects. We are not affiliated with their authors; repositories are provided as-is by their maintainers. Review each project's license, code and security before installing. See our Disclaimer.

Pros: what micrograd does well

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

Cons: where it falls short

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

Who micrograd is for

Anyone who wants to understand neural nets from first principles.

Who can skip it

Teams looking for a production training framework.

Compare micrograd

See how micrograd stacks up, side by side, plus the lists it made.

micrograd alternatives

Not sold on micrograd? These do a similar job, and each card says what it has in common.

ML From Scratch

Focus: machine learning, numpy and from scratch. Shares python and education with micrograd. Rated 4.7 (micrograd: 4.8).

CourseFreeWeb

Spinning Up in Deep RL

Focus: reinforcement learning, openai and course. Shares education and open source with micrograd. Rated 4.7 (micrograd: 4.8).

CourseFreeWeb

Train LLM From Scratch

Focus: llm, training and machine learning. Shares open source and education with micrograd. Rated 4.7 (micrograd: 4.8).

CourseFreeCross-Platform

nanoGPT

Focus: gpt, llm and training. Shares karpathy and open source with micrograd. A framework, not a course. Adds macOS, Windows and Linux. Same 4.8 rating.

FrameworkFreemacOS, Windows

Free alternatives to micrograd

Want to spend nothing? These free picks cover similar ground.

FinAI Research

Focus: finance, economics and research. Shares open source and python with micrograd. An AI tool, not a course. Adds macOS, Windows and Linux. Rated 4.2 (micrograd: 4.8).

AI ToolFreemacOS, Windows

fast.ai

Focus: deep learning, machine learning and course. Shares python with micrograd. Same 4.8 rating.

CourseFreeWeb
Are you the maker of micrograd?Get a free Featured badge for your site, a share image and ready-to-paste posts. No sign-up.

New · updated daily

What people are actually doing with AI

Real use cases shared on Reddit, Hacker News, X, GitHub and blogs, summarised in plain words with a link to every original post.

Browse AI use cases

Free Notion database

1,100+ ways people are making money online

Real online businesses, creators and projects, broken down by how they make money: apps, online stores, AI tools and more. Free on Gumroad.

Get the free database

Free Notion database

399+ ways to make money online

Hundreds of online income methods in one place, so you can compare options and pick one to try. Free on Gumroad.

Get the free list

For research and ideas only. Results vary and nothing here is a promise of income. See our Disclaimer.

Weekly newsletter

Everything new, every Monday.

One short email every Monday with everything shipped that week: new free tools and websites, new guides, new free browser tools and what's new in my free Gumroad libraries, plus how the site is growing. Free, and you can unsubscribe anytime.

Join the newsletter

You sign up on Gumroad, which stores your email to send the newsletter. See our Privacy Policy.