Ross ROSS = Recommend OSS · open-source software intelligence for agents

karpathy/micrograd

A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API observed · 2026-08-28

github.com/karpathy/micrograd · Jupyter Notebook · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

75/100

  • Activity 95
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 2333
  • days_rel: n/a
  • days_push: 30
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

17273 stars · 2760 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

A tiny scalar-valued autograd engine implementing reverse-mode automatic differentiation over a dynamically built DAG, with a small PyTorch-like neural network library on top. It is intentionally minimal (~150 lines total) and designed primarily for educational purposes to understand backpropagation and neural network training.

Use cases

  • learn how backpropagation works from scratch
  • understand reverse-mode automatic differentiation
  • train a small MLP binary classifier
  • visualize computation graphs and gradients with graphviz
  • teach a deep learning fundamentals course
  • prototype scalar-valued gradient computations

When to choose

  • you want to learn or teach how autograd and backpropagation work internally
  • you need a minimal, readable codebase to study rather than a production tool
  • you're building tiny educational neural nets like binary classifiers on toy datasets
  • you want a dependency-free starting point for understanding frameworks like PyTorch

When to avoid

  • you need performance or GPU acceleration for real training workloads
  • you need tensor operations, batching, or vectorized computation - it only works on scalars
  • you're building production machine learning systems - use PyTorch, JAX, or TensorFlow instead
  • you need a full-featured neural network library with optimizers, layers, and data loaders

Facets

library · maturity stable

machine-learning deep-learning machine-learning deep-learning education tutorials python cross-platform autograd backpropagation neural-networks educational reverse-mode-autodiff pytorch-like-api education

2 sources

Member repositories

RepositoryRoleHealth v2
karpathy/microgradmain75

For agents

markdown · JSON · MCP: product_card(name="karpathy/micrograd")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem