Twenty-one lessons, start wherever you like. That is how Microsoft’s Cloud Advocates describe “Generative AI for Beginners,” a free course published as an open GitHub repository. The README says each lesson covers its own topic, so a reader curious only about chatbots can skip straight to them.
How the course is built
Every lesson carries one of two labels, according to the README. “Learn” lessons explain a concept. “Build” lessons explain a concept and add code examples in Python and TypeScript where possible. Each lesson has a short video introduction, a written lesson in the README, code samples that support Azure OpenAI and the OpenAI API, and links to further reading. A “Keep Learning” section closes each one.
The syllabus runs from setup and an introduction to generative AI and large language models, through choosing between models and using AI responsibly, to prompt engineering. The build lessons cover text generation apps, chat applications, search apps with vector databases, image generation and low-code AI applications. Later lessons deal with function calling, designing user experience for AI apps, securing them and managing the application lifecycle. The last stretch takes in retrieval augmented generation, open source models on Hugging Face, AI agents and fine-tuning. The final three lessons look at small language models, Mistral models and Meta models, and their videos are still marked “Coming Soon.”
What you need to run it
Learners need a GitHub account to fork the repository, and the README calls basic knowledge of Python or TypeScript helpful. For people who have never coded, it points to separate beginner courses in both languages. The code can run against Azure OpenAI Service, Microsoft Foundry Models, the OpenAI API, or Foundry Local, which runs models fully offline on a personal device with no cloud subscription. The README also warns that GitHub Models was retiring at the end of July 2026 and tells readers to use Microsoft Foundry Models instead.
A practical note on size: the repository includes more than 50 language translations, which increases the download considerably. The README offers a sparse checkout that leaves the translations out, “much faster” according to the authors, and still gives everything needed to finish the course. Support comes through Microsoft’s Foundry Discord server and a developer forum on GitHub, and readers can raise an issue or submit a pull request for errors.
This is Version 3 of the course, and there is a separate .NET edition for developers on that stack. It is a teaching resource rather than production software. For more advanced samples, Microsoft points readers to a separate collection of generative AI code samples in Python and TypeScript.





