ai-agent
System Design Primer
Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.
359,846 stars57,461 forksPythonUpdated 3/20/2026100% free · open source
What it does
The system-design-primer tool helps startup founders learn how to design large-scale systems and prepare for system design interviews using a comprehensive guide and Anki flashcards.
Install / run
git clone https://github.com/donnemartin/system-design-primer.gitWhen to use it
- •When preparing for a system design interview to improve chances of acing it
- •When designing a large-scale system and needing guidance on best practices
- •When looking to learn about system design principles and trade-offs
Quick start
- 1Navigate to the cloned repository using the command `cd system-design-primer`
- 2Open the `README.md` file to access the table of contents and start learning
- 3Use the command `anki` to open the Anki flashcards and start practicing
- 4Review the `tables` directory for examples of system design tables and trade-offs
- 5Explore the `exercises` directory for hands-on practice designing large-scale systems
Ready-to-paste prompt
Open the `README.md` file and click on the 'System Design Primer' link to access the online version of the book
Heads up: Make sure you have Anki installed on your system, as the primer includes Anki flashcards, and you can install it from the official Anki website if you haven't already
Saves to your device
Topics
design
design-patterns
design-system
development
interview
interview-practice
interview-questions
programming
python
system
web
web-application
webapp
How System Design Primer works
Codeflow
Free to inspect
System Design Primer is a small Python project (~750 lines across 27 code files). Setup is light: install the runtime, run one command. Last commit 5 months ago, Other license, no tests found.
Size
Small codebase
~750 lines · 27 code files · 6 min skim
Setup
Light setup
Install the runtime, run one command.
Runs on
Python
No API keys detected
Python 98%Shell 2%
Where to start reading
- 1README.mdStart here — what it does and how to install it
What's in each folder
READMENo tests foundDocumentedNo CIOther licenseUpdated 5 mo ago
Details
Creator
donnemartin
Language
Python
Category
ai-agent
Published
2/26/2017
Are you the creator of this tool? Claim your listing → and earn 85% of every sale.
Related skills
More ai-agent tools founders pair with this one.
ai-agent★ 276,436
Track GitHub Stars with 996.ICU
Get a popular GitHub star counter for your startup, backed by 276k+ GitHub stars, ideal for founders.
ai-agent★ 264,191
Superpowers
An agentic skills framework & software development methodology that works.
ai-agent★ 244,424
Linux: Open Source Kernel
Get the Linux kernel source tree for custom development, ideal for startup founders in need of a flexible OS foundation with 236k+ GitHub stars
ai-agent★ 210,750
Vue
This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
ai-agent★ 204,069
Improve Code with andrej-karpathy-skills
Get better code behavior with andrej-karpathy-skills, 165k+ GitHub stars, for founders using LLMs.
ai-agent★ 189,101
Simplify Zsh with ohmyzsh
Get a customizable terminal experience with ohmyzsh, perfect for startup founders, backed by 188k+ GitHub stars.