AI Agents Nvidia Announces Nemotron 4 Open Models With Claimed 5x Throughput and a First Decision Model Business OpenAI on Pace to Burn $45 Billion in Cash This Year as Revenue Jumps to $35 Billion News Waymo Taps AMD x86 Chips to Power Robotaxi Compute as Chipmaker Rivals Nvidia Meta Meta Puts Its Muse Charm AI Gadget on Sale at $299 With 12 Months of Verizon 5G Included News Google DeepMind Opens CellGemma, a Cell-Response Model Trained on 564 Million Cell States, for Cancer Research Chatbots Amazon Opens 1.1T-Parameter Ergo as an Open-Weight Model and Ships Trainium3SR Decoding at 2,200 Tokens per Second Business Zhejiang Yingji Power Raises 100 Million Yuan C Round to Push 'Physical AI' Into District Heating News Kling AI Brings Dolby Vision Into AI Video Generation for the First Time AI Agents Nvidia Announces Nemotron 4 Open Models With Claimed 5x Throughput and a First Decision Model Business OpenAI on Pace to Burn $45 Billion in Cash This Year as Revenue Jumps to $35 Billion News Waymo Taps AMD x86 Chips to Power Robotaxi Compute as Chipmaker Rivals Nvidia Meta Meta Puts Its Muse Charm AI Gadget on Sale at $299 With 12 Months of Verizon 5G Included News Google DeepMind Opens CellGemma, a Cell-Response Model Trained on 564 Million Cell States, for Cancer Research Chatbots Amazon Opens 1.1T-Parameter Ergo as an Open-Weight Model and Ships Trainium3SR Decoding at 2,200 Tokens per Second Business Zhejiang Yingji Power Raises 100 Million Yuan C Round to Push 'Physical AI' Into District Heating News Kling AI Brings Dolby Vision Into AI Video Generation for the First Time

Karpathy Lets Claude Code Run for Seven Hours and 45,000 Lines: the Result Is a Civilization-Style Map of America Built on 31 Government Data Sets

Karpathy Lets Claude Code Run for Seven Hours and 45,000 Lines: the Result Is a Civilization-Style Map of America Built on 31 Government Data Sets

Former Tesla AI chief Andrej Karpathy asked Claude Code to fill a Civilization-style game map with real American data. Running Opus 5.5 in ultracode mode for about seven hours, the agent produced around 45,000 lines of zero-dependency code, put 31 government data sources on a 25 km hex grid, added 19 data lenses and an explorer covering more than 3,100 counties, rendered its own trailer and composed the soundtrack.

Andrej Karpathy, the former OpenAI founding member and Tesla AI lead who coined "vibe coding", published his latest agentic project on November 26: usaciv, a Civilization-style interactive map of the United States in which every number is real. His entire contribution was the idea — he let Claude Code, running Opus 5.5 at medium reasoning with ultracode mode enabled, work for roughly seven hours. The result is about 45,000 lines of code, and the site is live at karpathy.ai/usaciv under an MIT license.

The map covers the 48 contiguous states and Washington DC on a 25-kilometer hexagonal grid, with terrain drawn from NOAA and USGS data. Civilization's game vocabulary is translated into government statistics: gold is real GDP (Bureau of Economic Analysis 2024 data, totaling $29.3 trillion nationally), food is farm and forestry employment, production is manufacturing, construction and mining jobs, science and culture are mapped to their respective industries, and livability becomes the CDC's health index. New York's metro flag reads $2.44 trillion in GDP and 20.11 million people, both national firsts.

The underlying work is a data-engineering project. The agent ingested 31 public sources — Census, BEA, BLS, EIA, NOAA, USGS, plus agencies from Defense to FEMA — reconciling different file formats, statistical definitions and geographic granularities. It built a Python pipeline using only the standard library, with download caching, source provenance and incremental builds; a first full build pulls about 500 MB of raw data. Of 176 unit tests in the repository, all pass.

Claude also applied real economic geography. Cities gain specializations through the location quotient, the classic measure of industrial concentration: Detroit becomes a Motor City, San Jose gets a College district because roughly one in four of its workers is an engineer, programmer or scientist, versus one in fourteen nationally. The map marks 52 wonders picked by rule — national parks by visitor count (Great Smoky Mountains leads at 11.53 million), research universities by R&D spend (Johns Hopkins at about $4.53 billion) — and draws the top 40 interstate trade corridors from federal freight data, led by the New York-Boston route moving $61.9 billion a year.

Beyond the map, there are 19 data lenses in seven groups covering income, education, broadband and disasters, detail pages for 524 metropolitan areas, and an explorer that turns any data column for 3,100-plus counties into tables and scatter plots. Claude even produced a 30-second trailer, rendered frame by frame in the browser, with an original soundtrack synthesized through the Web Audio API. The front end is vanilla JavaScript and Canvas 2D with zero external dependencies. Claude did skip Alaska, Hawaii and the territories; Karpathy relayed its apology — "sry".

This is the third software project Karpathy has published in 24 days, each born from an everyday annoyance. HackerTube took about two hours and filtered 43 million Hacker News comments down to 6,454 recommended videos; TristanTube turned a blogger's YouTube tier list into a 47,339-video site in three minutes. His own description of the workflow: "I no longer do any traditional software engineering... I just talk to Claude and have it do all the work." He noted his weekly Claude quota is half spent and invited others to extend usaciv into an actual game. Elon Musk left a one-line review in the replies: "Very impressive."

The demonstration matters less as a game than as a data point on long-horizon agentic coding. Give a competent agent a goal, a budget and a tool harness, and multi-day-feeling data work — sourcing, alignment, verification, even marketing assets — compresses into a working session. Karpathy's own caveat is worth keeping: the figures were not audited line by line, so anyone citing a number from the map should go back to the original source.

Comments (0)

Log in to join the discussion

Log In

No comments yet