ai-engineering-from-scratch vs generative-ai-for-beginners

Two of the top projects in Learning and cookbooks, side by side: who leads on each score part and who each one suits, then setup, license, activity and what each review found.

11st of 171 in Learning and cookbooks

ai-engineering-from-scratch

Free curriculum of 542 coding lessons on building AI systems from scratch

#44th of 171 in Learning and cookbooks

generative-ai-for-beginners

21-lesson course on building generative AI apps in Python and TypeScript

Verdict

ai-engineering-from-scratch ranks higher, 92 to 83. Of the 4 score parts we measure for both, ai-engineering-from-scratch leads on 2, generative-ai-for-beginners on 1 and 1 is even.

  • Adoptiongenerative-ai-for-beginners leads by 2 points, 99 to 97: close to even.
  • FreshnessEven at 100.
  • Maintenanceai-engineering-from-scratch leads by 27 points, 94 to 67: a wide gap.
  • Agent-readyai-engineering-from-scratch leads by 15 points, 45 to 30: a wide gap.

Pick ai-engineering-from-scratch if you are

Developers learning to build AI systems by writing the code themselves

  • 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)

Pick generative-ai-for-beginners if you are

Developers new to building LLM applications

  • Covers 21 lessons from LLM basics to RAG, agents and fine-tuning
  • Build lessons include code in both Python and TypeScript
ai-engineering-from-scratch vs generative-ai-for-beginners: score parts and facts
What we compareai-engineering-from-scratchgenerative-ai-for-beginners
Score parts, out of 100
Adoption97, widely used99, widely used
Freshness100, active100, active
Maintenance94, healthy67, fair
Agent-ready45, minimal30, minimal
Facts from GitHub and the README
Stars81.1k124.5k
LicenseMIT (permissive)MIT (permissive)
Last commitNov 2026Nov 2026
Last releaseNov 2026None published
LanguagePythonJupyter Notebook
DockerNoNo
GPUNot statedNot needed
arm64 or Apple SiliconMentionedNot stated

ai-engineering-from-scratch

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.

Who it is for: Developers learning to build AI systems by writing the code themselves

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)

generative-ai-for-beginners

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.

Who it is for: Developers new to building LLM applications

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

More in Learning and cookbooks

Building with these?

We help teams pick an open-source AI stack and run it in production. Client work never changes a rank.