article --summary
The summary
Andrej Karpathy asked Claude Code to turn real U.S. government data into a Civilization-style strategy map. The agent ran for about seven hours, producing roughly 45,000 lines of code and an interactive web app that combines 31 federal and other sources on a hexagonal grid.
The piece walks through how the data was converted into game mechanics, such as treating GDP as gold yield and assigning districts and wonders based on employment and research figures. It also notes that Karpathy acknowledged the agent left out a few states and territories, and the post does not explain why.
The article closes with a caution about verification. Without an independent reference implementation, tests written by the same agent could reinforce mistakes in how the geographic data was aggregated, and the experiment does not show how long checking the work would take.
Editorial note: This is a summary of an article first published by The New Stack. The full piece is on their site.