MicroGPT in 243 Lines – Demystifying the LLM Black Box
The release of microgpt by Andrej Karpathy is a foundational moment for AI transparency. In exactly 243 lines of pure, dependency-free Python, Karpathy has implemented the complete GPT algorithm from scratch. As a PhD scholar investigating AI and Blockchain, I see this as the ultimate tool for moving beyond the "black box" narrative of Large Language Models (LLMs). The Architecture of Simplicity Unlike modern frameworks that hide complexity behind optimized CUDA kernels, microgpt exposes the raw mathematical machinery. The code implements: The Autograd Engine: A custom Value class that…
MicroGPT in 243 Lines – Demystifying the LLM Black Box launched on February 13, 2026 with 10 votes, #1,046 of 16,627 launches that month and more than 90% of that year's launches.
In plain words
MicroGPT is a 243-line Python implementation of the complete GPT algorithm with no external dependencies. Created by Andrej Karpathy, it exposes the mathematical foundations of large language models through a custom autograd engine, GPT-2 primitives including multi-head attention and normalization layers, and a pure Python Adam optimizer. The tool is designed for researchers, students, and developers who want to understand how language models work without the abstraction layers of modern frameworks.
written from the facts on this page · September 2026
From the sources
In the maker’s words, at launch
The release of microgpt by Andrej Karpathy is a foundational moment for AI transparency. In exactly 243 lines of pure, dependency-free Python, Karpathy has implemented the complete GPT algorithm from scratch. As a PhD scholar investigating AI and Blockchain, I see this as the ultimate tool for moving beyond the…
Does a similar job
all alternatives →- MIMicrogpt is a GPT you can visualize in the browserFeb 2026 · microgpt.boratto.ca · ▲282
very much inspired by karpathy's microgpt of the same name. it's (by default) a 4000 param GPT/LLM/NN that learns to generate names. this is sorta an educational tool in that you can visualize the activations as they pass through the network, and click on things to get an explanation of them.
GPT-4.1 in the API2025 · openai.com · ▲375Announcing GPT-4.1, GPT-4.1 mini, & GPT-4.1 nano in the API

Getting GLM 5.2 running on my slow computerJul 2026 · github.com · ▲937A few days ago I found myself trying out GLM 5.2 and was really positively impressed. The capabilities and security I was getting from this LLM are similar to those I've gotten from models like Claude or GPT, and this really surprised me. But then I thought, "I wonder how it would work on a normal computer like mine," and above all, "I wonder if it would work without going into OOM on a computer like mine." So I started working with the help of agents to test this possibility. I started converting the model to int4, understanding MTP usage, and if possible implementing DSA for long context.…
GPT‑5.4 mini and nanoMar 2026 · openai.com · ▲267Fast and efficient models optimized for coding and subagents
A Karpathy-style LLM wiki your agents maintain (Markdown and Git)Apr 2026 · github.com · ▲260I shipped a wiki layer for AI agents that uses markdown + git as the source of truth, with a bleve (BM25) + SQLite index on top. No vector or graph db yet. It runs locally in ~/.wuphf/wiki/ and you can git clone it out if you want to take your knowledge with you. The shape is the one Karpathy has been circling for a while: an LLM-native knowledge substrate that agents both read from and write into, so context compounds across sessions rather than getting re-pasted every morning. Most implementations of that idea land on Postgres, pgvector, Neo4j, Kafka, and a dashboard. I…
More ai this month
the category →



Paintings by AI models: programs run through a simulation of oil paint.
AI · 21d ago · stillwet.art
PixVerse R2▲381A real-time world model you can explore and change
AI · 30d ago · world.pixverse.video

Source: Show HN post ↗ · launch text quoted in part
Launched alongside, February 2026
the whole month →



Lovon AI Therapy▲801Feel closer and have more fun with your partner every day!
AI · Feb 2026 · lovon.app

Hello my name is Ben Ward for the past 3 years I have been remastering the financial game Wall Street Raider created by Michael Jenkins originally on DOS in 1986. It has been a rough journey but I finally see the light at the end of the tunnel. I just recently redid the website and thought maybe the full story of how this project came to be would interest you all. Thank you for reading.
Work · Feb 2026 · wallstreetraider.com