Design like Karpathy is watching
Key Takeaways
This video teaches API design principles and best practices for large language models
Original Description
Update, July 22 2025: The official version of this talk is now live at https://www.youtube.com/watch?v=huQPkrwVWwc
This video delves into the evolving landscape of API design, emphasizing the need to cater to large language models (LLMs) as primary consumers, beyond human developers. It highlights the challenges faced when AI models interact with traditional APIs, drawing insights from Andrej Karpathy's "vibe coding" experience with MenuGen. Learn about practical strategies like embracing `llms.txt` for machine-readable documentation, leveraging established "boring" technologies (like SQL, Python, and React), and practicing good API hygiene.
GitHub repo: https://github.com/zeke/design-like-karpathy-is-watching
00:00 Intro and Replicate overview
01:00 Who is Andrej Karpathy?
02:11 What is MenuGen?
02:49 The pains of vibe coding deployed apps
03:17 Replicate's API challenges
04:31 Embrace llms.txt
06:18 Why LLMs like to curl
07:46 Cog's llms.txt and AI code generation
08:44 LLMs as primary audience
09:18 What is MCP (Model Context Protocol)?
10:15 Replicate's MCP server
11:02 Claude Desktop with Replicate MCP
12:36 Lessons learned for API design
15:56 Conclusion
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
More on: API Design
View skill →Related Reads
Chapters (14)
Intro and Replicate overview
1:00
Who is Andrej Karpathy?
2:11
What is MenuGen?
2:49
The pains of vibe coding deployed apps
3:17
Replicate's API challenges
4:31
Embrace llms.txt
6:18
Why LLMs like to curl
7:46
Cog's llms.txt and AI code generation
8:44
LLMs as primary audience
9:18
What is MCP (Model Context Protocol)?
10:15
Replicate's MCP server
11:02
Claude Desktop with Replicate MCP
12:36
Lessons learned for API design
15:56
Conclusion
🎓
Tutor Explanation
DeepCamp AI