Skip to content

AI Agents for Beginners vs Generative AI for Beginners

Which should you use? A side-by-side look at what each one does, who it suits, what it costs, how hard it is to set up, and where each falls short.

AI Agents for Beginners

Open source · MIT

A free course of 18 lessons teaching beginners how to build AI agents, with Python code samples.

Generative AI for Beginners

Open source · MIT

A free 21-lesson course for learning to build generative AI apps, with Python and TypeScript code.

Our verdict

Both are free, MIT-licensed Microsoft-backed courses made of self-contained lessons, so this is a choice of topic rather than quality. AI Agents for Beginners teaches you to build agents that take actions, using Microsoft Agent Framework and Microsoft Foundry, and it expects an Azure account. Generative AI for Beginners teaches the broader basics of building apps on generative AI models in Python or TypeScript, and it assumes you already know some programming.

Pick AI Agents for Beginners if you already know basic generative AI and want to learn how to build agents with code.

Pick Generative AI for Beginners if you already know some Python or TypeScript and want a broad introduction to building generative AI apps.

Key differenceAI Agents for BeginnersGenerative AI for Beginners
Core focusBuilding AI agents, including how agentic systems are structuredBuilding generative AI apps across many lessons and topics
Code languagesPython code samples in Jupyter-style notebooksPython and TypeScript code, with some Build lessons
Required accountsMain path requires Microsoft Foundry and an Azure accountNeeds a model provider such as Azure OpenAI, OpenAI API, or Foundry Local
Lesson count18 lessons with text, video, and code21 lessons labeled Learn or Build
Programming prerequisiteAimed at developers who know basic generative AIRequires some Python or TypeScript knowledge first

Written with AI from both products' catalogue entries · updated 2026-10-29

Who each one is for

Choose AI Agents for Beginners if you need…

  • Developers new to AI agents who want guided lessons with code
  • Students learning how agentic AI systems are structured
  • People who already know basic generative AI and want to move to agents
  • Readers who prefer working through example code in Jupyter-style notebooks

Choose Generative AI for Beginners if you need…

  • Developers who know some Python or TypeScript and want a guided introduction to generative AI
  • Students who want a free, self-paced course with hands-on code
  • Learners who want to work through lessons in any order
  • People who want to use Azure OpenAI, OpenAI API, or Foundry Local for practice

Side-by-side

AI Agents for BeginnersGenerative AI for Beginners
TypeLearning resourceLearning resource
PriceFree and open sourceFree and open source
LicenceMITMIT
GitHub stars78.7k123k
Setup difficultyBeginnerBeginner
How you get itClone and build from sourceClone and build from source
Main languageJupyter NotebookJupyter Notebook
Last code update4 days ago5 days ago

What each one is

AI Agents for Beginners

This is a course, not a software product, that teaches the basics of building AI agents. Each lesson has a written guide, a short video, and Python code samples built on Microsoft Agent Framework and Microsoft Foundry Agent Service. You can start with any lesson, since each covers its own topic.

Generative AI for Beginners

This is a structured course made of 21 lessons that teach the basics of building applications on top of generative AI models. Each lesson covers its own topic, so you can start wherever you like. Lessons are labeled either as 'Learn' lessons explaining a concept or 'Build' lessons that pair a concept with code examples, often in Python and TypeScript. It is written by Microsoft Cloud Advocates.

Best for

AI Agents for Beginners

  • Developers new to AI agents who want guided lessons with code
  • Students learning how agentic AI systems are structured
  • People who already know basic generative AI and want to move to agents
  • Readers who prefer working through example code in Jupyter-style notebooks

Generative AI for Beginners

  • Developers who know some Python or TypeScript and want a guided introduction to generative AI
  • Students who want a free, self-paced course with hands-on code
  • Learners who want to work through lessons in any order
  • People who want to use Azure OpenAI, OpenAI API, or Foundry Local for practice

Strengths

AI Agents for Beginners

  • Free, MIT-licensed, and organised as 18 lessons with text, video, and code
  • Lessons can be read in any order, so you can jump to the topic you need
  • Includes translations into many languages, according to the README

Generative AI for Beginners

  • Free and open source under the MIT license
  • Lessons can be taken in any order and each covers its own topic
  • Includes code in Python and TypeScript and links to extra resources

Not ideal for

AI Agents for Beginners

  • People who want a ready-made agent product to use without coding, since this teaches building agents
  • Those without an Azure account, because the README says the main path requires Microsoft Foundry (Azure Account Required)
  • Readers looking for a framework-neutral comparison, since the examples centre on Microsoft tools

Generative AI for Beginners

  • Absolute beginners to programming, since the README recommends separate Python or TypeScript courses first
  • People looking only for a finished product or app, since this is a course rather than software to run
  • People who need .NET-specific material as the main focus, since the README points to a separate .NET edition

Trade-offs

AI Agents for Beginners

  • The examples depend on Microsoft Foundry and an Azure account, which may cost money
  • The README does not describe a fixed schedule or prerequisites beyond the setup course, so the time commitment is unclear
  • Some lessons may depend on specific Microsoft framework versions that change over time

Generative AI for Beginners

  • The README notes GitHub Models is retiring at the end of July 2026, so some setup paths may change
  • Needs access to a model provider such as Azure OpenAI, OpenAI API, or Foundry Local
  • The repo is large because of 50+ translations, so cloning requires sparse checkout for a faster download

Getting started

AI Agents for Beginners

Clone the repository with sparse checkout (skips translations, faster download)

git clone --filter=blob:none --sparse https://github.com/microsoft/ai-agents-for-beginners.git

Enter the project folder and set sparse checkout (Bash / macOS / Linux)

cd ai-agents-for-beginners && git sparse-checkout set --no-cone '/*' '!translations' '!translated_images'
Step-by-step guide: how to use AI Agents for Beginners

Generative AI for Beginners

Clone without translations (Bash / macOS / Linux, sparse checkout)

git clone --filter=blob:none --sparse https://github.com/microsoft/generative-ai-for-beginners.git

Enter the repo folder

cd generative-ai-for-beginners
Step-by-step guide: how to use Generative AI for Beginners

Frequently asked questions

Should I use AI Agents for Beginners or Generative AI for Beginners?

Both are free, MIT-licensed Microsoft-backed courses made of self-contained lessons, so this is a choice of topic rather than quality. AI Agents for Beginners teaches you to build agents that take actions, using Microsoft Agent Framework and Microsoft Foundry, and it expects an Azure account. Generative AI for Beginners teaches the broader basics of building apps on generative AI models in Python or TypeScript, and it assumes you already know some programming. Pick AI Agents for Beginners if you already know basic generative AI and want to learn how to build agents with code. Pick Generative AI for Beginners if you already know some Python or TypeScript and want a broad introduction to building generative AI apps.

What is the difference between AI Agents for Beginners and Generative AI for Beginners?

AI Agents for Beginners: A free course of 18 lessons teaching beginners how to build AI agents, with Python code samples. Generative AI for Beginners: A free 21-lesson course for learning to build generative AI apps, with Python and TypeScript code. AI Agents for Beginners suits developers new to ai agents who want guided lessons with code, while Generative AI for Beginners suits developers who know some python or typescript and want a guided introduction to generative ai.

Are AI Agents for Beginners and Generative AI for Beginners free?

AI Agents for Beginners: Free and open source. Generative AI for Beginners: Free and open source.

Is AI Agents for Beginners or Generative AI for Beginners more popular?

Generative AI for Beginners has more GitHub stars (123k) than AI Agents for Beginners (78.7k). Popularity isn't the same as fit — check which one matches your use case above.

What are other alternatives to AI Agents for Beginners and Generative AI for Beginners?

Other options people compare them with include LangChain, Semantic Kernel.

Keep comparing

Built from our catalogue entries for both products: open-source details come from each project's README (AI-assisted, refreshed weekly) and GitHub data; AI-tool details are editorial. Spotted something wrong? Let us know from either product's page.