Mentatcurated
Artificial Intelligence high · first-party

karpathy/jobs

A 342-line weekend project scrapes every US occupation from the government handbook, has a language model grade each 0-10 for AI exposure, and packs the result into one treemap where the highest-paid desk jobs are the reddest.

Andrej Karpathy fed all 342 occupations from the Bureau of Labor Statistics handbook to Gemini Flash, asked it to score each one 0-10 for how exposed it is to AI, and drew the answer as a treemap: every rectangle is an occupation, its size is how many people do it, its colour is the score. The whole thing is a couple hundred lines of scraper, prompt, and chart, and it's open on GitHub for anyone to re-run with a different model or a different rubric.

Jobs paying over $100k average 6.7 out of 10; roofers, janitors and bartenders sit at 1 or 2.

The picture inverts the old automation story. This time exposure rises with pay. Jobs paying over $100k average 6.7 out of 10 — software developers, financial analysts, paralegals, writers, graphic designers all cluster near the top — while roofers, janitors, home-health aides and bartenders sit at 1 or 2. Karpathy's rule of thumb: the more of a job you can do entirely from a computer, the higher it scores. An independent evaluation by CSEP found the directional scores track the formal labor-economics literature on which jobs are exposed, which is striking for a two-hour side project.

Two things worth holding onto. First, exposure is not a job-loss forecast — the score says a task looks automatable, not that anyone gets fired, and Karpathy is emphatic that it 'has no bearing on what actually happens to these occupations.' Second, the buried oddity: a language model is grading how replaceable jobs are by language models, and it may simply be flattering the tasks it recognises as its own. The value here isn't a new number about the future of work; it's that a familiar argument becomes something you can open, poke, and fork.

The live version most people played with is a stranger's copy. Karpathy pulled his own demo within hours of it going viral, calling it 'wildly misinterpreted,' and left the code open so others could colour it in differently. Josh Kale's fork is the direct result — the tool outlived its author's cold feet.

Want to try it?

Clone github.com/karpathy/jobs and swap in your own scoring prompt — the whole pipeline, from the BLS scraper to the treemap, is a couple hundred readable lines.

Open the repo at github.com →

The lenses

Novelty 3
Impact · breadth 2
Impact · depth 2
Actionable 4
Delight 4
Substance 5
Hype 4

The facts

cost & accessFree and open on GitHub; ~1.9k stars, ~375 forks
how it scoresGemini Flash reads each occupation and returns a 0-10 exposure score with a written rationale
what to run it on342 occupations, the full BLS Occupational Outlook Handbook
the catchExposure is a rough LLM estimate of automatable tasks, not a prediction of job loss
Open github.com →

How this connects

Tap a node to open it

How this connects