Courses, cookbooks and guides with runnable code, for learning to build with AI.
ai-engineering-from-scratch leads with 92, ahead of ai-agent-book (88) and cs249r_book (86).171 projects ranked by score. Updated from public GitHub data.
The ranking
Learning and cookbooks: full ranking
Rank
Project
Adoption
Freshness
Maintenance
Agent-ready
Score
1
ai-engineering-from-scratchFree curriculum of 542 coding lessons on building AI systems from scratch81.1k starsMITlast commit Nov 2026
97
100
94
45
92 out of 100score
2
ai-agent-bookOpen-source book on AI agent design with 109 runnable experiments60.2k starsApache-2.0last commit Nov 2026
95
100
99
0
88 out of 100score
3
cs249r_bookOpen textbook series on ML systems, with TinyTorch, labs and hardware kits30.3k starscustom licenselast commit Nov 2026
89
98
98
0
86 out of 100score
#4
generative-ai-for-beginners21-lesson course on building generative AI apps in Python and TypeScript124.5k starsMITlast commit Nov 2026
agents-towards-productionRunnable tutorials for taking LLM agents from prototype to production22k starscustom licenselast commit Nov 2026
84
100
73
45
82 out of 100score
#7
ai-agents-for-beginners18-lesson course on building AI agents with Microsoft Agent Framework81.2k starsMITlast commit Nov 2026
97
100
58
30
80 out of 100score
#8
awesome-llm-appsCollection of 100+ runnable LLM agent, RAG and voice app examples in Python146.1k stars+2,939 (+2.1%) in 30 daysApache-2.0last commit Nov 2026
100
100
63
0
79 out of 100score
#9
machine-learning-for-tradingCode for the book on ML trading strategies, with nine case studies22.1k starsMITlast commit Nov 2026
google-gemini/cookbookJupyter notebook tutorials for the Gemini API, from quickstarts to examples18.1k starsApache-2.0last commit Nov 2026
82
100
61
0
73 out of 100score
#22
mcp-for-beginnersMicrosoft's multi-language course on building Model Context Protocol servers17.8k starsMITlast commit Nov 2026
81
100
52
30
73 out of 100score
#23
ai-coding-guide-zhChinese tutorials for Claude Code, Codex, WorkBuddy and OpenClaw6.6k starsMITlast commit Nov 2026
61
100
83
0
73 out of 100score
#24
agentguideChinese-language study guide and interview prep for AI agent engineering roles12.4k starsCC-BY-4.0last commit Nov 2026
75
100
64
0
72 out of 100score
#25
hello-agentsChinese-language course on building AI-native agents from scratch, with code88.2k starscustom licenselast commit Nov 2026
98
100
39
0
71 out of 100score
#26
learn-claude-code17-chapter Python course on building a Claude Code-style agent harness81.1k stars+1,718 (+2.2%) in 30 daysMITlast commit Nov 2026
97
100
39
0
71 out of 100score
#27
all-agentic-architecturesPython library of 35 agentic patterns with executed notebooks and benchmarks4.8k stars+140 (+3.0%) in 30 daysMITlast commit Nov 2026
54
100
83
0
71 out of 100score
#28
transformers-tutorialsColab notebooks for running and fine-tuning Hugging Face Transformers models11.8k starsMITlast commit Sep 2026
74
100
49
30
70 out of 100score
#29
ailearning-theory-applyingChinese course notes and notebooks on ML math, deep learning, Transformer and BERT3.6k starsMITlast commit Oct 2026
43
100
92
0
70 out of 100score
#30
self-llmChinese-language tutorials for deploying and fine-tuning open LLMs on Linux32.9k starsApache-2.0last commit Nov 2026
googlecloudplatform/generative-aiNotebooks and sample apps for Gemini, Imagen, Veo and search on Google Cloud18k starsApache-2.0last commit Nov 2026
82
100
43
0
68 out of 100score
#33
ai-engineering-from-scratch-zhSimplified Chinese course on building AI systems from scratch, 542 lessons1.4k stars+77 (+5.9%) in 30 daysMITlast commit Nov 2026
11
100
100
45
68 out of 100score
#34
amazon-sagemaker-examplesOfficial notebooks for training, tuning, deploying and operating models on SageMaker11k starsApache-2.0last commit Oct 2026
73
100
34
45
67 out of 100score
#35
prompt_engineering22 Jupyter notebooks teaching prompt engineering with OpenAI and LangChain7.9k starscustom licenselast commit Oct 2026
learnpromptChinese-language AI tutorial site with companion agent skills and workflows2.8k starscustom licenselast commit Oct 2026
34
100
49
15
56 out of 100score
#60
awesome-openclaw-tutorialChinese-language tutorial book for installing and using the OpenClaw AI assistant4.6k starscustom licenselast commit Oct 2026
52
100
32
0
55 out of 100score
#61
genieincodebottle/generative-aiNotebook-based GenAI tutorials and example apps on RAG, agents and prompting2.7k starsMITlast commit Nov 2026
33
100
50
0
55 out of 100score
#62
smol-courseHands-on course on fine-tuning and aligning small language models6.8k starsApache-2.0last commit Oct 2026
63
100
17
0
54 out of 100score
#63
agentcore-samplesSample code and tutorials for deploying agents on Amazon Bedrock AgentCore3.6k stars+72 (+2.1%) in 30 daysApache-2.0last commit Nov 2026
microgradScalar-valued autograd engine and tiny neural net library in about 150 lines of Python19.2k starsMITlast commit Aug 2026
83
90
0
0
52 out of 100score
#66
all-in-ragChinese-language RAG tutorial with code, from chunking to Graph RAG13.4k starsno licenselast commit Nov 2026
77
100
30
0
52 out of 100score
#67
tensorflow/examplesOfficial TensorFlow example notebooks, community samples and course material8.3k starsApache-2.0last commit Nov 2026
67
70
35
0
52 out of 100score
#68
deep-rl-classHugging Face's free course on deep reinforcement learning, with notebooks5.1k starsApache-2.0last commit Oct 2026
56
100
17
0
52 out of 100score
#69
claude-code-bookChinese-language book analyzing Claude Code's agent runtime architecture4.4k stars+65 (+1.5%) in 30 daysno licenselast commit Nov 2026
49
100
57
0
52 out of 100score
#70
pinecone-io/examplesJupyter notebooks and sample apps for building with Pinecone vector databases3k starsMITlast commit Oct 2026
38
100
20
45
52 out of 100score
#71
tutorialsJupyter tutorials for medical imaging with MONAI and PyTorch2.6k starsApache-2.0last commit Nov 2026
33
100
40
0
52 out of 100score
#72
zero-to-sglangCourse on LLM inference: build a mini-sglang, then read SGLang source2.4k starsno licenselast commit Nov 2026
30
100
77
0
52 out of 100score
#73
machine-learning-zoomcampFree ML engineering course from regression to Kubernetes deployment15k stars+177 (+1.2%) in 30 daysno licenselast commit Nov 2026
79
76
48
0
51 out of 100score
#74
microduck-build-tutorialBuild guide and code for a Raspberry Pi biped robot walking with an ONNX policy1.9k stars+327 (+21%) in 30 daysMITlast commit Sep 2026
23
100
48
0
51 out of 100score
#75
langchain-courseCourse code for building LangChain and LangGraph agents in Python1.8k starsApache-2.0last commit Nov 2026
20
100
51
0
51 out of 100score
#76
wfgyPrompt-protocol collection and RAG/agent failure troubleshooting maps for LLM workflows1.8k starscustom licenselast commit Nov 2026
20
98
–
0
51 out of 100score
#77
fastbookJupyter notebooks for the fastai and PyTorch deep learning book and course25.5k starscustom licenselast commit Oct 2026
87
70
11
0
50 out of 100score
#78
arc-task-genGenerator of fresh ARC-AGI-1-style tasks for private model evaluation10.8k starsMITlast commit Aug 2026
73
93
0
0
50 out of 100score
#79
docsSource notebooks and Markdown for the tensorflow.org guide and tutorials6.3k starsApache-2.0last commit Nov 2026
60
70
36
0
50 out of 100score
#80
courseSource content for the Hugging Face course on Transformers and NLP4.4k starsApache-2.0last commit Oct 2026
50
100
16
0
50 out of 100score
#81
deepagents-in-actionChinese-language course on building agents with LangChain Deep Agents3k stars+191 (+6.8%) in 30 daysno licenselast commit Nov 2026
37
100
62
0
50 out of 100score
#82
ai-infra-engineer-learningTen-module course and three projects for AI infrastructure engineering1.9k starsMITlast commit Nov 2026
brag-langchainJupyter notebooks teaching RAG with LangChain, from basics to reranking4.2k starscustom licenselast commit Oct 2026
48
100
16
0
49 out of 100score
#85
diy-llmChinese-language course on building LLMs, adapted from Stanford CS3363.1k starsno licenselast commit Nov 2026
38
100
58
0
49 out of 100score
#86
papers-in-100-lines-of-codeShort single-file implementations of 69 machine learning papers2.9k starsMITlast commit Oct 2026
36
100
26
0
49 out of 100score
#87
cvChinese-language Jupyter notes on deep learning, CV, NLP, LLMs and agents24.4k starsno licenselast commit Sep 2026
86
100
7
0
48 out of 100score
#88
leedl-tutorialChinese-language deep learning textbook based on Hung-yi Lee's ML course16.9k stars+64 (+0.4%) in 30 dayscustom licenselast commit Oct 2026
80
71
11
0
48 out of 100score
#89
diffusion-models-classFree Hugging Face course on diffusion models with Diffusers notebooks4.4k starsApache-2.0last commit Oct 2026
prompt-engineering-guideWritten guide to prompt engineering techniques, with papers, notebooks and example prompts80.4k stars+914 (+1.1%) in 30 daysMITlast commit Mar 2026
frontier-evalsEval code for paper replication, freelance coding and smart contract security1.3k starsMITlast commit Oct 2026
10
100
7
0
35 out of 100score
#128
base-llmChinese-language course from NLP basics to LLM fine-tuning and deployment1.2k starsno licenselast commit Sep 2026
5
100
45
0
35 out of 100score
#129
reinforcement-learningPyTorch reference implementations of classic and deep RL algorithms, one file each3.7k starsMITlast commit Jun 2026
43
71
0
0
34 out of 100score
#130
drl-zhHands-on deep reinforcement learning course in exercise notebooks2.3k starsMITlast commit May 2026
28
75
0
30
34 out of 100score
#131
e2b-cookbookRunnable examples for running LLM-generated code in E2B sandboxes1.4k starsno licenselast commit Nov 2026
12
100
33
0
34 out of 100score
#132
ai-agents-the-definitive-guideNotebooks accompanying the O'Reilly book on building and deploying AI agents3k stars+226 (+8.0%) in 30 daysno licenselast commit Aug 2026
38
89
17
0
33 out of 100score
#133
llm-trading-labLogs of a live ChatGPT-managed micro-cap stock portfolio, with analysis scripts7.6k stars+65 (+0.9%) in 30 daysno licenselast commit Jun 2026
65
75
0
0
32 out of 100score
#134
practicalai-cnChinese translation of practicalAI machine learning notebooks using PyTorch6.9k starsMITlast commit Apr 2026
63
45
0
0
32 out of 100score
#135
generative_ai_with_langchainCompanion code for the Packt book on LangChain and LangGraph apps1.5k starsMITlast commit Aug 2026
13
94
0
0
32 out of 100score
#136
roboflow/notebooksJupyter notebooks for computer vision models, with Colab and Kaggle links9.8k starsno licenselast commit Aug 2026
71
65
0
0
31 out of 100score
#137
llm-twin-courseCourse and code for building an end-to-end LLM and RAG system4.4k starsMITlast commit Apr 2026
51
52
0
0
31 out of 100score
#138
local-llmHardware build guide and vLLM configs for running large LLMs on 4 GPUs1.9k starsno licenselast commit Jul 2026
22
81
33
0
31 out of 100score
#139
dl-hubPyTorch course with 339 runnable deep learning lessons and a model registry1.1k starsMITlast commit Aug 2026
5
100
0
0
31 out of 100score
#140
deep-learning-for-image-processingChinese video course on vision networks with PyTorch and TensorFlow code26.5k stars+55 (+0.2%) in 30 daysGPL-3.0last commit Jan 2026
88
12
0
0
30 out of 100score
#141
unetKeras U-Net for binary image segmentation on the ISBI membrane dataset4.9k starsMITlast commit Mar 2026
55
43
0
0
29 out of 100score
#142
pi-textbookChinese-language course for building a Pi-style coding agent in TypeScript1.4k starsMITlast commit Jul 2026
13
86
0
0
29 out of 100score
#143
scimlbookMIT lecture notes on parallel computing and scientific machine learning2.1k starsno licenselast commit Nov 2026
second-brain-ai-assistant-courseSix-module course building an agentic RAG assistant over Notion notes3.2k starsMITlast commit Apr 2026
39
47
0
0
26 out of 100score
#147
llama-cookbookOfficial Meta notebooks for running, fine-tuning and building apps with Llama models18.6k starsMITlast commit Nov 2025no commits in a year
83
0
0
0
25 out of 100score
#148
claw0Ten-section Python tutorial for building an agent gateway from scratch3.5k starsno licenselast commit Jun 2026
41
77
0
0
25 out of 100score
#149
llm-agents-ecosystem-handbookHandbook of agent-stack guides, templates and a multi-provider LLM adapter564 starsMITlast commit Jun 2026
1
77
0
15
25 out of 100score
#150
introtodeeplearningJupyter notebook labs for MIT's Introduction to Deep Learning course8.9k starsMITlast commit Jan 2026
68
9
0
0
23 out of 100score
#151
machine-learning-specialization-courseraSolved notebooks for Andrew Ng's Coursera Machine Learning Specialization8.2k stars+102 (+1.3%) in 30 daysMITlast commit Dec 2025
66
11
0
0
23 out of 100score
#152
snakeSnake game player using graph search and a Double DQN agent1.8k starsMITlast commit Apr 2026
19
51
0
0
21 out of 100score
#153
deep-q-learningMinimal DQN and Double DQN agents in Keras and Gymnasium1.3k starsMITlast commit May 2026
10
62
0
0
21 out of 100score
#154
ml-nlpChinese-language ML and NLP interview study notes with code examples17.8k starsno licenselast commit Jan 2026
81
15
0
0
19 out of 100score
#155
ai-engineering.academyStructured learning paths and notebooks for applied generative AI engineering2.4k starsMITlast commit Feb 2026
philoagents-courseSix-module course building LLM-driven philosopher NPCs with LangGraph agentic RAG1.6k starsMITlast commit Oct 2025no commits in a year
15
0
0
0
4 out of 100score
Momentum, Verified build, Docs and Privacy are not measured yet; their weight goes to the signals shown. A dash means the signal is not scored for that kind of project. Hover a number for its rating in words.
Free curriculum of 542 coding lessons on building AI systems from scratch
81.1k starsMITlast commit Nov 2026
A 20-phase course covering math foundations, ML fundamentals, LLM engineering, agents and production infrastructure, with runnable lesson code in Python, TypeScript, Rust, Julia and Go. It includes three graded projects (retrieval evaluation, agent trace debugger, tool call firewall) with local graders, plus agent skills that turn a coding agent into a tutor. Lessons can be read on the website or run locally.
Strengths
Lessons ship runnable code; some start dependency-free, e.g. a vectors.py linear algebra lesson
Three staged projects with starters, reference solutions and local graders (project_test.py)
Covers math through agents, MCP and production infrastructure across 20 phases
Installable tutor skills via npx skills for Claude Code, Codex and other hosts
Weaknesses
542 lessons is a large scope; the README tells readers to pick one goal path
Projects need different toolchains: Python 3.10+, Node.js 22.18+ and Rust
Tutor skills require Node.js, npx and a skill-capable coding agent host
Starter project code fails by design until you implement the stages
Open-source book on AI agent design with 109 runnable experiments
60.2k starsApache-2.0last commit Nov 2026
A Chinese-language book, "深入理解 AI Agent", in 10 chapters built on the formula Agent = LLM + context + tools. It covers context engineering, memory and RAG, tools and MCP, coding agents, voice and computer use, evaluation, post-training, continual improvement and multi-agent systems. The repo holds the manuscript, PDF/EPUB builds in 15 languages, and 109 Python experiments.
Strengths
109 experiments organized by chapter, with uv.lock for reproducible per-chapter environments
PDF and EPUB downloads plus an online reader, in 15 languages
Covers context, memory, tools, evaluation, post-training and multi-agent topics in one text
Pins commits for the external repos used in reproduction tracks
Weaknesses
Chinese original is canonical; community translations may lag behind it
README says experiment code is generated by coding agents, not read line by line
Most experiments need a provider API key; external repos must be cloned manually
Cloning the repo does not mean every experiment has been run; status is tracked separately
GPU optional
Needs Python 3.11-3.13, uv or pip, LLM provider API key, pandoc and xelatex (PDF build only), Ollama, CUDA, Playwright, FFmpeg (some experiments)
Models: Kimi, GLM, DeepSeek, SiliconFlow, OpenRouter
Open textbook series on ML systems, with TinyTorch, labs and hardware kits
30.3k starscustom licenselast commit Nov 2026
Four-volume open textbook on how ML systems are built, from single-machine execution to distributed clusters, agents and physical AI. The repository also holds companion tools: TinyTorch (build an ML framework in 20 modules), MLSys·im (a simulator of memory, compute, network and energy limits), Marimo labs, hardware kits, slides and StaffML. Volume I is released; Volume II is a preview and Volumes III and IV are drafts.
21-lesson course on building generative AI apps in Python and TypeScript
124.5k starsMITlast commit Nov 2026
A Microsoft Cloud Advocates course of 21 lessons, split into "Learn" concept lessons and "Build" lessons with Python and TypeScript code samples. Topics include prompt engineering, text and chat apps, embeddings search, image generation, function calling, RAG, agents, fine-tuning, and small, Mistral and Meta models. Code runs against Azure OpenAI, Microsoft Foundry Models, the OpenAI API, or Foundry Local.
Strengths
Covers 21 lessons from LLM basics to RAG, agents and fine-tuning
Build lessons include code in both Python and TypeScript
Foundry Local option runs models offline without a cloud subscription
Translated into 50+ languages; MIT licensed
Weaknesses
Most samples target Azure OpenAI or OpenAI API, which need accounts and keys
Several lessons still list video as coming soon
Translations make a full clone large; sparse checkout is needed to avoid it
Samples are lesson-sized, not production-ready applications
no GPU
Needs Azure OpenAI Service, Microsoft Foundry Models or OpenAI API (or Foundry Local), GitHub account
Models: Azure OpenAI, OpenAI API, Microsoft Foundry Models, Foundry Local, Hugging Face open models
A Microsoft course covering symbolic AI, neural networks, computer vision, NLP, genetic algorithms, reinforcement learning, multi-agent systems and AI ethics. Each lesson pairs text with notebooks in PyTorch, Keras or TensorFlow, and many have labs. Notebooks can be run locally or through Binder.
Strengths
Most lessons have notebooks in both PyTorch and TensorFlow
Covers symbolic AI, genetic algorithms and multi-agent systems alongside deep learning
Many lessons include labs; Binder badge allows running without local setup
Translated into 50+ languages with Co-op Translator
Weaknesses
Excludes generative AI services, chatbots and deep math; points to other courses
README says neural architecture coverage may lag the state of the art
Full clone is large because of translations; sparse checkout is needed
Some lessons, such as multi-agent systems, list no notebook
Runnable tutorials for taking LLM agents from prototype to production
22k starscustom licenselast commit Nov 2026
A collection of 28 tutorials, each in its own folder, covering parts of a production agent stack: LangGraph stateful workflows, memory (Redis, Mem0), web search (Tavily, Bright Data), RAG, GPU deployment on RunPod, durable ingestion with Inngest, guardrails and observability. Several tutorials are sponsor-contributed and built around those vendors' services. The README also promotes a companion paid book and a newsletter.
Strengths
28 tutorials, each in its own folder, spanning memory, search, RAG, security and deployment
18-lesson course on building AI agents with Microsoft Agent Framework
81.2k starsMITlast commit Nov 2026
A Microsoft course of 18 lessons on building AI agents. Each lesson has a written README and Python samples, and most have a short video. Topics include tool use, agentic RAG, planning, multi-agent design, memory, MCP/A2A/NLWeb, computer use agents, deployment and security. Samples use Microsoft Agent Framework with Foundry Agent Service V2, and some accept OpenAI-compatible providers such as MiniMax.
Strengths
Covers design patterns, RAG, memory, protocols, deployment and security across 18 lessons
Each lesson pairs a README with Python samples; most also have a video
Translated into 50+ languages via Co-op Translator
MIT license; lessons can be taken in any order
Weaknesses
Samples depend on Microsoft Foundry, which requires an Azure account
Code centers on Microsoft Agent Framework, not other agent libraries
Lessons 14 to 18 have no video listed
Clone is large unless translations are excluded with sparse checkout
no GPU
Needs Microsoft Foundry (Azure account), Microsoft Agent Framework, Microsoft Foundry Agent Service V2
Models: Microsoft Foundry models, OpenAI-compatible providers (MiniMax)
Collection of 100+ runnable LLM agent, RAG and voice app examples in Python
146.1k stars+2,939 (+2.1%) in 30 daysApache-2.0last commit Nov 2026
A repository of self-contained example apps, grouped into agent skills, starter agents, multi-agent teams, voice agents, MCP agents, RAG tutorials and generative UI demos. Most are Python and run with pip install and streamlit run, using Claude, Gemini, OpenAI, DeepSeek, Llama or Qwen. It is a set of templates to copy from, not one installable product.
Strengths
Broad coverage: starter agents, multi-agent teams, voice, MCP and about 20 RAG variants
Each example is a separate folder, so one can be run without the rest
Apache-2.0 license allows reuse in commercial projects
Some examples run fully local, such as Llama 3.2 with Qdrant and no API keys
Weaknesses
Not a library or product: no shared package, versioning or releases
Many examples need paid API keys (OpenAI, Gemini, Firecrawl and others)
Dependencies and quality vary per folder, with no single install
A few entries link to external repos rather than containing the code
GPU optional
Needs Python, Streamlit, LLM provider API keys (varies per app), Qdrant (some RAG apps)
Code for the book on ML trading strategies, with nine case studies
22.1k starsMITlast commit Nov 2026
Companion code for Stefan Jansen's Machine Learning for Trading, 3rd edition: 27 chapter directories of Jupyter notebooks covering data, features, models, backtesting, costs, risk and live trading. Nine case studies (ETFs, crypto perps, options, FX, futures, equities) run through the same pipeline. Models range from ridge and gradient boosting to PatchTST, RL and RAG over SEC filings.
Strengths
27 chapter guides map book sections to notebooks and list the data each needs
Nine case studies apply one pipeline across ETFs, crypto, options, FX and futures
This repository holds an open-source book (Chinese original, plus English, Traditional Chinese and Russian translations) deriving AI infrastructure design from hardware constraints: memory, compute and bandwidth across model architectures, accelerators, networking, inference and training. It ships a Python CLI to recompute the book's quantitative examples for a chosen model and token count, plus chapter-indexed experiments, some needing GPUs. Static calculations need only Python 3.10+ stdlib.
Strengths
Companion CLI lets readers recompute every quantitative example with their own model and hardware
Static calculations need only Python 3.10+ stdlib, no GPU or model weights
Covers the full inference/training stack: accelerators, networks, superpods, scheduling, edge-cloud
Available in four languages with auto-published PDF and EPUB per release
Weaknesses
Manuscript is explicitly a draft still under revision
Experiments directory needs GPUs and large Git LFS downloads (~20GB) for full reproduction
Primarily a book/learning resource, not a deployable tool or service
PDF build requires Pandoc, XeLaTeX and fonts, no Docker setup provided
Runnable notebooks and guides for common tasks with the OpenAI API
77.6k starsMITlast commit Nov 2026
A collection of example code and guides, mostly Python Jupyter notebooks, showing how to accomplish common tasks with the OpenAI API. It is published as a browsable site at cookbook.openai.com. Running the examples requires an OpenAI account and an OPENAI_API_KEY environment variable.
Strengths
Maintained by OpenAI, so examples track the official API
Examples are runnable notebooks, mostly Python, with a searchable website
MIT license permits reuse of the code
Weaknesses
Requires a paid-capable OpenAI account and API key to run examples
Tied to OpenAI's API; local models are not the focus
No installable package or app, only notebooks and guides
Book code for building, pretraining and finetuning a GPT-style LLM in PyTorch
109.3k starscustom licenselast commit Nov 2026
Official code for the book Build a Large Language Model (From Scratch). Jupyter notebooks walk through a tokenizer, attention, a GPT model, pretraining, classification finetuning, instruction finetuning, DPO and LoRA in plain PyTorch, with no external LLM libraries. Bonus folders cover Llama 3.2, Qwen3, Gemma 3, Olmo 3, KV cache, GQA and MoE.
Strengths
Chapter notebooks with exercise solutions, plus a 17-hour companion video course
Implements everything in plain PyTorch without external LLM libraries
Main chapter code runs on a laptop and uses a GPU automatically if present
Bonus folders cover KV cache, GQA, MoE, DPO and several open model architectures
Weaknesses
Tied to a print book; extensions to main chapter code are not accepted
Trains small educational models, not production-scale ones
License is detected as NOASSERTION, so terms need checking in the repo
Study material only; not a library or tool to deploy
Collection of 141 runnable LLM agent and RAG example apps
17.2k starsMITlast commit Nov 2026
A repository of 141 self-contained example projects for building LLM apps: starter agents per framework (Agno, LangGraph, CrewAI, OpenAI Agents SDK, Google ADK, Mastra), voice agents, MCP agents, memory agents, RAG apps and LoRA fine-tuning. Each project has its own folder, README, dependencies and `.env.example`. Many examples default to Nebius Token Factory as the model provider.
Strengths
Each project is isolated with its own README, dependencies and .env.example
Covers many frameworks side by side, including Agno, LangGraph, CrewAI, Mastra and Google ADK
Spans agents, voice (LiveKit, Pipecat), MCP, memory, RAG and fine-tuning in one repo
MIT licensed and actively committed
Weaknesses
Not one application; each example must be set up and run separately
Many examples depend on hosted APIs such as Nebius, Exa or Firecrawl
Sponsor-linked services appear throughout, so provider choice is skewed
No releases or versioning; example quality and upkeep vary by folder
A Microsoft Cloud Advocates curriculum on classic machine learning (regression, classification, clustering, NLP and more) taught with Scikit-learn, without deep learning. Each lesson has pre- and post-lesson quizzes, a written guide, a solution, a challenge and an assignment. Lessons are in Python, with R versions for many, and use datasets such as pumpkin prices and regional cuisines.
Strengths
Project-based lessons with solutions in /solution folders and quizzes before and after each lesson
Many lessons also ship R Markdown versions alongside Python
50+ translations maintained with Co-op Translator
Quiz app with 52 quizzes can be run locally or deployed to Azure
Weaknesses
Covers classic ML only; deep learning is in a separate AI for Beginners course
Full clone is large because of 50+ translations; sparse checkout needed to avoid it
Some lessons, such as the web app ones, have no R version
Dependencies are installed per lesson; no single environment file is mentioned
Collection of 42 runnable notebooks implementing RAG techniques
30.6k starscustom licenselast commit Nov 2026
A repository of Jupyter notebooks, each implementing one RAG technique, from basic RAG and CSV RAG to HyDE, proposition chunking, contextual chunk headers, MemoRAG and RAG evaluation. Notebooks open in GitHub or Colab. It is a teaching resource with code and references, not a library or a deployable service.
Strengths
42 notebooks grouped by category: foundational, query enhancement, context enrichment, and more
Colab badge on listed notebooks, so no local setup is needed to run them
Covers chunking, query transformation, reliability and evaluation, with video explainers for some
Recent additions include MemoRAG, Open-RAG-Eval and JSON RAG
Weaknesses
Notebooks, not an installable package or service; code must be adapted for production
License reported as NOASSERTION, so reuse terms are unclear
README carries heavy sponsor, book and newsletter promotion
Notebook tutorials for building GenAI agents, mostly with LangGraph
25.2k starscustom licenselast commit Nov 2026
A collection of 64 tutorial notebooks covering agent patterns: the basic agent loop, routing, tool design, plan-then-execute, reflection and trace-based evals. Use-case examples such as customer support, contract analysis and E2E testing are mostly built on LangGraph, with some LangChain and PydanticAI. Each notebook needs its own provider API keys, and not every one was re-run end to end after the latest model-ID update.
Strengths
Core-pattern notebooks are mostly plain Python plus one SDK, so they depend less on framework churn
Covers routing, agent loop, skills, context engineering, trace-based evals and human approval
Notebooks updated to import on LangChain 1.x and LangGraph 1.x, with retired model IDs replaced
Weaknesses
Many use-case notebooks date from late 2024 and were not all run against live services
Every notebook needs its own API keys; no local-model setup is described
README carries heavy promotion for a paid book, newsletter and sponsors
Tutorials only; no installable library or reusable agent package
no GPU
Needs Jupyter, LangChain, LangGraph, LLM provider API keys
Open book of guides and scripts for training LLMs and VLMs at scale
19.8k starsCC-BY-SA-4.0last commit Nov 2026
A written collection of notes, copy-paste commands and scripts on training, fine-tuning and running large language and multi-modal models, drawn from the author's work on BLOOM-176B and IDEFICS-80B. It covers accelerators, storage, networking, SLURM, training, inference, debugging and testing. It also ships two SKILL.md files for AI agents and PDF/EPUB ebook builds.
Strengths
Runnable tools: torch-dist-bench.py for network throughput, mamf-finder.py for real accelerator TFLOPS
Covers hardware, SLURM, debugging and inference, not only training
Links a collection of public LLM/VLM training logbooks
PDF and EPUB downloads, plus two SKILL.md files for AI agents
Weaknesses
Reference text, not an installable framework or library
Described by the author as a personal brain dump; coverage may be uneven
Ebooks are rebuilt only every few weeks, so they can lag the repo
License is CC-BY-SA-4.0; share-alike applies to derived content
Hand-written PyTorch pipeline from raw text to a pretrained, aligned LLM
13.3k starsMITlast commit Nov 2026
Tutorial repo that implements a transformer in plain PyTorch and trains it from raw text through SFT, reward model, PPO, DPO and GRPO, without trl, peft or transformers. It has a classic GPT-style model and a modern one (RoPE, RMSNorm, SwiGLU, GQA/MLA, MoE, KV cache), plus a 369K-parameter preset that trains on a laptop CPU. A Streamlit control panel and an MkDocs site are included.
Strengths
Pretraining and post-training (SFT, reward, PPO, DPO/ORPO/KTO, GRPO) all hand-written in PyTorch
Tiny preset trains on a laptop CPU in about five minutes
Typed JSON configs per stage, smoke configs that finish in seconds, and pytest coverage
Modern model option with Muon, LoRA, speculative decoding and int8 weights
Weaknesses
Educational scale: the sample output from the 13M model is largely incoherent
Billion-parameter training needs a 24 GB+ GPU; larger configs are marked TBD on RTX 5090
Two config systems (legacy constants and JSON) add confusion
No release tags and no Docker setup
GPU optional
Docker
Needs PyTorch, tiktoken, Hugging Face datasets, Streamlit, wandb, HDF5
Models: Custom transformer (classic and modern), PyTorch checkpoints
Jupyter notebooks and code recipes for building with the Claude API
55.4k starsMITlast commit Nov 2026
Official Anthropic collection of copy-able Python notebooks for the Claude API. Recipes cover classification, RAG with Pinecone and Voyage AI embeddings, summarization, tool use, vision, JSON mode, prompt caching, sub-agents, evals, and cost and latency optimization. It needs a Claude API key and is not a runnable application.
Strengths
Covers tool use, vision, prompt caching, evals and JSON mode with runnable notebooks
Maintained by Anthropic, with recent commits
MIT licensed, so snippets can be copied into your own projects
Cost and latency walkthroughs measure pass rate, cost per task and time to first token
Weaknesses
Requires a Claude API key; examples target Claude models only
Examples are mainly Python; other languages must be adapted by hand
Recipe links in the README point to the older anthropic-cookbook repo path
Notebooks are snippets, not a deployable app or library
no GPU
Needs Claude API key, Pinecone (RAG recipe), Voyage AI (embeddings recipe)
Self-checking Jupyter lessons that build AI components from scratch
4k starscustom licenselast commit Nov 2026
Synapsa Commons is a set of 103 Jupyter notebook lessons that build AI components from scratch, such as autodiff, BPE tokenizers, a CPU-trained language model, GRPO, retrieval and an agent loop. Each exercise checks itself when run. Lessons are grouped into tracks and domain programmes (EU AI Act conformity, document intelligence, model risk) and open in Colab, Kaggle, Binder, Codespaces or local Jupyter.
Strengths
Exercises self-check when run, with hints on likely mistakes
Starter lesson runs on a laptop CPU with 8 GiB RAM, no GPU
Opens in Colab, Kaggle, Binder, Codespaces or local Jupyter
Covers agents, MCP, RAG, post-training and inference, plus 7 C/C++ exercises
Weaknesses
Two programmes are partly built: credit underwriting 4 of 8, proteomics 5 of 7
The 2017-2025 tutorials were retired and are no longer maintained here
License is detected as NOASSERTION, so reuse terms are unclear
Lessons are teaching-scale from-scratch builds, not production libraries
Jupyter notebook tutorials for the Gemini API, from quickstarts to examples
18.1k starsApache-2.0last commit Nov 2026
Official Google collection of Jupyter notebooks for calling the Gemini API, split into Quick Starts for single features and Examples that combine several. Topics include authentication, thinking, Live API, TTS, transcription, image, video and music generation, File Search, grounding, and an Agents API. Most notebooks open in Colab and need a Google AI Studio API key.
Strengths
Maintained by Google; notebooks track new Gemini models and API features
Colab badges on notebooks allow running without local setup
Covers many API areas: Live API, TTS, transcription, grounding, File Search
Split into feature quickstarts and multi-feature examples
Weaknesses
Requires a Google account and Gemini API key; calls go to a hosted service
Teaches one vendor's API; code does not transfer directly to other providers
Notebook format is a poor fit for reuse as production code
Full application demos live in separate repositories
no GPU
Needs Gemini API key (Google AI Studio), Google account, Jupyter or Colab
Microsoft's multi-language course on building Model Context Protocol servers
17.8k starsMITlast commit Nov 2026
A course on the Model Context Protocol with runnable examples in C#, Java, JavaScript, Rust, Python and TypeScript. Modules run from core concepts and security through building servers and clients, stdio and HTTP streaming transports, testing, deployment, auth, and Azure and Foundry integration. It targets the MCP 2026-07-28 specification, though some examples remain pinned to 2025-11-25.
Strengths
Covers six languages: C#, Java, JavaScript, Rust, Python and TypeScript
Chinese tutorials for Claude Code, Codex, WorkBuddy and OpenClaw
6.6k starsMITlast commit Nov 2026
A Chinese-language course of 50 Markdown tutorials plus one cheat sheet, split into four tracks: Claude Code (13), Codex App (14), WorkBuddy (11) and OpenClaw (12). Each entry route ships fictional practice material in examples/, such as an empty-list NaN bug, a 7-row order table and a to-do briefing, with reference results to check against. It is documentation, not software to run.
Strengths
Entry exercises ship with sample files and reference answers, including a 3/8 to 38 variant check
Covers four tools in one repo, with per-chapter version notes and a chapter-by-chapter audit list
Includes three offline scripts and a one-page cheat sheet for evaluating agent output
MIT licensed, with a dated changelog and stated verification scope
Weaknesses
Chinese only; the English links point to the author's separate Meta_Kim project
Tracks fast-moving upstream tools, so version details can go stale
Login-based UI and mobile flows were not run end to end, per its own notes
OpenClaw track is marked as updated more slowly
no GPU
Needs Claude Code, Codex App, WorkBuddy, OpenClaw, Node.js
Chinese-language study guide and interview prep for AI agent engineering roles
12.4k starsCC-BY-4.0last commit Nov 2026
A documentation repository (MDX) that organizes AI agent learning into role-based roadmaps for development and algorithm tracks, with tutorials on LangGraph, RAG, context engineering, SFT and RL. It also collects 1500+ interview questions, resume advice and links to external courses and projects. Content is in Chinese and no runnable software is shipped.
Strengths
Separate development and algorithm roadmaps, stated as 8-12 and 10-15 weeks
Chinese-language course on building AI-native agents from scratch, with code
88.2k starscustom licenselast commit Nov 2026
Hello-Agents is a 16-chapter Chinese-language course from the Datawhale community on designing and building LLM agents. It covers ReAct, Plan-and-Solve and Reflection, low-code platforms (Coze, Dify, n8n), frameworks (AutoGen, AgentScope, LangGraph), and writing a small agent framework on the OpenAI API. Later chapters cover memory, RAG, context engineering, MCP/A2A/ANP, Agentic-RL (SFT to GRPO) and evaluation, with companion code in the code folder.
Strengths
Covers paradigms, existing frameworks, and building your own framework in one sequence
Includes an Agentic-RL chapter from SFT to GRPO, plus evaluation and protocol chapters
Companion code and case projects: travel assistant, deep research agent, simulated town
Readable online for free, with a PDF on the releases page
Weaknesses
Main text is Chinese; an English README exists but its chapter coverage is not stated
CC BY-NC-SA 4.0 license forbids commercial use
Course material, not an installable library; the HelloAgents framework is a separate repo
Assumes basic Python and experience calling an LLM API
17-chapter Python course on building a Claude Code-style agent harness
81.1k stars+1,718 (+2.2%) in 30 daysMITlast commit Nov 2026
A tutorial repo that rebuilds the parts of a coding-agent harness one chapter at a time. It starts with a single while-loop and bash, then adds permissions, hooks, memory, subagents, task graphs, cron, agent teams, MCP, a workflow runtime and a goal loop. Each root-level chapter (s01 to s17) has a runnable code.py and Chinese and Japanese translations.
Strengths
Each chapter isolates one mechanism with a runnable code.py
Covers permissions, hooks, memory, context compaction, MCP and agent teams in order
Includes a legacy-to-current chapter mapping for older links
Chapter READMEs in English, Chinese and Japanese
Weaknesses
Teaching code, not an installable library or product
Legacy and current tracks use different chapter numbers
Long opinionated preamble before any code
Setup, API key and model requirements not shown in the visible README
no GPU
Needs LLM API with tool use (Anthropic-style messages API)
Python library of 35 agentic patterns with executed notebooks and benchmarks
4.8k stars+140 (+3.0%) in 30 daysMITlast commit Nov 2026
A Python library built on LangGraph that implements 35 agentic patterns (Reflection, ReAct, Tree of Thoughts, Corrective RAG, MemGPT, Debate, SWE-Agent and others) behind a shared `.run(task)` interface returning an `ArchitectureResult`. Each pattern has an executed Jupyter notebook, and a 17-task benchmark compares them. It supports nine LLM providers, including Ollama for local models.
Strengths
Uniform `.run(task)` interface lets you swap patterns without changing downstream code
All 35 notebooks are executed with real LLM outputs; 283 tests pass
Nine providers selected by one env var, including local Ollama
Benchmark leaderboard compares architectures per task, with a reported 33/42 correct
Weaknesses
Benchmark covers one model (Llama-3.3-70B on Nebius) and mostly 1 to 3 attempts per task
Reference implementations for study, not a framework with deployment or serving
Default provider is Nebius; Ollama tool calling depends on the model
37 integration tests are skipped unless RUN_INTEGRATION=1 and keys are set
Colab notebooks for running and fine-tuning Hugging Face Transformers models
11.8k starsMITlast commit Sep 2026
A collection of Jupyter notebooks by Niels Rogge showing inference and fine-tuning with Hugging Face Transformers in PyTorch. Coverage is mostly vision and document models (DETR, LayoutLM v1-v3, Donut, MaskFormer, Perceiver), plus some BERT, audio and GPT-J notebooks. Each demo links to a Colab notebook and the source paper.
Strengths
Every demo has an Open in Colab badge, so no local setup is needed
Covers document AI in depth: LayoutLM v1-v3, LayoutXLM, Donut, DiT, MarkupLM
Includes both inference and fine-tuning notebooks, some using HF Trainer or PyTorch Lightning
MIT licensed, with a recent commit on 2026-09-17
Weaknesses
PyTorch only; no TensorFlow or JAX notebooks
Many notebooks use older APIs (e.g. DetrFeatureExtractor) and may need version pinning
Mostly older architectures; no modern LLM fine-tuning notebooks in the visible README
No releases and no packaged library; notebooks only
GPU optional
Needs Hugging Face Transformers, PyTorch, Google Colab
Chinese course notes and notebooks on ML math, deep learning, Transformer and BERT
3.6k starsMITlast commit Oct 2026
A collection of Chinese-language tutorials and Jupyter notebooks covering math prerequisites, classical machine learning, deep learning (CNN, RNN, LSTM), a chapter-by-chapter Transformer walkthrough, and BERT with a Chinese sentiment analysis project. It also includes write-ups of competition solutions (Kaggle, Tianchi, a 2024 financial LLM challenge), many with datasets.
Strengths
Covers math basics through Transformer and BERT in one repository
Competition solution notebooks, many bundled with datasets, so they can be rerun
Transformer explained in eight short chapters, from embeddings to final output
Weaknesses
Written in Chinese only; the README has no English version
Little on current LLM tooling beyond one 2024 competition write-up
Some chapter links are empty or point to datasets hosted on Kaggle or Tianchi
Author states it is non-commercial; the license is given only as a link
Chinese-language tutorials for deploying and fine-tuning open LLMs on Linux
32.9k starsApache-2.0last commit Nov 2026
A Datawhale tutorial collection, mostly Jupyter notebooks and Markdown, covering environment setup, local deployment and fine-tuning for 50+ open LLMs such as Qwen, LLaMA, ChatGLM, InternLM, DeepSeek and Gemma. Topics include command-line calls, online demo deployment, LangChain integration, LoRA and full fine-tuning. Separate sections cover AMD ROCm, Ascend NPU, Moore Threads MUSA and Apple M hardware.
Strengths
Covers 50+ models, each with its own deployment and fine-tuning walkthrough
Hardware sections for AMD ROCm, Ascend NPU, Moore Threads MUSA and Apple M
Worked examples such as a LoRA chat model and a math-tuned InternLM2 model
Recent models included, such as Qwen3.5 and GLM-5.2
Weaknesses
Main README is in Chinese; the English version is a separate file
Core tutorials target Linux; other platforms get sections for only some models
No installable package or runnable app; content is notebooks and guides
Each tutorial pins its own library versions, which may drift from upstream