BuildTube Preview About
Back to the feed

generative-ai-for-beginners: 21 free lessons to start building with generative AI

Added · Updated

Learn to build apps with generative AI, from writing good prompts to making chat, search and image-generation apps.

Microsoft’s 21-lesson course, written by Microsoft Cloud Advocates, is for beginners with some Python or TypeScript who want the engineering view. Lessons are marked Learn (a concept explained) or Build (the concept plus code in Python and TypeScript where possible). Later lessons cover RAG (letting a model look up your data before answering), function calling (letting a model trigger your code), agents, fine-tuning and small language models. Microsoft says each lesson covers its own topic, so you can start wherever you like.

What it does

Each lesson covers one building block — how prompting works, what language models can and cannot do, how to build small apps on top of them — with examples you can follow along with.

How to use it

Open a lesson in the browser and read it or watch its short video. To run the Build lessons, fork the repository (the source gives a sparse clone command that skips the translations), follow the Course Setup lesson, and choose a model provider: Azure OpenAI, Microsoft Foundry Models, the OpenAI API, or Foundry Local on your own device. Code files are named by provider, such as aoai-assignment or oai-assignment, and running one sends your prompt to that provider and shows the reply.

Common use cases

  • Follow lesson 6 to build a text generation app: type a prompt and get generated text back from Azure OpenAI or the OpenAI API.
  • Follow lesson 8 to build a search app that turns your data into embeddings (lists of numbers that capture meaning) and returns the closest matches to a question.
  • Follow lesson 9 to build an image generation app that turns a written description into a picture.

Can I use this?

Runs in your browser

Requirements Reading needs only a web browser. Running the code needs access to one of the listed providers: Azure OpenAI Service, Microsoft Foundry Models, the OpenAI API, or Foundry Local, which runs models offline with no cloud subscription. Basic Python or TypeScript helps, and a GitHub account is needed to fork the repository. The source does not list hardware requirements.

Caveat Model services change: the source notes GitHub Models is retiring and points those lessons to Microsoft Foundry Models instead. The newest lessons do not have videos yet.

Worth knowing An introduction: model APIs and best practices change quickly, so treat specifics as a starting point. Following the code needs access to one of the model providers the course lists. Licensed under MIT.

Why it's here

  • 526 people starred it on GitHub this week — 123,127 in total.

Numbers as of 8 November 2026, from BuildTube’s latest daily refresh.

Behind it

View source

BuildTube has not run or verified this project. Everything above is written from what the creator published.

Made this?

Quick questions

What is generative-ai-for-beginners?
Each lesson covers one building block — how prompting works, what language models can and cannot do, how to build small apps on top of them — with examples you can follow along with.
What can I use generative-ai-for-beginners for?
Follow lesson 6 to build a text generation app: type a prompt and get generated text back from Azure OpenAI or the OpenAI API; Follow lesson 8 to build a search app that turns your data into embeddings (lists of numbers that capture meaning) and returns the closest matches to a question; Follow lesson 9 to build an image generation app that turns a written description into a picture
Can I run generative-ai-for-beginners on my computer?
No install needed: it runs in your web browser. The source does not list hardware requirements.
What do I need to use generative-ai-for-beginners?
A browser to read; following along needs access to the AI tools each lesson uses.
What license does generative-ai-for-beginners use?
Licensed under MIT.

More from this week

Explore by topic

Post this

A ready-made picture of this card for X, LinkedIn or a group chat. Link to this page alongside it.

Share image for generative-ai-for-beginnersDownload share image

For makers

Made this? Show it’s on BuildTube — add the badge to your README or embed the card on your site.

Featured on BuildTube

README badge (Markdown)

[![Featured on BuildTube](https://buildtube.app/badge/gh-microsoft-generative-ai-for-beginners.svg)](https://buildtube.app/p/gh-microsoft-generative-ai-for-beginners/)

Embed card (HTML)

<iframe src="https://buildtube.app/embed/gh-microsoft-generative-ai-for-beginners/" width="560" height="240" style="border:0;max-width:100%" loading="lazy" title="generative-ai-for-beginners on BuildTube"></iframe>

Back to the feed