AI-For-Beginners
AGENTS.md69k starsChanged 14 months agoMITView on GitHub
AI for Beginners is a comprehensive 12-week, 24-lesson curriculum covering Artificial Intelligence fundamentals. This educational repository includes practical lessons using Jupyter Notebooks, quizzes, and hands-on labs. The curriculum covers: Key Technologies: Python 3, Jupyter Notebooks, TensorFlow, PyTorch, Keras, OpenCV, Vue.js (for quiz app) Architecture: Educational content repository with Jupyter Notebooks organized by topic areas, supplemented by a Vue.js-based quiz application and extensive multi-language support. The curriculum is designed to run with Python and Jupyter Notebooks. The recommended approach is using…
- Deletes or force-pushes
- Installs packages
Trending
Quiet since August.about the whole repository
Who's talking about microsoft/AI-For-Beginners
- A Hacker News story“Artificial Intelligence for Beginners”Hacker News · Jun 13, 2023 · 25 points
- A Hacker News story“AI for Beginners”Hacker News · Nov 15, 2025 · 4 points
- A Hacker News story“Microsoft's AI for Beginners”Hacker News · Aug 15, 2022 · 4 points
- @github-trending.bsky.social“🚀 Skyrocketing! 🚀 (200+ new stars) 📦 microsoft / AI-For-Beginners ⭐ 23,859 (+316) 🗒 Jupyter Notebook 12 …”Bluesky · Dec 3, 2023 · 3 likes
- web1992/github-trending“Github trending [microsoft/AI-For-Beginners] AI入门课程24节支持多语言”GitHub · Aug 4, 2026 · 1 reactions
The biggest 5 of 15 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 15
Talked about on Bluesky, Hacker News and GitHub (15 times).
On Bluesky · 11
- Dec 3, 2023🚀 Skyrocketing! 🚀 (200+ new stars) 📦 microsoft / AI-For-Beginners ⭐ 23,859 (+316) 🗒 Jupyter Notebook 12 Weeks, 24 Lessons, AI for All! — @github-trending.bsky.social3 likes and reposts · 1 reply
- Aug 3, 2026💎 Hidden Gem! 💎 (1000+ new stars) 📦 microsoft / AI-For-Beginners ⭐ 60,384 (+1,902) 🗒 Jupyter Notebook 12 Weeks, 24 Lessons, AI for All! — @github-trending.bsky.social1 likes and repost · 1 reply
- Aug 1, 2026📈 Today's GitHub Trending: 1. https://github.com/microsoft/AI-For-Beginners - Jupyter Notebook, 869 stars today 2.… — @ghtrend.newsmast.social.ap.brid.gy1 likes and repost · 1 reply
- Jul 1, 2026github.com/microsoft/A... Most people collect AI tools. Smart people learn AI fundamentals. Tools change every month. Fundamentals stay… — @hrswati.bsky.social1 likes and repost · 1 reply
- Sep 21, 2025https://github.com/microsoft/AI-For-Beginners — @tom-doerr.bsky.social1 likes and repost
6 more on Bluesky
- Jun 26, 2023🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / AI-For-Beginners ⭐ 13,463 (+109) 🗒 Jupyter Notebook 12 Weeks, 24 Lessons, AI for All! — @github-trending.bsky.social1 likes and repost · 1 reply
- Jun 13, 2023📦 microsoft / AI-For-Beginners ⭐ 10,374 (+1,097) 🗒 Jupyter Notebook 12 Weeks, 24 Lessons, AI for All! — @github-trending.bsky.social1 likes and repost
- Jul 30, 2026📈 Today's GitHub Trending: 1. https://github.com/huggingface/speech-to-speech - Python, 627 stars today 2.… — @ghtrend.newsmast.social.ap.brid.gy0 likes and reposts · 1 reply
- Nov 25, 2023🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / AI-For-Beginners ⭐ 21,198 (+144) 🗒 Jupyter Notebook 12 Weeks, 24 Lessons, AI for All! — @github-trending.bsky.social0 likes and reposts · 1 reply
- Nov 11, 2023🚀 Skyrocketing! 🚀 (200+ new stars) 📦 microsoft / AI-For-Beginners ⭐ 20,138 (+462) 🗒 Jupyter Notebook 12 Weeks, 24 Lessons, AI for All! — @github-trending.bsky.social0 likes and reposts · 1 reply
- Nov 7, 2023🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / AI-For-Beginners ⭐ 18,370 (+170) 🗒 Jupyter Notebook 12 Weeks, 24 Lessons, AI for All! — @github-trending.bsky.social0 likes and reposts · 1 reply
On Hacker News · 3
- Jun 13, 2023Artificial Intelligence for Beginners25 points · 1 comment
- Nov 15, 2025AI for Beginners4 points
- Aug 15, 2022Microsoft's AI for Beginners4 points
On GitHub · 1
- Aug 4, 2026Github trending [microsoft/AI-For-Beginners] AI入门课程24节支持多语言 — web1992/github-trending1 reaction
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository55 other files it gives its agents.
- translations/ar/AGENTS.mdAGENTS.md
- translations/bg/AGENTS.mdAGENTS.md
- translations/bn/AGENTS.mdAGENTS.md
- translations/cs/AGENTS.mdAGENTS.md
- translations/da/AGENTS.mdAGENTS.md
- translations/de/AGENTS.mdAGENTS.md
- translations/el/AGENTS.mdAGENTS.md
- translations/en/AGENTS.mdAGENTS.md
- translations/es/AGENTS.mdAGENTS.md
- translations/et/AGENTS.mdAGENTS.md
- translations/fa/AGENTS.mdAGENTS.md
- translations/fi/AGENTS.mdAGENTS.md
- translations/fr/AGENTS.mdAGENTS.md
- translations/he/AGENTS.mdAGENTS.md
- translations/hi/AGENTS.mdAGENTS.md
- translations/hr/AGENTS.mdAGENTS.md
- translations/hu/AGENTS.mdAGENTS.md
- translations/id/AGENTS.mdAGENTS.md
- translations/it/AGENTS.mdAGENTS.md
- translations/ja/AGENTS.mdAGENTS.md
- translations/km/AGENTS.mdAGENTS.md
- translations/kn/AGENTS.mdAGENTS.md
- translations/ko/AGENTS.mdAGENTS.md
- translations/lt/AGENTS.mdAGENTS.md
- translations/ml/AGENTS.mdAGENTS.md
- translations/mr/AGENTS.mdAGENTS.md
- translations/ms/AGENTS.mdAGENTS.md
- translations/my/AGENTS.mdAGENTS.md
- translations/ne/AGENTS.mdAGENTS.md
- translations/nl/AGENTS.mdAGENTS.md
- translations/no/AGENTS.mdAGENTS.md
- translations/pa/AGENTS.mdAGENTS.md
- translations/pcm/AGENTS.mdAGENTS.md
- translations/pl/AGENTS.mdAGENTS.md
- translations/pt-BR/AGENTS.mdAGENTS.md
- translations/pt-PT/AGENTS.mdAGENTS.md
- translations/ro/AGENTS.mdAGENTS.md
- translations/ru/AGENTS.mdAGENTS.md
- translations/sk/AGENTS.mdAGENTS.md
- translations/sl/AGENTS.mdAGENTS.md
- translations/sr/AGENTS.mdAGENTS.md
- translations/sv/AGENTS.mdAGENTS.md
- translations/sw/AGENTS.mdAGENTS.md
- translations/ta/AGENTS.mdAGENTS.md
- translations/te/AGENTS.mdAGENTS.md
- translations/th/AGENTS.mdAGENTS.md
- translations/tl/AGENTS.mdAGENTS.md
- translations/tr/AGENTS.mdAGENTS.md
- translations/uk/AGENTS.mdAGENTS.md
- translations/ur/AGENTS.mdAGENTS.md
- translations/vi/AGENTS.mdAGENTS.md
- translations/zh-CN/AGENTS.mdAGENTS.md
- translations/zh-HK/AGENTS.mdAGENTS.md
- translations/zh-MO/AGENTS.mdAGENTS.md
- translations/zh-TW/AGENTS.mdAGENTS.md
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
22 rules. About 0 are common, 14 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈14
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 64
Start Jupyter: jupyter notebook or jupyter lab
- Distinctive: line 66
Run cells interactively to follow lessons
- Distinctive: line 76
Binder: Use the Binder badge on README to launch in browser
- Distinctive: line 83
Azure Data Science VM: Use NC-series VMs with GPU support
- Distinctive: line 84
Azure Machine Learning: Use notebook features with GPU compute
- Very specific: line 102
Translation Validation: Check translated content in translations/ folder
- Distinctive: line 126
No strict linting requirements for lesson content
- Very specific: line 131
Run npm run lint to check and auto-fix issues
- Distinctive: line 160
No build process required - Jupyter Notebooks are executed directly.
- Distinctive: line 182
No build required - served directly via GitHub Pages
- Distinctive: line 193
Test all code examples in notebooks
- Distinctive: line 194
Ensure notebooks run end-to-end
- Distinctive: line 195
Update translations if modifying English content
- Very specific: line 196
Quiz App Changes: Run npm run lint before committing
- Distinctive: line 233
No special environment variables required for basic usage.
- Very specific: line 243
Solution: Update conda first: conda update conda -y
- Distinctive: line 244
Ensure sufficient disk space (50GB recommended)
- Very specific: line 255
Verify CUDA installation: nvidia-smi
- Very specific: line 256
Check PyTorch GPU: python -c "import torch.
- Very specific: line 257
Check TensorFlow GPU: python -c "import tensorflow as tf.
- Distinctive: line 269
Solution: Use GitHub Codespaces or local setup for better resource access
- Distinctive: line 274
Use cloud VMs for resource-intensive lessons
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md
Project Overview
AI for Beginners is a comprehensive 12-week, 24-lesson curriculum covering Artificial Intelligence fundamentals. This educational repository includes practical lessons using Jupyter Notebooks, quizzes, and hands-on labs. The curriculum covers:
- Symbolic AI with Knowledge Representation and Expert Systems
- Neural Networks and Deep Learning with TensorFlow and PyTorch
- Computer Vision techniques and architectures
- Natural Language Processing (NLP) including transformers and BERT
- Specialized topics: Genetic Algorithms, Reinforcement Learning, Multi-Agent Systems
- AI Ethics and Responsible AI principles
Key Technologies: Python 3, Jupyter Notebooks, TensorFlow, PyTorch, Keras, OpenCV, Vue.js (for quiz app)
Architecture: Educational content repository with Jupyter Notebooks organized by topic areas, supplemented by a Vue.js-based quiz application and extensive multi-language support.
Setup Commands
Primary Development Environment (Python/Jupyter)
The curriculum is designed to run with Python and Jupyter Notebooks. The recommended approach is using miniconda:
# Clone the repository
git clone https://github.com/microsoft/ai-for-beginners
cd ai-for-beginners
# Create and activate conda environment
conda env create --name ai4beg --file environment.yml
conda activate ai4beg
# Start Jupyter Notebook
jupyter notebook
# OR
jupyter labAlternative: Using devcontainer
# Open in VS Code and select "Reopen in Container" when prompted
# The devcontainer will automatically set up the environmentQuiz Application Setup
The quiz app is a separate Vue.js application located in etc/quiz-app/:
cd etc/quiz-app
npm install
npm run serve # Development server
npm run build # Production build
npm run lint # Lint and fix filesDevelopment Workflow
Working with Jupyter Notebooks
- Local Development:
- Activate conda environment:
conda activate ai4beg - Start Jupyter:
jupyter notebookorjupyter lab - Navigate to lesson folders and open
.ipynbfiles - Run cells interactively to follow lessons
- Activate conda environment:
- VS Code with Python Extension:
- Open repository in VS Code
- Install Python extension
- VS Code automatically detects and uses the conda environment
- Open
.ipynbfiles directly in VS Code
- Cloud Development:
- GitHub Codespaces: Click "Code" → "Codespaces" → "Create codespace on main"
- Binder: Use the Binder badge on README to launch in browser
- Note: Binder has limited resources and some web access restrictions
GPU Support for Advanced Lessons
Later lessons benefit significantly from GPU acceleration:
- Azure Data Science VM: Use NC-series VMs with GPU support
- Azure Machine Learning: Use notebook features with GPU compute
- Google Colab: Upload notebooks individually (has free GPU support)
Quiz App Development
cd etc/quiz-app
npm run serve # Hot-reload development server at http://localhost:8080Testing Instructions
This is an educational repository focused on learning content rather than software testing. There is no traditional test suite.
Validation Approaches:
- Jupyter Notebooks: Execute cells sequentially to verify code examples work
- Quiz App Testing: Manual testing via development server
- Translation Validation: Check translated content in
translations/folder - Quiz App Linting:
npm run lintinetc/quiz-app/
Running Code Examples:
# Activate environment first
conda activate ai4beg
# Run Python scripts directly
python lessons/4-ComputerVision/07-ConvNets/pytorchcv.py
# Or execute notebooks
jupyter notebook lessons/3-NeuralNetworks/03-Perceptron/Perceptron.ipynbCode Style
Python Code Style
- Standard Python conventions for educational code
- Clear, readable code prioritizing learning over optimization
- Comments explaining key concepts
- Jupyter Notebook-friendly: cells should be self-contained where possible
- No strict linting requirements for lesson content
JavaScript/Vue.js (Quiz App)
- ESLint configuration in
etc/quiz-app/package.json - Run
npm run lintto check and auto-fix issues - Vue 2.x conventions
- Component-based architecture
File Organization
lessons/
├── 0-course-setup/ # Setup instructions
├── 1-Intro/ # Introduction to AI
├── 2-Symbolic/ # Symbolic AI
├── 3-NeuralNetworks/ # Neural Networks basics
├── 4-ComputerVision/ # Computer Vision
├── 5-NLP/ # Natural Language Processing
├── 6-Other/ # Other AI techniques
├── 7-Ethics/ # AI Ethics
└── X-Extras/ # Additional content
etc/
├── quiz-app/ # Vue.js quiz application
└── quiz-src/ # Quiz source files
translations/ # Multi-language translationsBuild and Deployment
Jupyter Content
No build process required - Jupyter Notebooks are executed directly.
Quiz Application
cd etc/quiz-app
# Development
npm run serve
# Production build
npm run build # Outputs to etc/quiz-app/dist/
# Deploy to Azure Static Web Apps
# Azure automatically creates GitHub Actions workflow
# See etc/quiz-app/README.md for detailed deployment instructionsDocumentation Site
The repository uses Docsify for documentation:
index.htmlserves as entry point- No build required - served directly via GitHub Pages
- Access at: https://microsoft.github.io/AI-For-Beginners/
Contributing Guidelines
Pull Request Process
- Title Format: Clear, descriptive titles describing the change
- CLA Requirement: Microsoft CLA must be signed (automated check)
- Content Guidelines:
- Maintain educational focus and beginner-friendly approach
- Test all code examples in notebooks
- Ensure notebooks run end-to-end
- Update translations if modifying English content
- Quiz App Changes: Run
npm run lintbefore committing
Translation Contributions
- Translations are automated via GitHub Actions using co-op-translator
- Manual translations go in
translations/<language-code>/ - Quiz translations in
etc/quiz-app/src/assets/translations/ - Supported languages: 40+ languages (see README for full list)
Active Contribution Areas
See etc/CONTRIBUTING.md for current needs:
- Deep Reinforcement Learning sections
- Object Detection improvements
- Named Entity Recognition examples
- Custom embedding training samples
Environment Configuration
Required Dependencies
# Core Python packages (from requirements.txt)
tensorflow==2.17.0
torch (via conda)
torchvision (via conda)
keras==3.5.0
opencv (via conda)
scikit-learn
numpy==1.26
pandas==2.2.2
matplotlib==3.9
jupyterEnvironment Variables
No special environment variables required for basic usage.
For Azure deployments (quiz app):
AZURE_STATIC_WEB_APPS_API_TOKEN(set automatically by Azure)
Debugging and Troubleshooting
Common Issues
Issue: Conda environment creation fails
- Solution: Update conda first:
conda update conda -y - Ensure sufficient disk space (50GB recommended)
Issue: Jupyter kernel not found
- Solution:
conda activate ai4beg python -m ipykernel install --user --name ai4beg
Issue: GPU not detected in notebooks
- Solution:
- Verify CUDA installation:
nvidia-smi - Check PyTorch GPU:
python -c "import torch; print(torch.cuda.is_available())" - Check TensorFlow GPU:
python -c "import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"
- Verify CUDA installation:
Issue: Quiz app won't start
- Solution:
cd etc/quiz-app rm -rf node_modules package-lock.json npm install npm run serve
Issue: Binder times out or blocks downloads
- Solution: Use GitHub Codespaces or local setup for better resource access
Memory Issues
Some lessons require significant RAM (8GB+ recommended):
- Use cloud VMs for resource-intensive lessons
- Close other applications when training models
- Reduce batch sizes in notebooks if running out of memory
Additional Notes
For Course Instructors
- See
lessons/0-course-setup/for-teachers.mdfor teaching guidance - Lessons are self-contained and can be taught in sequence or selected individually
- Estimated time: 12 weeks at 2 lessons per week
Cloud Resources
- Azure for Students: Free credits available for students
- Microsoft Learn: Supplementary learning paths linked throughout
- Binder: Free but limited resources and some network restrictions
Code Execution Options
- Local (Recommended): Full control, best performance, GPU support
- GitHub Codespaces: Cloud-based VS Code, good for quick access
- Binder: Browser-based Jupyter, free but limited
- Azure ML Notebooks: Enterprise option with GPU support
- Google Colab: Upload notebooks individually, free GPU tier available
Working with Notebooks
- Notebooks are designed to be run cell-by-cell for learning
- Many notebooks download datasets on first run (may take time)
- Some models require GPU for reasonable training times
- Pre-trained models are used where possible to reduce compute requirements
Performance Considerations
- Later computer vision lessons (CNNs, GANs) benefit from GPU
- NLP transformer lessons may require significant RAM
- Training from scratch is educational but time-consuming
- Transfer learning examples minimize training time
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

