BusinessMCP

What Did Claude Code Build When Andrej Karpathy Let It Run for Seven Hours?

Andrej Karpathy let Claude Code run for seven hours and got roughly 45,000 lines of code: an interactive map of 31 public US datasets on a 25-kilometre hex grid, with 19 lenses and more than 3,100 counties—and several states missing.

BusinessMCP Newsroom3 min read
A brightly lit data center corridor lined with glass-fronted server racks and blue accent lighting.
Image: Cbrasil0 / Wikimedia Commons (CC BY-SA 4.0)

Key takeaways

  • Karpathy let Claude Code run for seven hours, producing about 45,000 lines of code for a map of 31 public US datasets.
  • The application uses a 25-kilometre hexagonal grid, 19 lenses, 524 metropolitan areas and more than 3,100 counties.
  • Claude covered the 48 contiguous states but skipped several states and territories, and the omitted ones were not named.
  • Karpathy said on Nov. 26, 2026 that he is unsure what to do with the project and left open the possibility of turning it into a game.

About 45,000 lines of code in seven hours is what Andrej Karpathy got out of Claude Code, Anthropic's AI coding agent, after letting it work through one long session. According to The New Stack, the result is an interactive web application that reconciles 31 public US datasets in a Civilization-style format—and the agent still left gaps in the geography.

Karpathy, an AI researcher and former director of AI at Tesla, built the project with the desktop version of Claude Code running Claude Opus 5.5 with medium reasoning effort and ultracode mode enabled (TokenPost). The application draws on the U.S. Census Bureau, Bureau of Economic Analysis, Bureau of Labor Statistics, Energy Information Administration, U.S. Geological Survey and Federal Emergency Management Agency, and the mapped fields cover terrain, land cover, gross domestic product, employment, power plants, mines, ports, airports, military bases, national parks, universities, freight traffic and natural disasters.

The data is translated into game mechanics

Gross domestic product becomes gold production, and industry specialties determine the city districts the agent creates. San Jose received a campus district; Detroit was labelled Motor City.

The reasoning behind the San Jose label was local: one in four of its workers are engineers, programmers or scientists, compared with one in 14 nationwide. Workers are represented on the map by their occupations.

Wisevoter frames the project as an example of an AI coding agent assembling a large, multi-source data application from public federal sources in a single extended session, and notes that such runs may let individuals build data tools that previously required teams of developers. Claude also produced a trailer for the project.

Grid, lenses and 3,100 counties

The application runs on a hexagonal grid with sides of about 25 kilometers and offers 19 visualization lenses, covering categories including income, education, religion and natural disasters. Users can view 524 metropolitan areas, and an explorer tool lets them examine any field across more than 3,100 U.S. counties through tables and scatter plots connected to the map.

FigureValue
Lines of code produced~45,000
Agent runtime7 hours
Public datasets mapped31
Counties in the explorer tool3,100+
Hex grid cell size~25 km
Map filters / lenses19
Metropolitan areas viewable524
San Jose workers in engineering and science roles1 in 4 (1 in 14 nationwide)

Claude skipped several states and territories

The map currently covers the 48 contiguous states. Karpathy said Claude skipped several states and territories, and which ones were omitted has not been specified. That is the gap worth watching: the session ran long enough to produce tens of thousands of lines, yet coverage still failed silently at the edges. Wisevoter notes that users of tools like Claude Code should verify coverage rather than assume a complete result—the same verification habit that matters when agents query the business data you can query for reporting.

Karpathy left the next step open

Karpathy posted about the project on X on Nov. 25, 2026, and spoke about it the following day. He said he was unsure what to do with the project, described browsing and experimenting with it as enjoyable, and left open the possibility of expanding it into a full game. No release timeline has been given.

That mixed result is the useful one for operators: the raw output was large enough to be a working application, and still carried omissions that a human had to notice. Karpathy's own verdict—open-ended, experimental, not yet a product—is a fair description of where agent-built internal tools tend to sit today.

Sources

All news