Claude Opus 5.5 built a Civilization-style map of the US from 31 data sources in 7 hours
Andrej Karpathy asked Claude Opus 5.5 to draw a map of the US in the style of the game Civilization, but using real data. In 7 hours, the agent wrote about 45,000 lines of code and merged 31 government data sources, from the census to the weather service. GDP became "gold," and the real industries of cities became their districts. The takeaway: the agent can take on a data project with dozens of sources in full, but its figures should be spot-checked selectively.
AI-processed from X: @karpathy; edited by Hamidun News
Picture the task: take dozens of scattered government tables (census, salaries, power plants, weather, airports) and turn them into a single game-style map of the US, like in the Civilization strategy game. Normally this takes weeks of work from an analyst and a developer. Andrej Karpathy handed it to Claude Opus 5.5. In 7 hours, the agent wrote about 45,000 lines of code, downloaded and merged data from 31 sources, and delivered a working interactive project. Karpathy admits he does not fully know where it went, but he says the map is "a lot of fun to wander around."
What the agent actually built
There are 31 sources, mostly from US federal agencies. The Census is the population census, BEA is the Bureau of Economic Analysis (it calculates GDP), BLS is the Bureau of Labor Statistics (employment and occupations), EIA covers energy statistics, NOAA covers meteorology and oceans, USGS is the Geological Survey, FAA is civil aviation, FEMA is the Federal Emergency Management Agency, and CDC is the Centers for Disease Control and Prevention. Data from the Department of Defense and the National Park Service was added as well.
The map includes terrain elevation, land cover types, GDP, jobs, power plants, mines, ports, airports, military bases, parks, universities, freight flows, and natural disasters. Everything is brought onto a single grid of hexagons, each 25 kilometers across, like the tiles on a game map.
The most labor-intensive part of projects like this is not drawing the map but reconciling tables with different geography and formats: some data is by state, some by county, and some by point on the ground. The agent took on this routine work entirely.
How data becomes the language of the game
The author singles out the translation of reality into Civilization terms. "Gold" is GDP. City districts are real industry specializations: San Jose gets a Campus, and Detroit is called "Motor City." Citizens are the actual workforce. In San Jose, every fourth worker is an engineer, programmer, or scientist, while across the country the average is one in fourteen.
"Wonders" are chosen by published rules: national parks by visitor count, and universities by research and development spending. The rules are transparent, and they can be checked or replaced with your own.
The interface is also substantial: 19 "lenses" (income, education, religion, natural disasters, and others), a City View mode for 524 metropolitan areas, nine advisors, and an Explorer tool. Explorer takes any data column for any of more than 3,100 counties and turns it into a table and a scatter plot linked to the map. A "?" icon in the project leads to the data sources.
What matters for practitioners
First, this is an example of long autonomous work. Seven hours is no longer a demo of a single feature but a project that requires keeping dozens of sources, data schemas, and an interface in mind at once. According to Karpathy, he used the Claude Code desktop app, Opus 5.5 at "medium" effort, and turned on ultracode mode.
Second, this is a template for product prototypes. The idea of taking open data and presenting it through a familiar metaphor fits market analytics, logistics, city services, or educational games. Karpathy himself acknowledges the project could be expanded or turned into a game.
Limitations
This is the author's account on social media, not a report with metrics: the accuracy of the merged data and the quality of the code were not independently verified. Claude, according to Karpathy, chose to skip several states and territories, so coverage is incomplete. There is also a cost: after the experiment, the author had only half of his weekly Claude limit left, which is why he suggests someone else continue the project. Claude even made a trailer for the project itself.
For teams, the conclusion is simple: large research tasks with many data sources can now be handed to an agent in full. But the results still need selective checking: key figures should be compared against primary sources, and you should look at what exactly the agent missed.
- Nov 26, 2026Anthropic's Agent Skills Repository Makes GitHub's Weekly AI Trending List
- Nov 26, 2026LibreOffice Requires Contributors to Explain Every Line of AI-Generated Code
- Nov 26, 2026FS-XML: How a Browser AI Chat Edits Your Project Code in One Click, With No Token Bills
- Nov 26, 2026A Swarm of AI Agents Hunts for a Proof That P = NP: 600 Volunteers Supply 85% of the Compute
Key Questions Answered
What the agent actually built?
There are 31 sources, mostly from US federal agencies. The Census is the population census, BEA is the Bureau of Economic Analysis (it calculates GDP), BLS is the Bureau of Labor Statistics (employment and occupations), EIA covers energy statistics, NOAA covers meteorology and oceans, USGS is the Geological Survey, FAA is civil aviation, FEMA is the Federal Emergency Management Agency, and CDC is the Centers for Disease Control and Prevention.
How data becomes the language of the game?
The author singles out the translation of reality into Civilization terms. "Gold" is GDP. City districts are real industry specializations: San Jose gets a Campus, and Detroit is called "Motor City." Citizens are the actual workforce. In San Jose, every fourth worker is an engineer, programmer, or scientist, while across the country the average is one in fourteen. "Wonders" are chosen by published rules: national parks by visitor count, and universities by research and development spending.
What matters for practitioners?
First, this is an example of long autonomous work. Seven hours is no longer a demo of a single feature but a project that requires keeping dozens of sources, data schemas, and an interface in mind at once. According to Karpathy, he used the Claude Code desktop app, Opus 5.5 at "medium" effort, and turned on ultracode mode. Second, this is a template for product prototypes.
Free 2-Day Vibecoding & AI Agents Intensive
Day 1: the autonomous Hermes + DeepSeek AI agent — vibecoding and development on par with Claude Code / Codex / Gemini. Led by Jemal Hamidun, Head of AI at Alpina Digital and academic supervisor at MIPT. Right after you register with our bot Nika: the recording + 11 materials from the previous intensive.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
