Andrej Karpathy, an OpenAI co-founder now at Anthropic working on pretraining research, set Claude Code a substantial task: construct an interactive web application that maps real U.S. data onto a Civilization-style game board. The AI agent completed the project in seven hours, generating roughly 45,000 lines of code and successfully merging 31 separate public data sources into a single geographic grid, Karpathy reported Wednesday on X.
Karpathy, who popularized the term "vibe coding," built the application using Claude Code's desktop interface, running Opus 5.5 at medium reasoning effort with ultracode enabled. He noted that the outcome surprised even him: "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."
Seven hours, 45,000 lines
Claude managed the entire workflow independently: sourcing geographic data, reconciling disparate formats, defining the domain model, and assembling the finished application. For engineering teams considering similar handoffs to coding agents, the time spent validating results could easily exceed the time the agent invested in producing them.
Reconciling 31 data sources
The agent pulled information from multiple federal agencies: 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. These datasets covered economic output, employment figures, power plant locations, and natural disaster records, all mapped onto a 25-kilometer hexagonal grid.
The core challenge involved forcing datasets built for different purposes onto a unified map. Metropolitan GDP figures, county-level employment statistics, and individual power plant coordinates each demanded distinct spatial aggregation and assignment techniques. Claude then translated these metrics into Civilization game mechanics: "The data is converted into Civilization language, e.g., Gold yield is GDP."
The application assigned districts and wonders based on workforce composition and cultural institutions. San Jose received a Campus district because one in four workers are engineers, programmers, or scientists—double the national ratio of one in 14—while Detroit earned the "Motor City" designation. National park attendance and university research expenditure determined which locations qualified as in-game wonders.
Users can navigate the finished map through 19 different visualization lenses, drill into 524 metropolitan areas individually, and generate tables and scatter plots from data spanning more than 3,100 counties directly within the application interface.
When agents decide alone
Karpathy's account of the project included a notable caveat: "Claude decided to skip a few states and territories sry." He did not clarify whether these omissions resulted from incomplete source data, geographic processing errors, or deliberate choices the agent made during implementation.
In production data pipelines, such geographic gaps could skew regional analysis, introduce sampling bias, or compromise calculations requiring complete coverage. Tests built against the transformed dataset might never surface missing records unless coverage requirements were specified independently of how the code was written.
Karpathy made the source code accessible through the application's help menu, though his post offered no details about how thoroughly he had independently validated individual data transformations.
The verification gap
With only half of his weekly Claude usage allowance remaining, Karpathy suggested that further development might require someone else to take over. His post contained little information about the actual cost of the seven-hour session or the extent of manual effort it demanded from him.
Earlier this week, Confluent described its own experience migrating a Kafka client from Java to Rust, employing specialized agents and multiple validation rounds to ensure the Rust implementation matched the Java version's behavior.
Verifying Claude's work presents a distinct problem when no reference implementation exists for comparison. If the agent applied a flawed method to aggregate geographic data, its own tests could reinforce the mistake rather than catch it. Seven hours sufficed to produce a functional application, but Karpathy's experiment provides little insight into how much additional time would be needed to independently confirm the work's correctness.