Key Notes
- Karpathy says Claude Opus 5.5 built USACiv in seven hours, combining 31 public data sources into a Civilization-style US map.
- The project translates GDP, employment, geography and infrastructure into game-like yields, districts and resources, with detailed city and county views.
- USACiv is currently a data visualizer with MIT-licensed code, and Karpathy has invited others to extend it or develop it into a game.
Andrej Karpathy has published USACiv, an interactive map that presents the United States in the visual language of Civilization. Built with Anthropic‘s Claude Code, the project turns public statistics into city banners, resource symbols, districts and other familiar strategy-game features.
Karpathy shared the project on November 26, saying Claude Opus 5.5 downloaded and processed the data and produced roughly 45,000 lines of code in seven hours. He used the Claude Code desktop app with medium reasoning effort and ultracode enabled.
A founding member of OpenAI, Karpathy joined Anthropic in May.
I asked Claude to populate a Civilization-style game map with real data from the US.
- Andrej Karpathy (@karpathy) November 26, 2026
Real Statistics Become Cities and Resources
The map places information from 31 public sources onto a shared grid of 25-kilometer hexagons. Its source catalog includes the Census Bureau, Bureau of Economic Analysis, Bureau of Labor Statistics, Energy Information Administration, NOAA and the Department of Defense.
The landscape draws on elevation and land-cover data. Power plants, mines, ports, airports and military installations appear as resources and infrastructure. Major freight flows become trade routes, while national parks and universities can appear as wonders selected using published criteria, including visitor numbers and research spending.
Economic figures are translated into game-like yields. Gold represents GDP. Food, production, science and culture represent employment in different industries. These are labels for real measures, rather than resources generated by a simulated economy.
City districts likewise reflect existing industry specialization. San Jose receives a Campus district because of its concentration of technical work; Detroit carries a Motor City identity. Karpathy said engineers, programmers and scientists account for about one in four San Jose workers, compared with one in 14 nationally. The citizen displays also reflect age, education, commuting patterns and other demographic data.
The project offers 19 map lenses, city views for 524 metropolitan areas and nine thematic advisors. An Explorer links tables and scatter plots to the map, allowing users to examine variables across more than 3,100 counties.
An Open Project With Room to Become a Game
The downloadable source describes USACiv as a visualizer. Its current purpose is to explore the country through a strategy-game interface. Karpathy suggested that someone could expand it into a game, rather than presenting the release as a completed Civilization clone.
The documentation also explains the limits of the analogy. District markers show a metropolitan area’s specialization, not the precise location of its jobs. GDP is measured where economic activity happens, while employment-based yields count workers where they live. Missing or suppressed figures remain marked as unavailable rather than being turned into zeros.
The code is available under an MIT license, and the archive includes the built data and instructions for running or extending the project. Data has its own terms: most federal datasets are public domain, while the religion-data layers require separate attribution. Alaska and Hawaii insets are among the suggested additions.
Karpathy said he had only half his weekly Claude allowance left and invited others to continue the work. The result is a concrete example of AI-assisted development spanning data collection, reconciliation and interface design, alongside other recent Claude tools that package generated software for desktop use. The seven-hour build is his account of this project, not a general measure of how quickly AI can reproduce a commercial strategy game.
Disclaimer: AIstify is an independent media brand owned and operated by NuvexMedia LLC, publishing news, research, and insights on artificial intelligence, emerging technologies, automation, and related industries. NuvexMedia LLC invests in and collaborates with companies across the AI, technology, software, and digital innovation sectors. These relationships do not influence AIstify’s editorial coverage, and the publication maintains full editorial independence to provide accurate, timely, and objective information. © 2026 NuvexMedia LLC. All rights reserved. This content is for informational purposes only and should not be considered legal, tax, investment, financial, or other professional advice.