Huashu Design
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…

Microsoft Cloud Advocates’ free course on building generative AI apps, in 21 lessons. Learn lessons explain a concept, and Build lessons add Python and TypeScript code where possible. The setup notes cover Codespaces, a local install and each model provider.
Generative AI for Beginners is an open-source project on GitHub in the Education category, listed by Mindket. It is free. This is version 2, last updated on . Install it from GitHub as its README says. Get Mindket’s setup notes on your Mindket account, as a zip.
git clone https://github.com/<your-github>/generative-ai-for-beginners cd generative-ai-for-beginners python -m venv .venv
Generative AI for Beginners is a free course from Microsoft Cloud Advocates, kept as a GitHub repository under the MIT license. Its README says the course has 21 lessons and that each one covers its own topic, so you can start where you like. A “Learn” lesson explains a concept. A “Build” lesson explains a concept and adds code in Python and TypeScript where possible. The README says each lesson includes a short video, a written lesson and links to extra learning, though its table marks a few videos as coming soon.
Developers who are new to generative AI and know a little Python or TypeScript. The README calls that knowledge helpful and links a Python course and a TypeScript course for absolute beginners. This is a teaching repository, and AGENTS.md says its examples are intentionally simple and not production code.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Software teams | Developers adding a first LLM feature | Read the lessons on prompts, function calling and security before they design the feature | A developer reads Lessons 04, 11 and 13 before writing the spec for a support chatbot. |
| Self-taught learners | Programmers who know Python or TypeScript | Start at any lesson, since each one covers its own topic | A TypeScript developer starts at Lesson 06 and runs its recipe app. |
| Teachers and study groups | Instructors and learners working together | Fork the repository, read the Learn lessons and run the Build lessons as labs | An instructor forks the repository for a class and assigns Lesson 03, on responsible use, as reading. |
| Offline learners | People without a cloud subscription | Run models on their own device with Foundry Local or Ollama. The Providers page says Foundry Local’s OpenAI-compatible endpoint lets you reuse most of the sample code with minimal changes. | A learner installs Foundry Local with winget, then changes a sample’s client to point at its OpenAI-compatible endpoint. |
Skip it if you want a finished app to deploy. The README points to a separate collection of code samples for more advanced work, and to a separate .NET edition.
The course is Markdown lessons, Python and TypeScript samples and Jupyter notebooks, so it runs wherever those do. The Course Setup page recommends a GitHub Codespace.
The code reaches a model through a provider, and an assignment that needs a specific provider carries its tag in its filename.
| Provider | Filename tag | What you need |
|---|---|---|
| Azure OpenAI in Microsoft Foundry | aoai | An endpoint, a key and a chat model deployment |
| OpenAI API | oai | An API key from your OpenAI account |
| Hugging Face | hf | An access token from your profile |
| Microsoft Foundry Models | githubmodels | An endpoint and a key from your Foundry project |
| Foundry Local or Ollama | none listed | Foundry Local needs no key (the Providers table says “Not required”). The pages give no key details for Ollama |
Get it saves a zip of Mindket’s setup notes in your downloads folder, with each path’s steps from Microsoft’s setup pages. The main route is a fork opened in a Codespace, or a local clone with a Python virtual environment.
| Need | Detail |
|---|---|
| A GitHub account | To fork the repository, which the Course Setup page asks for |
| Python | 3.12, the version the .python-version file names (3.12.10). The pinned numpy 2.4.2 and pandas 3.0.0 need 3.11 or newer on PyPI. The Local Setup page says 3.10 or newer and AGENTS.md says 3.9 or newer |
| Git | The latest version, for a local clone |
| Node.js | Only for the TypeScript samples. The pages give no version |
| Docker Desktop | Only for the Dev Container path |
| A model provider | Needed to run the code. The Course Setup page says the coding lessons use Azure OpenAI in Microsoft Foundry, with an Azure subscription and an API key. The Providers page says you can configure one, none or all providers. |
git clone https://github.com/<your-github>/generative-ai-for-beginners cd generative-ai-for-beginners python -m venv .venv source .venv/bin/activate pip install -r requirements.txt cp .env.copy .env
On Windows PowerShell, the Local Setup page activates the environment with this line instead of the source line.
.\.venv\Scripts\activate
The repository holds many translations, which make a clone large. The README gives a sparse checkout that leaves them out.
git clone --filter=blob:none --sparse https://github.com/microsoft/generative-ai-for-beginners.git cd generative-ai-for-beginners git sparse-checkout set --no-cone '/*' '!translations' '!translated_images'
Start anywhere. Read a Learn lesson’s README. For a Build lesson, open its folder and run the sample for the provider you set up. AGENTS.md gives this pattern for a Python sample:
cd 06-text-generation-apps/python python aoai-app.py
The oai files use the OpenAI API, the aoai files use Azure OpenAI and the githubmodels files use Foundry Models. For Lesson 06 in TypeScript, AGENTS.md gives these lines:
cd 06-text-generation-apps/typescript/recipe-app npm install npm run build npm start
Notebooks open in Jupyter or VS Code. The Local Setup page’s example is 08-building-search-applications/python/oai-solution.ipynb.
You want to try Lesson 06 on your own OpenAI account. You open a Codespace from your fork and save OPENAI_API_KEY as a Codespaces secret, which the Cloud Setup page says the code picks up. In its terminal you run:
cd 06-text-generation-apps/python python oai-app.py
The script sends the prompt “Complete the following: Once upon a time there was a” to the gpt-5-mini model and prints the reply. To see how the wording steers the answer, open the file, change the prompt and run it again.
If you are new. A large language model, or LLM, is the kind of model behind chat tools. Your code sends it text through an API and gets text back. Lesson 01 explains what generative AI is and how LLMs work, and Lesson 02 helps you choose a model. Start with Lesson 01. You can read before you set up any account, because each coding lesson’s README shows its code and outputs.
For experts. AGENTS.md sets the model rules. The default chat model is gpt-5-mini, a reasoning model that rejects temperature and top_p and takes max_output_tokens or max_completion_tokens in place of max_tokens. The temperature demos use a Llama model through the Foundry Models endpoint, named by AZURE_INFERENCE_CHAT_MODEL.
Lesson 18 keeps gpt-4.1-mini because GPT-5 only supports reinforcement fine-tuning. Lessons 20 and 21 keep temperature and max_tokens because they target Mistral and Llama models. In TypeScript, the openai package serves Azure OpenAI through the /openai/v1/ endpoint and the Responses API, and @azure-rest/ai-inference serves Foundry Models.
The Providers page says Foundry Local exposes an OpenAI-compatible endpoint, so you can reuse most of the sample code with minimal changes.
The lessons and code sit on your machine or in your Codespace, but every model call goes to the cloud provider you configure unless you run Foundry Local or Ollama.
This kit holds setup notes only. Mindket wrote them. The course, its lessons, code and notebooks stay in Microsoft's repository: https://github.com/microsoft/generative-ai-for-beginners
These notes are not made or endorsed by Microsoft. The README calls the repository "Generative AI for Beginners (Version 3) - A Course" and says it teaches "the fundamentals of building Generative AI applications with our 21-lesson comprehensive course by Microsoft Cloud Advocates." The notes were written from the README and setup pages read on 3 November 2026.
License: MIT. The LICENSE file (https://github.com/microsoft/generative-ai-for-beginners/blob/main/LICENSE) reads "Copyright (c) Microsoft Corporation."
The README says the course has 21 lessons and that each one covers its own topic, so you can start wherever you like. Its table adds a setup lesson, 00, and lists 22 rows in all. A lesson is either a "Learn" lesson that explains a concept or a "Build" lesson that explains a concept and shows code in Python and TypeScript where possible. The README says each lesson includes a short video introduction, a written lesson in its README, Python and TypeScript code samples for Azure OpenAI and the OpenAI API, and links to extra learning, though its table lists "Video Coming Soon" for lessons 00, 19, 20 and 21. Source: https://github.com/microsoft/generative-ai-for-beginners/blob/main/README.md
Titles and folder names are copied from the README's table. The folder is where the lesson's README and code live.
| # | Lesson | Folder | Kind |
|---|---|---|---|
| 00 | Course Setup | 00-course-setup | Learn |
| 01 | Introduction to Generative AI and LLMs | 01-introduction-to-genai | Learn |
| 02 | Exploring and comparing different LLMs | 02-exploring-and-comparing-different-llms | Learn |
| 03 | Using Generative AI Responsibly | 03-using-generative-ai-responsibly | Learn |
| 04 | Understanding Prompt Engineering Fundamentals | 04-prompt-engineering-fundamentals | Learn |
| 05 | Creating Advanced Prompts | 05-advanced-prompts | Learn |
| 06 | Building Text Generation Applications | 06-text-generation-apps | Build |
| 07 | Building Chat Applications | 07-building-chat-applications | Build |
| 08 | Building Search Apps Vector Databases | 08-building-search-applications | Build |
| 09 | Building Image Generation Applications | 09-building-image-applications | Build |
| 10 | Building Low Code AI Applications | 10-building-low-code-ai-applications | Build |
| 11 | Integrating External Applications with Function Calling | 11-integrating-with-function-calling | Build |
| 12 | Designing UX for AI Applications | 12-designing-ux-for-ai-applications | Learn |
| 13 | Securing Your Generative AI Applications | 13-securing-ai-applications | Learn |
| 14 | The Generative AI Application Lifecycle | 14-the-generative-ai-application-lifecycle | Learn |
| 15 | Retrieval Augmented Generation (RAG) and Vector Databases | 15-rag-and-vector-databases | Build |
| 16 | Open Source Models and Hugging Face | 16-open-source-models | Build |
| 17 | AI Agents | 17-ai-agents | Build |
| 18 | Fine-Tuning LLMs | 18-fine-tuning | Learn |
| 19 | Building with SLMs | 19-slm | Learn |
| 20 | Building with Mistral Models | 20-mistral | Learn |
| 21 | Building with Meta Models | 21-meta | Learn |
.python-version file names (3.12.10). The Local Setup page says 3.10 or newer and AGENTS.md says 3.9 or newer, but the root requirements.txt pins numpy==2.4.2 and pandas==3.0.0, which PyPI lists as needing 3.11 or newer (checked on 3 November 2026).Each coding lesson's README shows its code and outputs, so you can read it without running anything. Source: https://github.com/microsoft/generative-ai-for-beginners/blob/main/00-course-setup/README.md
.env file and every variable in it.The README says the repository holds translations in 50+ languages, which "significantly increases the download size". It gives a sparse checkout that leaves them out. Source: https://github.com/microsoft/generative-ai-for-beginners/blob/main/README.md
git clone --filter=blob:none --sparse https://github.com/microsoft/generative-ai-for-beginners.git
cd generative-ai-for-beginners
git sparse-checkout set --no-cone '/*' '!translations' '!translated_images'
On Windows CMD, the README gives:
git clone --filter=blob:none --sparse https://github.com/microsoft/generative-ai-for-beginners.git
cd generative-ai-for-beginners
git sparse-checkout set --no-cone "/*" "!translations" "!translated_images"
The pages read give no update or uninstall steps. The course is a repository, so to update a clone you pull from it with Git, and to remove it you delete the folder. These two lines are Mindket's, not Microsoft's. A Codespace is stopped from the Command Palette with Codespaces: Stop Codespace, as setup/github-codespaces.md says. The Cloud Setup page also says to delete idle codespaces but gives no command for it.
The README lists more courses from the same team, among them a .NET edition of this one at https://github.com/microsoft/Generative-AI-for-beginners-dotnet, and "Generative AI Code Samples" in Python and TypeScript for more advanced code at https://aka.ms/genai-beg-code
README.md 7 KB setup/coding-agents.md 3 KB setup/dev-container.md 3 KB setup/github-codespaces.md 3 KB setup/local-python.md 4 KB setup/miniconda-and-jupyter.md 3 KB setup/model-providers.md 8 KB setup/typescript.md 3 KB
Updated by Mindket to the current version of this kit.
Listed GitHub projects in the same category that share the most topics with this one.
| Product | Stars | Activity | Language | License | Last change |
|---|---|---|---|---|---|
| Generative AI for Beginners This page | 123,169 | Active | Jupyter Notebook | MIT | |
| Build a Large Language Model (From Scratch)Shares gpt · language-model · generative-ai | 107,934 | — | — | — | — |
| AI For BeginnersShares microsoft-for-beginners · ai | 70,626 | — | — | MIT | — |
| AI Engineering from ScratchShares generative-ai · ai | 77,834 | — | — | MIT | — |
Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
op7418 · Skill
Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…
alirezarezvani · Skill
Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…
rasbt · Kit
The official code for Sebastian Raschka’s book on building a GPT-like LLM in PyTorch, one chapter at a time. The notebooks cover text data, attention, pretrain…
OpenHands · Kit
OpenHands’ open source, self-hosted control center for coding agents. One browser app runs the OpenHands agent, Claude Code, Codex, Gemini CLI, Pi or OpenCode…
asgeirtj · Kit
A curated collection of verbatim system instructions for popular AI models and chatbot platforms, providing insight into how AI agents are configured to perfor…