Andrej Karpathy, the OpenAI co-founder who coined the term "vibe coding," handed Claude Code an open-ended task and walked away. Seven hours later, the agent had written roughly 45,000 lines of code and produced an interactive, Civilization-style map of the United States built from 31 public data sources, according to Karpathy's post on X, as reported by The New Stack.

The result, which Karpathy described as "really fun to browse and play with," is equal parts showcase and cautionary tale. It demonstrates how far unattended coding agents have come in reconciling messy real-world data, and how easily an agent's unsupervised decisions, including which parts of the country to include, can slip past a human reviewer. It also lands in the middle of a lively debate about Claude's reliability, which we covered in our report on Anthropic denying that Claude is trained to sabotage work.

A Pretraining Researcher's Side Project

Karpathy, a founding member of OpenAI who joined Anthropic in May to work on pretraining research, built the application using Claude Code's desktop interface with Opus 5.5 at medium reasoning effort and a setting called "ultracode" enabled, according to The New Stack. The goal was to populate a Civilization-style game map with real U.S. data.

Claude handled everything. The agent acquired and reconciled the geographic data, defined the domain model and built the web application on its own. Karpathy's instructions were loose enough that he admitted after the fact, "I don't exactly know where I was going with this," adding that it could "possibly be expanded or built into a game."

For readers tracking AI tooling coverage, the experiment is a clean example of the vibe coding ethos Karpathy himself named: describe an outcome, let the model fill in the details, and see what comes back.

25-Kilometer Hexagons and 31 Data Sets

Claude pulled data from the U.S. Census Bureau, the Bureau of Economic Analysis, the Bureau of Labor Statistics, the Energy Information Administration, the U.S. Geological Survey and the Federal Emergency Management Agency, mapping economic output, employment, power plants and natural disasters onto a 25-kilometer hexagonal grid.

The hard part, The New Stack noted, was getting data sets that were never designed to work together onto the same map. Metropolitan GDP, county-level employment figures and the coordinates of individual power plants each require different methods of spatial aggregation and assignment. Claude then had to decide how the data would translate into game mechanics.

"The data is converted into Civilization language, e.g., Gold yield is GDP," Karpathy wrote.

Some of the agent's translations were unusually apt. San Jose received a Campus district because one in four of its workers are engineers, programmers or scientists, compared with one in 14 nationally. Detroit became "Motor City." National park attendance and university research spending determined which landmarks qualified as in-game wonders.

Users can explore the map through 19 visualization lenses, examine 524 metropolitan areas in detail, and generate tables and scatter plots from data covering more than 3,100 counties directly within the application.

"Claude Decided to Skip a Few States"

Then came the admission that has drawn the most attention. Karpathy's description of the project included a note that "Claude decided to skip a few states and territories sry."

His post does not explain whether the omissions stemmed from gaps in the source data, geographic processing difficulties or decisions Claude made during implementation, The New Stack reported. Karpathy made the source code available through the application's help menu, though the post did not describe how thoroughly he had independently validated individual data transformations.

In a game map, a missing state is a curiosity. In an enterprise data pipeline, The New Stack argued, comparable omissions could distort regional comparisons, introduce sampling bias or break calculations that depend on complete geographic coverage. Tests written against the transformed data set might never detect missing records unless coverage requirements were established independently of the implementation.

The Verification Gap

Karpathy also revealed that only half of his weekly Claude usage allowance remained after the run, and suggested that someone else might need to take over further development. The post offered little insight into the actual cost of the seven-hour session or how much work it required on his part.

The episode echoes what other engineering teams have found when letting agents loose on complex migrations. The New Stack pointed to Confluent, which recently described relying on specialized agents and multiple rounds of review to ensure a Kafka client ported from Java to Rust behaved like the original.

Without an existing implementation to test against, verifying Claude's work presents a different challenge. If the agent used a flawed method to aggregate geographic data, its own tests could reinforce the error rather than expose it. Seven hours was enough to build a working application. How long it would take to independently verify that application is the question Karpathy's experiment leaves open.

Stay Ahead of AI

Get the latest AI news, analysis, and breakthroughs — all in one place. Follow our AI news coverage of the companies, researchers and regulators shaping artificial intelligence. Read more AI news →.