Andrej Karpathy Says Claude Opus 5.5 Spent 7 Hours and 45,000 Lines of Code Turning US Public Data Into a Civilization Style Map
I asked Claude to populate a Civilization-style game map with real data from the US. Opus 5.5 downloaded and parse a ton of public data and 7 hours and 45K lines of code later... it works :) - 31 real data sources including Census, BEA, BLS, EIA, NOAA, USGS, DoD, NPS, FAA, FEMA, CDC... - Real elevation, land cover, GDP, jobs, power plants, mines, ports, airports, bases, parks, universities, freight flows, disasters; all reconciled onto one 25 km hex grid. - The data is converted into Civilization language, e.g. Gold yield is GDP. A city's districts are its real industry specializations: San Jose gets a Campus, Detroit is "Motor city". Its citizens are its real workforce: 1 in 4 San Jose workers are engineers, coders or scientists, against 1 in 14 nationally. Wonders are chosen by published rules, such as national parks by visitor numbers and universities by R&D spending, etc etc. - 19 lenses (income, degrees, faith, disasters…), a City View for 524 metros, and nine advisors plus an Explorer. The Explorer turns any column for any of 3,100+ counties into a table and scatter plot, linked to the map. - Claude decided to skip a few states and territories sry - Built using Claude Code desktop app, Opus 5.5 on medium and turning on ultracode. It's deployed here: t.co/QMhmafXMj5 and the "?" has the source link too. I don't exactly know where I was going with this but it's really fun to browse and play with. Possibly it can be expanded or built into a game. I only have half of my weekly Claude quote left though so someone else will have to take over :D. Claude also made a trailer:
Context
It is a widely watched example of a coding agent working for hours on a loosely defined idea and shipping a working, data heavy web app with little human steering.
Andrej Karpathy is a founding member of OpenAI and a former head of AI at Tesla who often shares hands on experiments with AI coding tools. Claude Opus 5.5 is one of Anthropic's top models, and Claude Code is Anthropic's agentic coding tool, which also comes as a desktop app.
Deep dive
Karpathy says he asked Claude to fill a Civilization style game map with real data about the United States. By his account, Claude Opus 5.5 downloaded and parsed a large amount of public data, and after about 7 hours and 45,000 lines of code the project worked.
He lists 31 data sources, including the Census, the Bureau of Economic Analysis, the Bureau of Labor Statistics, NOAA, USGS, FEMA and the CDC. Elevation, land cover, GDP, jobs, power plants, ports, airports, parks, universities, freight flows and disasters are all reconciled onto a single hex grid with cells of 25 km.
The data is translated into game terms. Gold yield stands for GDP, a city's districts reflect its real industry specializations, and its citizens mirror its workforce; Karpathy notes that 1 in 4 San Jose workers are engineers, coders or scientists, against 1 in 14 nationally. The app has 19 map lenses, a City View for 524 metro areas, nine advisors and an Explorer that turns any data column for more than 3,100 counties into a table and scatter plot.
He says the build used the Claude Code desktop app with Opus 5.5 on a medium setting and a mode called ultracode, that Claude chose to skip a few states and territories, and that Claude also made a trailer. He adds that he has only half of his weekly Claude quota left, and invites others to take the project further. The post passed 1.3 million views by the time this deck was updated.
What to expect next
Watch whether others fork the published source and turn the map into a playable game, as Karpathy suggests. The bigger signal is how long agents can now work unattended on open ended projects, and how quickly usage quotas become the limit, a pressure point that labs have been adjusting all week. Expect more long running agent showcases like this from well known developers as the holiday weekend gives them time to experiment.
