Andrey Karpaty ran Claude Code for seven hours: the agent wrote 45,000 lines of code, creating a Civilization-style map of the USA, but forgot a few states
OpenAI co-founder and Anthropic researcher Andrey Karpaty conducted an autonomous development experiment, tasking the AI agent Claude Code with creating an interactive Civilization-style web map of the United States based on real-world statistics. In seven hours of work, the model wrote about 45,000 lines of code and merged 31 public datasets onto a single hexagonal grid.
OpenAI co-founder and Anthropic researcher Andrey Karpaty conducted an autonomous development experiment, tasking the AI agent Claude Code with creating an interactive Civilization-style web map of the United States based on real-world statistics. In seven hours of work, the model wrote about 45,000 lines of code and merged 31 public datasets onto a single hexagonal grid.
Karpaty, who joined Anthropic in May to research model pretraining, used the Claude Code desktop interface with the Opus 5.5 model (medium reasoning level and ultracode mode).
"I don't quite understand what I was going for with this project, but it's really fun to flip through and play with. Maybe it could be expanded or turned into a full-fledged game," Karpaty wrote on the social network X.
How Claude combined 31 databases into game mechanics
The AI agent independently collected information from US federal agencies — the Census Bureau, the Bureau of Economic Analysis, the Bureau of Labor Statistics, the Energy Information Administration, the Geological Survey, and the Federal Emergency Management Agency (FEMA). The model superimposed everything — from GDP and employment levels to the coordinates of power plants and natural disasters — on a grid of hexagons 25 kilometers in size.
The challenge was to adapt the disparate data and translate it into the language of game mechanics:
GDP turned into gold mining, San Jose got a science district (Campus) because a quarter of its employees are engineers, programmers or scientists, and Detroit got the status of "Motor City";
National park attendance and university research spending determined which features on the map became gaming wonders;
Users can view the map through 19 visualization modes, explore 524 agglomerations, and build tables and scatter plots for over 3,100 counties directly in the web application.
The problem of missing data and AI code verification
Despite the impressive result, the experiment revealed the risks of autonomous operation of agents. In his post, Karpaty admitted that the AI on its own reduced the geographical scope of the project:
“Claude decided to skip a few states and territories, sorry,” the researcher noted.
He did not specify whether this was due to gaps in the source databases, difficulties with spatial processing, or the model's own solution during implementation. Experts note that in corporate systems, such omissions could distort analytics, and tests written by the agent itself on already transformed data would not detect errors without independent requirements for completeness of coverage.
Karpaty opened the project’s source code through the application’s help menu and assumed that someone else would have to take over further development, as after a seven-hour session he had only half of his weekly Claude usage limit left. At the same time, this case again raised the issue of the cost of code verification: if it took seven hours to generate a working application, then independently verifying 45,000 lines of code and the correctness of mathematical aggregations can take engineers much longer.
Як нейромережі бачать вільну та незалежну Україну? Тест dev.ua
Нейронні мережі для генерації зображень бачать світ по-своєму, їхню логіку зрозуміти часом зовсім неможливо. Але таки хочеться. На честь Дня Незалежності України редакція dev.ua вирішила провести невеликий експеримент.
Ми задали чотирьом різним нейронним мережам п’ять однакових запитів: «прапор України», «День Незалежності України», «український Крим», «перемога України» та «українці». Отриманими результатами ми ділимося з вами нижче.
У TikTok тепер можна генерувати фон за допомогою нейромережі. Ми протестували її та ділимося результатами
У TikTok з’явилася нова функція «Розумний фон». З її допомогою як фон для тіктоків можна підставляти згенеровані нейромережею зображення. Редакція dev.ua протестувала цю технологію і ділиться своїми враженнями.