Learning and cookbooks

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
RankProjectAdoptionFreshnessMaintenanceAgent-readyScore
1ai-engineering-from-scratchFree curriculum of 542 coding lessons on building AI systems from scratch81.1k starsMITlast commit Nov 202697100944592 out of 100
2ai-agent-bookOpen-source book on AI agent design with 109 runnable experiments60.2k starsApache-2.0last commit Nov 20269510099088 out of 100
3cs249r_bookOpen textbook series on ML systems, with TinyTorch, labs and hardware kits30.3k starscustom licenselast commit Nov 2026899898086 out of 100
#4generative-ai-for-beginners21-lesson course on building generative AI apps in Python and TypeScript124.5k starsMITlast commit Nov 202699100673083 out of 100
#5ai-for-beginners24-lesson AI curriculum with notebooks in PyTorch and TensorFlow Live demo ↗ (opens in a new tab)71.4k starsMITlast commit Nov 202696100673082 out of 100
#6agents-towards-productionRunnable tutorials for taking LLM agents from prototype to production22k starscustom licenselast commit Nov 202684100734582 out of 100
#7ai-agents-for-beginners18-lesson course on building AI agents with Microsoft Agent Framework81.2k starsMITlast commit Nov 202697100583080 out of 100
#8awesome-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 202610010063079 out of 100
#9machine-learning-for-tradingCode for the book on ML trading strategies, with nine case studies22.1k starsMITlast commit Nov 20268510078079 out of 100
#10ai-infra-bookA quantitative book on AI infrastructure design, with calculation tools Live demo ↗ (opens in a new tab)8.4k starsApache-2.0last commit Nov 20266710096079 out of 100
#11openai-cookbookRunnable notebooks and guides for common tasks with the OpenAI API77.6k starsMITlast commit Nov 202696100533078 out of 100
#12llms-from-scratchBook code for building, pretraining and finetuning a GPT-style LLM in PyTorch109.3k starscustom licenselast commit Nov 20269910059077 out of 100
#13awesome-ai-appsCollection of 141 runnable LLM agent and RAG example apps17.2k starsMITlast commit Nov 202680100547077 out of 100
#14ml-for-beginners12-week, 26-lesson classic machine learning course using Scikit-learn Live demo ↗ (opens in a new tab)92.5k starsMITlast commit Nov 202698100453076 out of 100
#15rag_techniquesCollection of 42 runnable notebooks implementing RAG techniques30.6k starscustom licenselast commit Nov 202690100484576 out of 100
#16genai_agentsNotebook tutorials for building GenAI agents, mostly with LangGraph25.2k starscustom licenselast commit Nov 202687100484575 out of 100
#17ml-engineeringOpen book of guides and scripts for training LLMs and VLMs at scale19.8k starsCC-BY-SA-4.0last commit Nov 20268410067075 out of 100
#18train-llm-from-scratchHand-written PyTorch pipeline from raw text to a pretrained, aligned LLM13.3k starsMITlast commit Nov 20267610075075 out of 100
#19claude-cookbooksJupyter notebooks and code recipes for building with the Claude API55.4k starsMITlast commit Nov 202694100355574 out of 100
#20artificial-intelligence-deep-learning-machine-learning-tutorialsSelf-checking Jupyter lessons that build AI components from scratch4k starscustom licenselast commit Nov 202646100100074 out of 100
#21google-gemini/cookbookJupyter notebook tutorials for the Gemini API, from quickstarts to examples18.1k starsApache-2.0last commit Nov 20268210061073 out of 100
#22mcp-for-beginnersMicrosoft's multi-language course on building Model Context Protocol servers17.8k starsMITlast commit Nov 202681100523073 out of 100
#23ai-coding-guide-zhChinese tutorials for Claude Code, Codex, WorkBuddy and OpenClaw6.6k starsMITlast commit Nov 20266110083073 out of 100
#24agentguideChinese-language study guide and interview prep for AI agent engineering roles12.4k starsCC-BY-4.0last commit Nov 20267510064072 out of 100
#25hello-agentsChinese-language course on building AI-native agents from scratch, with code88.2k starscustom licenselast commit Nov 20269810039071 out of 100
#26learn-claude-code17-chapter Python course on building a Claude Code-style agent harness81.1k stars+1,718 (+2.2%) in 30 daysMITlast commit Nov 20269710039071 out of 100
#27all-agentic-architecturesPython library of 35 agentic patterns with executed notebooks and benchmarks4.8k stars+140 (+3.0%) in 30 daysMITlast commit Nov 20265410083071 out of 100
#28transformers-tutorialsColab notebooks for running and fine-tuning Hugging Face Transformers models11.8k starsMITlast commit Sep 202674100493070 out of 100
#29ailearning-theory-applyingChinese course notes and notebooks on ML math, deep learning, Transformer and BERT3.6k starsMITlast commit Oct 20264310092070 out of 100
#30self-llmChinese-language tutorials for deploying and fine-tuning open LLMs on Linux32.9k starsApache-2.0last commit Nov 20269010038069 out of 100
#31hands-on-modern-rlOpen course teaching RL from CartPole and DQN to RLHF, GRPO and agents Live demo ↗ (opens in a new tab)5k stars+174 (+3.6%) in 30 dayscustom licenselast commit Nov 202655100673069 out of 100
#32googlecloudplatform/generative-aiNotebooks and sample apps for Gemini, Imagen, Veo and search on Google Cloud18k starsApache-2.0last commit Nov 20268210043068 out of 100
#33ai-engineering-from-scratch-zhSimplified Chinese course on building AI systems from scratch, 542 lessons1.4k stars+77 (+5.9%) in 30 daysMITlast commit Nov 2026111001004568 out of 100
#34amazon-sagemaker-examplesOfficial notebooks for training, tuning, deploying and operating models on SageMaker11k starsApache-2.0last commit Oct 202673100344567 out of 100
#35prompt_engineering22 Jupyter notebooks teaching prompt engineering with OpenAI and LangChain7.9k starscustom licenselast commit Oct 202666100424567 out of 100
#36annotated_deep_learning_paper_implementationsAnnotated PyTorch implementations of deep learning papers with side-by-side notes67.8k starsMITlast commit Nov 20269510026066 out of 100
#37learnopencvCode for LearnOpenCV blog tutorials on computer vision and deep learning23.3k starsno licenselast commit Nov 20268610067066 out of 100
#38ed-donner/agentsSix-week course with notebooks for building and deploying AI agents6.7k stars+193 (+3.0%) in 30 daysMITlast commit Nov 20266210058066 out of 100
#39ai-agents-from-zeroChinese tutorial with runnable code for building LLM agents in LangChain and LangGraph6.2k starsMITlast commit Nov 20265910062066 out of 100
#40mlops-python-packagePython MLOps project template with MLflow, Pydantic configs and CI1.4k starsMITlast commit Nov 2026121001003066 out of 100
#41agents-courseFree Hugging Face course on building agents with smolagents, LlamaIndex, LangGraph35.6k starsApache-2.0last commit Nov 20269210025065 out of 100
#42100-days-of-ml-codeChinese-language machine learning course with daily scikit-learn and Keras exercises22.2k starsMITlast commit Oct 20268510031065 out of 100
#43gpt-image2-skillPrompt gallery, agent skills and CLI for GPT Image generation and editing6.2k starsMITlast commit Nov 20266010057065 out of 100
#44supervisor-skillsPrompt-based AI skills for planning, writing and reviewing research papers13.9k starscustom licenselast commit Nov 202677100281563 out of 100
#45ai-engineering-hubCollection of 93 runnable AI tutorials on RAG, agents, MCP and fine-tuning42.2k starsMITlast commit Oct 20269310016062 out of 100
#46nlp_courseUniversity NLP course with Jupyter seminars, from word embeddings to LLM agents10.8k starsMITlast commit Nov 20267310033062 out of 100
#47ai_quant_tradeQuant research workspace and example collection for strategies, backtests and LLM agents6.8k starsApache-2.0last commit Nov 20266270633062 out of 100
#48genai-showcaseMongoDB's notebooks, apps and workshops for building RAG and agents4.3k starsMITlast commit Nov 202648100503062 out of 100
#49agent-academyCourse source for learning to build agents in Microsoft Copilot Studio3.8k stars+166 (+4.6%) in 30 daysMITlast commit Nov 20264410062062 out of 100
#50ai-system-design-guideMarkdown guide to AI system design, RAG, agents and interview prep4.6k stars+524 (+13%) in 30 daysMITlast commit Nov 20265310050061 out of 100
#51agentic-rag-for-dummiesLangGraph agentic RAG tutorial notebook and modular app with Qdrant hybrid search Live demo ↗ (opens in a new tab)4.4k starsMITlast commit Nov 20265010053061 out of 100
#52mlops-zoomcampFree 9-week MLOps course covering tracking, orchestration, deployment and monitoring15.6k stars+133 (+0.9%) in 30 daysno licenselast commit Nov 20267910050059 out of 100
#53google-gemma/cookbookJupyter notebooks and demo apps for working with Google's Gemma models4.2k starsApache-2.0last commit Nov 20264710048059 out of 100
#54tylerprogramming/aiExample projects for AutoGen, CrewAI, PydanticAI, Smolagents and OpenAI Agents1.2k starsMITlast commit Nov 20266100677059 out of 100
#55easy-rlChinese-language reinforcement learning textbook with Jupyter notebook implementations14.9k stars+113 (+0.8%) in 30 dayscustom licenselast commit Nov 2026787044058 out of 100
#56workbuddyguideChinese-language practical handbook for using the WorkBuddy AI work assistant3.9k starsMITlast commit Nov 20264510048058 out of 100
#57huggingface/notebooksJupyter notebooks demonstrating the Hugging Face libraries4.7k starsApache-2.0last commit Nov 20265310033056 out of 100
#58how-to-train-your-gptTwelve-chapter PyTorch course on building a LLaMA-style GPT from scratch Live demo ↗ (opens in a new tab)4.2k starsMITlast commit Oct 20264710040056 out of 100
#59learnpromptChinese-language AI tutorial site with companion agent skills and workflows2.8k starscustom licenselast commit Oct 202634100491556 out of 100
#60awesome-openclaw-tutorialChinese-language tutorial book for installing and using the OpenClaw AI assistant4.6k starscustom licenselast commit Oct 20265210032055 out of 100
#61genieincodebottle/generative-aiNotebook-based GenAI tutorials and example apps on RAG, agents and prompting2.7k starsMITlast commit Nov 20263310050055 out of 100
#62smol-courseHands-on course on fine-tuning and aligning small language models6.8k starsApache-2.0last commit Oct 20266310017054 out of 100
#63agentcore-samplesSample code and tutorials for deploying agents on Amazon Bedrock AgentCore3.6k stars+72 (+2.1%) in 30 daysApache-2.0last commit Nov 20264210038054 out of 100
#64happy-llmChinese-language course on LLM theory and building a LLaMA2-style model Live demo ↗ (opens in a new tab)35.1k starscustom licenselast commit Aug 202691840053 out of 100
#65microgradScalar-valued autograd engine and tiny neural net library in about 150 lines of Python19.2k starsMITlast commit Aug 202683900052 out of 100
#66all-in-ragChinese-language RAG tutorial with code, from chunking to Graph RAG13.4k starsno licenselast commit Nov 20267710030052 out of 100
#67tensorflow/examplesOfficial TensorFlow example notebooks, community samples and course material8.3k starsApache-2.0last commit Nov 2026677035052 out of 100
#68deep-rl-classHugging Face's free course on deep reinforcement learning, with notebooks5.1k starsApache-2.0last commit Oct 20265610017052 out of 100
#69claude-code-bookChinese-language book analyzing Claude Code's agent runtime architecture4.4k stars+65 (+1.5%) in 30 daysno licenselast commit Nov 20264910057052 out of 100
#70pinecone-io/examplesJupyter notebooks and sample apps for building with Pinecone vector databases3k starsMITlast commit Oct 202638100204552 out of 100
#71tutorialsJupyter tutorials for medical imaging with MONAI and PyTorch2.6k starsApache-2.0last commit Nov 20263310040052 out of 100
#72zero-to-sglangCourse on LLM inference: build a mini-sglang, then read SGLang source2.4k starsno licenselast commit Nov 20263010077052 out of 100
#73machine-learning-zoomcampFree ML engineering course from regression to Kubernetes deployment15k stars+177 (+1.2%) in 30 daysno licenselast commit Nov 2026797648051 out of 100
#74microduck-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 20262310048051 out of 100
#75langchain-courseCourse code for building LangChain and LangGraph agents in Python1.8k starsApache-2.0last commit Nov 20262010051051 out of 100
#76wfgyPrompt-protocol collection and RAG/agent failure troubleshooting maps for LLM workflows1.8k starscustom licenselast commit Nov 20262098–051 out of 100
#77fastbookJupyter notebooks for the fastai and PyTorch deep learning book and course25.5k starscustom licenselast commit Oct 2026877011050 out of 100
#78arc-task-genGenerator of fresh ARC-AGI-1-style tasks for private model evaluation10.8k starsMITlast commit Aug 202673930050 out of 100
#79docsSource notebooks and Markdown for the tensorflow.org guide and tutorials6.3k starsApache-2.0last commit Nov 2026607036050 out of 100
#80courseSource content for the Hugging Face course on Transformers and NLP4.4k starsApache-2.0last commit Oct 20265010016050 out of 100
#81deepagents-in-actionChinese-language course on building agents with LangChain Deep Agents3k stars+191 (+6.8%) in 30 daysno licenselast commit Nov 20263710062050 out of 100
#82ai-infra-engineer-learningTen-module course and three projects for AI infrastructure engineering1.9k starsMITlast commit Nov 20262310044050 out of 100
#83bullshit-benchmarkBenchmark testing whether LLMs push back on nonsense questions Live demo ↗ (opens in a new tab)1.9k starsMITlast commit Nov 202623100333050 out of 100
#84brag-langchainJupyter notebooks teaching RAG with LangChain, from basics to reranking4.2k starscustom licenselast commit Oct 20264810016049 out of 100
#85diy-llmChinese-language course on building LLMs, adapted from Stanford CS3363.1k starsno licenselast commit Nov 20263810058049 out of 100
#86papers-in-100-lines-of-codeShort single-file implementations of 69 machine learning papers2.9k starsMITlast commit Oct 20263610026049 out of 100
#87cvChinese-language Jupyter notes on deep learning, CV, NLP, LLMs and agents24.4k starsno licenselast commit Sep 2026861007048 out of 100
#88leedl-tutorialChinese-language deep learning textbook based on Hung-yi Lee's ML course16.9k stars+64 (+0.4%) in 30 dayscustom licenselast commit Oct 2026807111048 out of 100
#89diffusion-models-classFree Hugging Face course on diffusion models with Diffusers notebooks4.4k starsApache-2.0last commit Oct 20265010011048 out of 100
#90bootcampJupyter notebook tutorials and demos for building RAG and search apps on Milvus Live demo ↗ (opens in a new tab)2.5k starsApache-2.0last commit Oct 20263010028048 out of 100
#91agentic-rl-labTutorials and runnable code for reproducing LLM and agent RL algorithms1.6k starsApache-2.0last commit Nov 20261710044048 out of 100
#92agent-learning-hubStaged AI agent learning roadmap with checklists and project ideas9.6k starsMITlast commit Jul 202671840047 out of 100
#93llms-from-scratch-cnChinese notebooks for building GPT, Llama3, RWKV and ChatGLM from scratch4.5k starscustom licenselast commit Sep 2026521007047 out of 100
#94machine-learningJupyter notebooks on ML and LLM topics, with from-scratch Python code3.5k starsMITlast commit Oct 20264110016047 out of 100
#95second-brain-osAgents course, handbooks and starter vault for a markdown second brain1.6k stars+450 (+39%) in 30 daysMITlast commit Nov 20261610042047 out of 100
#96asl-ml-immersionGoogle Cloud ML course notebooks covering TensorFlow, MLOps and Gemini agents2.6k starsApache-2.0last commit Nov 2026338833046 out of 100
#97agents-from-scratchLangGraph tutorial notebooks that build an email-triage and reply agent2.5k starsMITlast commit Aug 2026319367046 out of 100
#98pytorch-cppC++ LibTorch ports of the PyTorch tutorials, from basics to GANs Live demo ↗ (opens in a new tab)2.1k starsMITlast commit Nov 20262610027046 out of 100
#99prompt-engineering-guideWritten guide to prompt engineering techniques, with papers, notebooks and example prompts80.4k stars+914 (+1.1%) in 30 daysMITlast commit Mar 2026963734045 out of 100
#100handson-mlJupyter notebooks for the first edition of Hands-on Machine Learning book Live demo ↗ (opens in a new tab)25.6k starsApache-2.0last commit May 202688620045 out of 100
#101machine_learning_examplesPython code for Lazy Programmer's online machine learning courses9k starsno licenselast commit Nov 20266910016045 out of 100
#102agent_memory_techniques30 Jupyter notebooks teaching agent memory patterns, from buffers to graphs1.2k starsApache-2.0last commit Oct 20266100264544 out of 100
#103hands-on-large-language-modelsCompanion notebooks for the O'Reilly book Hands-On Large Language Models30.5k starsApache-2.0last commit Apr 202690530043 out of 100
#104llm-engineers-handbookCompanion code for a book on building an end-to-end LLM Twin system5.5k starsMITlast commit Apr 2026575233043 out of 100
#105ai-engineer-headquartersSelf-paced AI engineering curriculum from ML basics to RAG, fine-tuning and agents3.8k starsno licenselast commit Oct 20264410034043 out of 100
#106ai-agents-projects-tutorialsJupyter notebooks and scripts for building agents, memory, and agent tooling3k starsno licenselast commit Nov 20263610041043 out of 100
#107made-with-mlMLOps course with code for training, tuning, and serving a text classifier50.3k starsMITlast commit Mar 202694470042 out of 100
#108practical_rlOpen reinforcement learning course with weekly lectures and Jupyter notebook labs6.6k starsUnlicenselast commit Oct 2026617010042 out of 100
#109llm-masterChinese-language study roadmap and articles for LLM application development1.8k stars+260 (+17%) in 30 daysMITlast commit Nov 20261910022042 out of 100
#110devops-ai-guidelinesWritten guides for DevOps engineers learning to build and adopt AI agents1.6k starsMITlast commit Nov 20261510020041 out of 100
#111llm-universeChinese-language course on building a RAG knowledge-base assistant with LLM APIs14.4k starsno licenselast commit Nov 2026787020040 out of 100
#112python-machine-learning-bookJupyter notebooks for the first edition of Python Machine Learning12.7k starsMITlast commit Jul 202676590040 out of 100
#113googlesamples/mlkitAndroid and iOS quickstart apps for Google's ML Kit on-device APIs4.3k starsApache-2.0last commit Oct 2026497016040 out of 100
#114nndl-practicePyTorch notebooks for a Chinese deep learning textbook, from tensors to LLM agents3.6k starsno licenselast commit Sep 20264210023040 out of 100
#115build-your-own-openclawStep-by-step Python tutorial building a lightweight OpenClaw-style agent1.9k starsMITlast commit Nov 20262410010040 out of 100
#116how-to-build-a-coding-agentGo workshop that builds a Claude-based coding agent in six steps5.9k starsno licenselast commit Oct 2026581007039 out of 100
#117large-language-model-notebooks-courseNotebook course on building LLM apps with OpenAI, LangChain, Hugging Face1.8k starsMITlast commit Sep 20262110010039 out of 100
#118hello-clawChinese-language course on installing, using and extending OpenClaw2.2k starsno licenselast commit Nov 20262710032038 out of 100
#119llm-courseFree LLM course with roadmaps and Colab notebooks for fine-tuning and quantization85.3k starsApache-2.0last commit Feb 202698250037 out of 100
#120fun-recChinese-language textbook on recommender systems, from cascades to generative models7.5k starsno licenselast commit Jun 2026657611036 out of 100
#121pyprobmlNotebooks that reproduce figures from the Probabilistic Machine Learning books7.2k starsMITlast commit Feb 2026642333036 out of 100
#122machine-learning-refinedTextbook notebooks for learning machine learning by implementing it from scratch2.3k starscustom licenselast commit Oct 202629867036 out of 100
#123machine-learning-visualizedJupyter Book deriving and animating classic ML algorithms from first principles2.1k starsMITlast commit Aug 202626960036 out of 100
#124the-little-book-of-ml-metricsOpen-source handbook explaining ML metrics, from accuracy to obscure ones1k starsno licenselast commit Nov 2026210050036 out of 100
#125context-engineeringHandbook and code examples for designing what goes into an LLM's context9.3k starsMITlast commit Feb 2026703304035 out of 100
#126transformer-explainerInteractive browser visualization of how GPT-2 predicts the next token Live demo ↗ (opens in a new tab)9.2k starsMITlast commit Jun 202670480035 out of 100
#127frontier-evalsEval code for paper replication, freelance coding and smart contract security1.3k starsMITlast commit Oct 2026101007035 out of 100
#128base-llmChinese-language course from NLP basics to LLM fine-tuning and deployment1.2k starsno licenselast commit Sep 2026510045035 out of 100
#129reinforcement-learningPyTorch reference implementations of classic and deep RL algorithms, one file each3.7k starsMITlast commit Jun 202643710034 out of 100
#130drl-zhHands-on deep reinforcement learning course in exercise notebooks2.3k starsMITlast commit May 2026287503034 out of 100
#131e2b-cookbookRunnable examples for running LLM-generated code in E2B sandboxes1.4k starsno licenselast commit Nov 20261210033034 out of 100
#132ai-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 2026388917033 out of 100
#133llm-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 202665750032 out of 100
#134practicalai-cnChinese translation of practicalAI machine learning notebooks using PyTorch6.9k starsMITlast commit Apr 202663450032 out of 100
#135generative_ai_with_langchainCompanion code for the Packt book on LangChain and LangGraph apps1.5k starsMITlast commit Aug 202613940032 out of 100
#136roboflow/notebooksJupyter notebooks for computer vision models, with Colab and Kaggle links9.8k starsno licenselast commit Aug 202671650031 out of 100
#137llm-twin-courseCourse and code for building an end-to-end LLM and RAG system4.4k starsMITlast commit Apr 202651520031 out of 100
#138local-llmHardware build guide and vLLM configs for running large LLMs on 4 GPUs1.9k starsno licenselast commit Jul 2026228133031 out of 100
#139dl-hubPyTorch course with 339 runnable deep learning lessons and a model registry1.1k starsMITlast commit Aug 202651000031 out of 100
#140deep-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 202688120030 out of 100
#141unetKeras U-Net for binary image segmentation on the ISBI membrane dataset4.9k starsMITlast commit Mar 202655430029 out of 100
#142pi-textbookChinese-language course for building a Pi-style coding agent in TypeScript1.4k starsMITlast commit Jul 202613860029 out of 100
#143scimlbookMIT lecture notes on parallel computing and scientific machine learning2.1k starsno licenselast commit Nov 2026257030027 out of 100
#144homemade-machine-learningFrom-scratch Python implementations of classic ML algorithms with Jupyter demos Live demo ↗ (opens in a new tab)24.9k starsMITlast commit Nov 2025no commits in a year8700026 out of 100
#145langchain-chinese-getting-started-guideChinese-language LangChain tutorial with runnable OpenAI examples9.1k starsno licenselast commit Apr 202669520026 out of 100
#146second-brain-ai-assistant-courseSix-module course building an agentic RAG assistant over Notion notes3.2k starsMITlast commit Apr 202639470026 out of 100
#147llama-cookbookOfficial Meta notebooks for running, fine-tuning and building apps with Llama models18.6k starsMITlast commit Nov 2025no commits in a year8300025 out of 100
#148claw0Ten-section Python tutorial for building an agent gateway from scratch3.5k starsno licenselast commit Jun 202641770025 out of 100
#149llm-agents-ecosystem-handbookHandbook of agent-stack guides, templates and a multi-provider LLM adapter564 starsMITlast commit Jun 202617701525 out of 100
#150introtodeeplearningJupyter notebook labs for MIT's Introduction to Deep Learning course8.9k starsMITlast commit Jan 20266890023 out of 100
#151machine-learning-specialization-courseraSolved notebooks for Andrew Ng's Coursera Machine Learning Specialization8.2k stars+102 (+1.3%) in 30 daysMITlast commit Dec 202566110023 out of 100
#152snakeSnake game player using graph search and a Double DQN agent1.8k starsMITlast commit Apr 202619510021 out of 100
#153deep-q-learningMinimal DQN and Double DQN agents in Keras and Gymnasium1.3k starsMITlast commit May 202610620021 out of 100
#154ml-nlpChinese-language ML and NLP interview study notes with code examples17.8k starsno licenselast commit Jan 202681150019 out of 100
#155ai-engineering.academyStructured learning paths and notebooks for applied generative AI engineering2.4k starsMITlast commit Feb 202629330019 out of 100
#156musicinformationretrieval.comJupyter notebooks teaching music information retrieval with Python Live demo ↗ (opens in a new tab)1.3k starsMITlast commit May 20269440016 out of 100
#157tiny-universeChinese-language tutorials building LLM, RAG and agent parts from scratch in PyTorch5.2k starsno licenselast commit Feb 202656270015 out of 100
#158learn-agentic-aiCourse material for building agents with OpenAI Agents SDK, Dapr and Kubernetes4.4k starsMITlast commit Oct 2025no commits in a year5100015 out of 100
#159handy-ollamaChinese-language Ollama tutorial for local model deployment and apps2.6k starscustom licenselast commit Jan 202632170015 out of 100
#160tvm-cnChinese translation of the Apache TVM deep learning compiler documentation4k starsApache-2.0last commit Nov 2025no commits in a year4500014 out of 100
#161clueChinese language understanding benchmark with datasets, baselines and leaderboard4.3k starsno licenselast commit Feb 202648250012 out of 100
#162efficient-dl-systemsUniversity course materials on efficient GPU training and inference of deep learning1.1k starsMITlast commit Mar 20263380012 out of 100
#163deeplearing-interview-awesome-2024Chinese-language deep learning and LLM interview question collection2.9k starsno licenselast commit Mar 202635350011 out of 100
#164machine_learning_code_implementationCompanion code for a Chinese ML textbook covering 26 classic algorithms1.6k starsno licenselast commit Apr 202615550011 out of 100
#165deeplearning4j-examplesMaven example projects for the Deeplearning4J JVM deep learning stack2.5k starscustom licenselast commit Nov 2025no commits in a year320009 out of 100
#166evaluation-guidebookWritten guide to evaluating LLMs, from benchmarks to LLM-as-a-judge2.2k starscustom licenselast commit Dec 2025271008 out of 100
#167alfredBenchmark and baseline models for following household instructions in AI2-THOR533 starsMITlast commit Feb 2026125008 out of 100
#168machine-learning-experimentsJupyter notebooks and in-browser demos of small TensorFlow 2 models Live demo ↗ (opens in a new tab)1.8k starsMITlast commit Nov 2025no commits in a year210006 out of 100
#169ava-whatsapp-agent-courseCourse building a WhatsApp agent with LangGraph, voice, vision and memory1.7k starsMITlast commit Oct 2025no commits in a year180005 out of 100
#170pytorch_fundamentalsJupyter notebook tutorial covering PyTorch tensor basics1.1k starsMITlast commit Jan 2026314005 out of 100
#171philoagents-courseSix-module course building LLM-driven philosopher NPCs with LangGraph agentic RAG1.6k starsMITlast commit Oct 2025no commits in a year150004 out of 100

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.

Reviews

192 out of 100

ai-engineering-from-scratch

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
  • Needs Python 3.10+, Node.js 22.18+ (agent trace project, tutor skills), Rust (tool call firewall project)
288 out of 100

ai-agent-book

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
386 out of 100

cs249r_book

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.

Strengths

  • Textbook paired with runnable parts: TinyTorch, browser Marimo labs, simulator, hardware kits
  • Instructor hub with syllabi and Beamer slides for every chapter
  • Hardware kits target Arduino, Seeed, Grove and Raspberry Pi devices
  • Translations available in Chinese, Japanese and Korean

Weaknesses

  • Volumes III and IV are open drafts; author asks readers not to cite or teach from them
  • Volume II is still in active revision
  • License is per component rather than one license
  • Translations lag the English README; labs and StaffML are early releases
#483 out of 100

generative-ai-for-beginners

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
#582 out of 100

ai-for-beginners

24-lesson AI curriculum with notebooks in PyTorch and TensorFlow

Live demo ↗ (opens in a new tab)71.4k starsMITlast commit Nov 2026

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
  • Needs Jupyter, PyTorch, TensorFlow, Keras, OpenCV
#682 out of 100

agents-towards-production

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
  • Covers concrete stack pieces: LangGraph, Redis, Mem0, FastAPI, Docker, RunPod, Inngest
  • Actively maintained: last commit 2026-11-15, last release 2026-10-26

Weaknesses

  • Many tutorials are sponsor-contributed and tied to specific commercial services
  • Several tutorials need third-party accounts or API keys (Tavily, Bright Data, RunPod)
  • README is heavy with sponsor logos, book promotion and newsletter links
  • License is detected as NOASSERTION, so reuse terms are unclear
  • GPU optional
  • Needs LangGraph, Redis, Mem0, Tavily, Bright Data, RunPod, Inngest, Contextual AI
#780 out of 100

ai-agents-for-beginners

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)
#879 out of 100

awesome-llm-apps

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)
  • Models: Claude, Gemini, GPT, DeepSeek, Llama
#979 out of 100

machine-learning-for-trading

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
  • Covers overfitting controls: walk-forward CV, Deflated Sharpe Ratio, White's Reality Check
  • Second edition kept intact on the second-edition branch

Weaknesses

  • Written to accompany a paid book; the book carries no code listings
  • Some case studies need real compute or licensed data, per the README
  • Wide dependency stack (Polars, PyTorch, Optuna and more) makes setup heavy
  • README embeds course and workshop promotion that changes daily
  • Compose
  • Needs Docker, Interactive Brokers, Alpaca, QuantConnect
  • Models: XGBoost, LightGBM, CatBoost, PyTorch
#1079 out of 100

ai-infra-book

A quantitative book on AI infrastructure design, with calculation tools

Live demo ↗ (opens in a new tab)8.4k starsApache-2.0last commit Nov 2026

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
  • GPU optional
  • Needs Git LFS, Pandoc, XeLaTeX
  • Models: Qwen3-8B
  • port 8000
#1178 out of 100

openai-cookbook

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
  • no GPU
  • Needs OpenAI API key
  • Models: OpenAI API models
#1277 out of 100

llms-from-scratch

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
  • GPU optional
  • Needs PyTorch, Jupyter, Ollama (optional, chapter 7 evaluation)
  • Models: GPT-2, Llama 3.2, Qwen3, Gemma 3, Olmo 3
#1377 out of 100

awesome-ai-apps

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
  • Needs Nebius Token Factory, OpenAI API, Exa, Firecrawl, LiveKit, Pipecat, Memori
  • Models: Nebius Token Factory, OpenAI, Google Gemini
#1476 out of 100

ml-for-beginners

12-week, 26-lesson classic machine learning course using Scikit-learn

Live demo ↗ (opens in a new tab)92.5k starsMITlast commit Nov 2026

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
  • no GPU
  • Needs Python, Scikit-learn, Jupyter, R (optional)
#1576 out of 100

rag_techniques

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
#1675 out of 100

genai_agents

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
  • Models: OpenAI, Gemini, Claude, Groq
#1775 out of 100

ml-engineering

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
  • GPU optional
  • Needs PyTorch, SLURM
#1875 out of 100

train-llm-from-scratch

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
#1974 out of 100

claude-cookbooks

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)
  • Models: Claude (Haiku, Opus)
#2074 out of 100

artificial-intelligence-deep-learning-machine-learning-tutorials

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
  • RAM ≥ 8 GB
  • no GPU
  • Needs Python, Jupyter, numpy
#2173 out of 100

google-gemini/cookbook

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
  • Models: Gemini 4 Hydrogen, Gemini 4 Neon, Gemini 4 Carbon, Gemini 4 Argon, Gemini 3.8 Flash
#2273 out of 100

mcp-for-beginners

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
  • Spans basics to production: auth, RBAC, OAuth2, Entra ID, scaling, deployment
  • Includes a 13-lab PostgreSQL-backed MCP server path as a capstone
  • Tracks the 2026-07-28 spec with a migration guide; 50+ translations

Weaknesses

  • Some hands-on examples are pinned to spec 2025-11-25 until SDKs catch up
  • Several modules lean on Azure, Microsoft Foundry and Entra ID
  • Cloning with 50+ translations is large unless sparse checkout is used
  • Course material only; it does not ship a reusable MCP server or library
  • Needs Azure, Microsoft Foundry, PostgreSQL
#2373 out of 100

ai-coding-guide-zh

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
  • Models: Claude, OpenAI, Ollama
#2472 out of 100

agentguide

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
  • Covers agent harness, context engineering, MCP, RAG, eval and agentic RL topics
  • Includes an interview question bank (1500+ claimed) and resume guidance
  • Links to external resources such as learn-workbuddy and hello-agents instead of duplicating them

Weaknesses

  • Written in Chinese; English readers need translation
  • No license detected, so reuse terms are unclear
  • Much of the README is job-search advice rather than runnable code
  • Many topics point to third-party material rather than original content
  • no GPU
#2571 out of 100

hello-agents

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
  • Needs LLM API access
  • Models: OpenAI-compatible APIs
#2671 out of 100

learn-claude-code

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)
  • Models: Claude
#2771 out of 100

all-agentic-architectures

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
  • no GPU
  • Docker + Compose
  • Needs LangGraph, FAISS (optional extra), Tavily (optional extra), Playwright (BrowserAgent), LLM provider API key
  • Models: Nebius, OpenAI, Anthropic, Groq, Ollama
#2870 out of 100

transformers-tutorials

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
  • Models: DETR, LayoutLM, LayoutLMv2, LayoutLMv3, Donut
#2970 out of 100

ailearning-theory-applying

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
#3069 out of 100

self-llm

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
  • Needs Linux, vLLM, Ollama, llama.cpp, LM Studio, LangChain, SwanLab
  • Models: Qwen, LLaMA, ChatGLM, GLM, InternLM

Reviews for the top 30 of 171. Every project below them is ranked in the table above and has its own page with its review.

Written from each project's README and checked facts. Spot something wrong? Report it on GitHub (opens in a new tab).