Larwell Technologies

Andrej Karpathy Claude Code Map: 7 Hours, 45,000 Lines

The famous AI researcher let an AI agent code for seven hours straight. Here is what it built, what it got wrong, and what it means for your next app.

Laptop screen showing programming code, representing the Andrej Karpathy Claude Code project

Key takeaways

  • Andrej Karpathy let Claude Code work for about 7 hours and it built a playable, Civilization-style map of the USA.
  • The project has about 45,000 lines of code, uses 31 public data sources and covers over 3,100 counties.
  • The AI skipped several states and territories, which shows AI code still needs human checking.
  • For businesses, AI makes prototypes very fast, but testing, security and maintenance still need experts.

"Andrej Karpathy" is one of the top tech searches on Google Trends in India today. The reason is a fun side project. Karpathy, one of the best-known AI researchers in the world, asked an AI coding agent to build a game-style map of the United States. Then he let it work for about seven hours.

The result was a playable map made of around 45,000 lines of code. In this article we explain the Andrej Karpathy Claude Code project in simple English: what was built, how it was built, what went wrong, and what it means for Indian businesses that want a website or app.

Who is Andrej Karpathy?#

Andrej Karpathy is an AI researcher and teacher. He was one of the founding members of OpenAI. Later he led the AI team at Tesla that worked on Autopilot. He is also famous for his free YouTube lessons that teach people how neural networks work.

In February 2025 he made up the term "vibe coding". It means you describe what you want in plain words, and the AI writes the code for you.

In May 2026 Karpathy joined Anthropic, the company that makes Claude. He works on the pre-training team, which runs the huge training jobs that give Claude its knowledge. He is also starting a new team that uses Claude itself to speed up AI research.

What did Karpathy build with Claude Code?#

Karpathy shared the project on 26 November 2026. It is a browser-based strategy map of the USA, styled like the famous game Civilization. You can open it in a web browser, move around, and explore.

A paper map of the United States, similar to the base of Karpathy's Claude-built strategy map The project turns real US data into a game map. Photo: Hans / Unsplash

Here are the main facts:

  • Time taken: about 7 hours of mostly unattended work by the AI
  • Code written: about 45,000 lines
  • Data used: 31 public data sources
  • Area covered: more than 3,100 counties and 524 metro areas
  • Map grid: hexagon tiles, each side about 25 km long
  • Filters: 19 filters, such as income, education and natural disasters

The data includes terrain, land cover, GDP, jobs, power plants, mines, ports, airports, military bases, national parks, universities, freight traffic and natural disasters.

How the data became a game#

The clever part is how real numbers turn into game language. A county's GDP becomes "gold", just like gold in Civilization. The main industry of a city decides its "district". For example, San Jose gets a campus district and Detroit becomes a car-making centre.

There is also an explorer tool. You can pick any data field and see it as a table or a scatter chart, linked to the map. Claude even made a short trailer video for the project.

Karpathy used the desktop version of Claude Code with the Claude Opus 5.5 model. He said he was not sure where he was going with the idea, but it was very fun to browse and play with. He may turn it into a full game later.

What went wrong?#

The project is impressive, but it is not perfect. And the mistakes are the most useful lesson.

Developer working late at night with code on two monitors Long AI coding runs save time, but someone still has to check the work. Photo: Hex / Pexels

  • Only part of the country is there. The map covers only the 48 connected (contiguous) states.
  • Some states were skipped. Claude left out several states and territories without being told to.
  • Big code is hard to check. 45,000 lines is a lot. Tech writers have asked a fair question: who checks that all that code and data is correct?

This is normal for AI-written code today. The AI can produce a lot of work very fast. But it can also quietly skip things or make small mistakes that look fine on the surface.

Why this matters for businesses in India#

You may not need a Civilization map of America. But this story shows three real changes that will affect your next website, app or software project.

1. Prototypes are now very fast#

A first working version, or prototype, that once took a team weeks can now be made in hours. This is great for testing an idea before you spend big money. For example, a shop owner can see a sample billing screen or booking app very early.

2. Checking the work matters more than ever#

Fast code is not the same as correct code. In Karpathy's case, missing states were easy to spot. In a business app, a missing GST rule, a wrong discount or a weak login page is much harder to see, and much more costly.

Two developers reviewing code together on a laptop Human review is what turns fast AI code into safe, working software. Photo: Olia Danilevich / Pexels

3. Good data is the real fuel#

Karpathy's map works because it uses 31 good, public data sources. Your business app is the same. Clean product lists, correct prices and clear customer records make AI tools far more useful.

Simple checklist before you use AI-built software#

If you or your developer is using AI coding tools, ask these questions:

  • Is everything there? Check every page, feature and rule you asked for, one by one.
  • Has a human tested it? Real people should test payments, logins and forms.
  • Is it secure? Passwords, customer data and payment details need a proper security check.
  • Who will maintain it? Thousands of lines of code need someone who understands them when something breaks.
  • Does it follow Indian rules? GST, DPDP (data privacy) and payment gateway rules must be built in correctly.

Close-up of code on a computer screen AI can write the code fast. Experience decides whether it is ready for your customers. Photo: Chris Ried / Unsplash

The bottom line#

The Andrej Karpathy Claude Code map shows how far AI coding has come. One person, one AI agent and seven hours produced something that would have needed a small team not long ago.

But it also shows the limits. The AI skipped parts of the job, and the size of the code makes checking hard. For a fun side project, that is fine. For your business, it is not.

At Larwell Technologies, we use modern AI tools to build websites, PWAs and mobile apps faster, and our team reviews, tests and secures every line before it reaches your customers. If you have an idea, talk to us and we can show you a working prototype quickly.

Frequently asked questions

What did Andrej Karpathy build with Claude Code?
He built a browser-based strategy map of the United States in the style of the game Civilization. It uses 31 public data sources and covers more than 3,100 counties. Claude Code wrote about 45,000 lines of code in around seven hours.
Why is Andrej Karpathy trending on Google?
He shared his Claude-built US strategy map project on 26 November 2026, and many tech sites wrote about it. People are searching to learn who he is and what he built.
Does Andrej Karpathy work at Anthropic?
Yes. Karpathy joined Anthropic in May 2026. He works on the pre-training team and is starting a team that uses Claude to speed up AI research.
What is vibe coding?
Vibe coding is a term Karpathy made up in February 2025. It means describing what you want in plain words and letting an AI write the code, instead of typing every line yourself.
Can a business app be built fully by AI?
AI can build a quick prototype, but a real business app still needs human testing, security checks and ongoing maintenance. Karpathy's project skipped several states, which shows AI can miss things without warning.
Admin
Larwell Technologies · Bokaro Steel City

We build and run our own business software — POS, ERP, forms and chatbots — and write about what we learn shipping them to businesses across India.

Let's build the thing you keep putting off.

POS, ERP, a website, a custom internal tool — tell us the problem and we will tell you honestly whether software is the answer.

Start a conversation