Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
10 Hands-On AI Projects: Machine Learning to AI Agents
New
417 students

10 Hands-On AI Projects: Machine Learning to AI Agents

Build real-world AI solutions with Python, NLP, RAG, Computer Vision, Forecasting, Recommendation Systems, and AI Agents
Last updated 11/2026
English
English [Auto],

What you'll learn

  • Build 10 hands-on AI projects using Python, Machine Learning, Generative AI, and Agentic AI.
  • Set up reproducible Python development environments and securely manage API keys and dependencies.
  • Develop text classification pipelines using TF-IDF vectorization and logistic regression.
  • Implement sentiment analysis using pretrained transformer models.
  • Build semantic search engines using document embeddings, vector indexes, and cosine similarity.
  • Implement Retrieval-Augmented Generation (RAG) workflows for private document retrieval and question answering.
  • Apply transfer learning and fine-tuning techniques to computer vision models.
  • Evaluate object detection results using bounding boxes and Intersection over Union (IoU).
  • Develop time series forecasting models using lag features, rolling windows, and walk-forward backtesting.
  • Build hybrid recommendation systems using collaborative filtering and content-based filtering.
  • Develop AI agent workflows with tool calling, conversation memory, and controlled execution loops.
  • Implement model prediction handlers, structured logging, and Docker container configurations.
  • Monitor machine learning models for data drift and performance degradation.
  • Evaluate AI systems using accuracy, precision, recall, confusion matrices, and golden question datasets.
  • Build an end-to-end AI assistant prototype combining RAG, agentic workflows, tool integration, and intelligent query routing.
  • Develop practical AI engineering skills and create projects for a professional AI portfolio.

Course content

9 sections • 40 lectures • 7h 15m total length
  • Creating and Verifying a Virtual Environment6:55

    Creating and Verifying a Virtual Environment. Every project in this course depends on libraries, and different projects often need different versions of the same library. A virtual environment keeps each project's packages in a private folder, so that an upgrade for one cannot break another. This lecture creates the environment that all ten projects will share and shows how to prove that it is working.


    We begin with the idea of isolation. A virtual environment contains its own Python interpreter and its own installed packages. You will create one with the standard venv module, activate it on your operating system and see how the terminal prompt changes. We explain what activation actually does, which is to place the environment's folders at the front of the search path, so that the commands you type find the right interpreter.


    Verification is the second half of the lesson. You will write a short script that prints the interpreter's location, the Python version and whether the active prefix differs from the base prefix, which is the reliable test for being inside an environment. A script like this is quick to run at the start of any session, and it catches the most common beginner problem: installing packages in one place and running code in another.


    We also discuss choosing a Python version, naming the folder, keeping it out of version control and selecting the interpreter in your code editor.


    By the end of this lecture you will be able to create, activate and verify an isolated environment and explain why every project should have one.

  • Pinning Dependencies for Reproducible Installs7:33

    Pinning Dependencies for Reproducible Installs. A project that works today can break next month if a library releases a new version with different behavior. Reproducibility means that you, a colleague or a server can rebuild exactly the same environment later. Pinning dependencies is how you achieve it, and this lecture shows how.


    We start by examining the difference between an unpinned requirement, which accepts whatever version is newest, and a pinned one, which names an exact version. You will install the libraries used in the course and then produce a requirements file with pip freeze, reading the output to see both the packages you asked for and the many that were installed alongside them.


    We discuss the trade-offs. Exact pins give repeatable builds but can block security updates, while loose ranges allow updates but risk surprises. A common compromise keeps a short file of direct requirements with sensible ranges and a fully pinned file generated for deployment. You will learn how to install from a requirements file in a fresh environment and confirm that the same versions appear.


    We cover practical points, including recording the Python version, separating development tools such as test runners from runtime needs and updating pins deliberately, one at a time, with tests.


    We also show how to check for conflicts and read the messages pip gives when two libraries demand incompatible versions.


    By the end of this lecture you will be able to pin and reinstall dependencies so that a project can be reproduced reliably.

  • Reading API Keys from Environment Variables Safely9:08

    Reading API Keys from Environment Variables Safely. Many AI services require a key, and the way you handle it says a great deal about the quality of your engineering. Keys written into source files end up in version control, screenshots and shared notebooks, and withdrawing them afterward is painful. This lecture shows the safe alternative, which is to read keys from environment variables.


    You will start with the os module and learn to read a variable, comparing direct access, which raises an error when the variable is missing, with the get method, which returns a default. For a key, failing early with a clear message is the right behavior, so we write a small function that raises a helpful error naming the missing variable without revealing anything else.


    We then address convenience. Typing variables into every terminal is tedious, so we introduce a local settings file that is loaded at start-up and excluded from version control. You will create a sample file listing variable names with placeholder values, which is safe to share and tells colleagues what to supply.


    The most important lessons concern leaks. Never print a key, include it in an error message, write it to a log or return it from a function that a model might see. We write a helper that masks all but the last few characters for display.


    Finally, we explain that the dry-run exercises in this course need no real key.


    By the end of this lecture you will be able to load secrets safely and keep them out of code, logs and repositories.

  • Building an LLM Chat Request with a Dry-Run Client10:10

    Building an LLM Chat Request with a Dry-Run Client. Calling a language model costs money, depends on a network and gives slightly different answers each time, which makes it a poor way to test code. A dry-run client builds the complete request and then stops before sending it, so you can inspect exactly what would be sent. This lecture builds that client, and later projects reuse it.


    We begin with the anatomy of a chat request: an address, headers that include an authorization value, and a JSON body containing the model name, a list of messages with roles and settings such as temperature and maximum tokens. You will write a function that assembles these from your configuration and returns them as a dictionary.


    The client class has a single method for sending a request. In dry-run mode, it returns the prepared request, with the authorization header masked, together with a canned reply, and in live mode it would send the request over the network. Because both modes share the same preparation code, testing the dry run really tests the real path.


    You will validate the request before use, checking that messages are present, roles are allowed and numeric settings lie in sensible ranges, and you will write tests that confirm the structure without a key or a connection.


    We discuss the benefits: free and instant tests, no accidental charges and a precise record of the application's intentions.


    By the end of this lecture you will be able to build and test a chat request using a dry-run client.

Requirements

  • Basic to intermediate knowledge of Python programming.
  • Familiarity with variables, functions, classes, loops, and Python data structures.
  • Basic understanding of machine learning concepts is recommended.
  • Familiarity with command-line interfaces and installing Python packages is helpful.
  • A computer running Windows, macOS, or Linux.
  • Python and a code editor such as Visual Studio Code or PyCharm.
  • Internet access for downloading Python libraries, dependencies, and pretrained models.
  • Basic knowledge of APIs and JSON is beneficial but not mandatory.
  • No prior experience with RAG, vector databases, AI agents, or MLOps is required.
  • No dedicated GPU is required for the core exercises.
  • Paid LLM API subscriptions are not required for the dry-run and scripted AI exercises.
  • A willingness to write code, experiment with AI models, and complete hands-on projects.

Description

This course contains the use of artificial intelligence.

Are you ready to move beyond AI theory and start building practical, real-world artificial intelligence applications? Welcome to 10 Hands-On AI Projects: Machine Learning to AI Agents, a comprehensive, project-based course designed to help developers, data scientists, machine learning engineers, and AI enthusiasts master modern Artificial Intelligence, Machine Learning, Generative AI, and Agentic AI through practical implementation.

This course takes you through 10 hands-on AI projects using Python programming, covering everything from traditional machine learning algorithms to modern Large Language Models (LLMs), Retrieval-Augmented Generation (RAG), and autonomous AI agents. Instead of focusing exclusively on theoretical concepts, you will develop practical skills through step-by-step coding exercises and reproducible AI development workflows.

Begin by setting up a professional Python development environment, managing dependencies, securing API keys, and constructing LLM requests. Establish a strong foundation in AI software development before moving into increasingly sophisticated artificial intelligence projects.

Explore Natural Language Processing (NLP) by implementing text classification and sentiment analysis pipelines. Learn TF-IDF vectorization, logistic regression, data preprocessing, transformer-based inference, and machine learning model evaluation using accuracy, precision, and recall.

Dive into Generative AI, Semantic Search, and Retrieval-Augmented Generation (RAG). Discover how document embeddings, vector indexes, cosine similarity, document chunking, and contextual retrieval work together to support intelligent question-answering applications grounded in private documents.

Develop practical Computer Vision and Deep Learning skills through image preprocessing, pretrained image classification models, transfer learning, fine-tuning techniques, confusion matrices, and object detection evaluation using bounding boxes and Intersection over Union (IoU).

Master Time Series Forecasting and Predictive Analytics by preparing temporal datasets, engineering lag features, implementing rolling windows, preventing data leakage, and evaluating forecasting models through walk-forward backtesting.

Build intelligent Recommendation Systems using collaborative filtering, content-based filtering, user-item interaction matrices, vector embeddings, hybrid recommendation algorithms, and ranking evaluation techniques.

Explore Agentic AI and Autonomous AI Agents by implementing tool schemas, function calling, tool execution, conversation memory, agent execution loops, argument validation, and execution safety limits using controlled, reproducible examples.

Gain essential AI Engineering, MLOps, and Machine Learning Operations skills through model serving, JSON prediction handlers, structured logging, Docker container configuration, request tracking, and data drift monitoring.

10 Hands-On AI Projects You Will Explore

  • Project 1: Machine Learning Text Classification

  • Project 2: Transformer-Based Sentiment Analysis

  • Project 3: Semantic Document Search Engine

  • Project 4: Retrieval-Augmented Generation (RAG)

  • Project 5: Computer Vision and Image Classification

  • Project 6: Object Detection Evaluation

  • Project 7: Time Series Forecasting

  • Project 8: Hybrid Recommendation System

  • Project 9: Autonomous AI Agent with Tool Calling

  • Project 10: End-to-End Intelligent AI Assistant

The final capstone project brings multiple technologies together, combining RAG, AI Agents, Query Routing, Tool Integration, Model Serving, and AI Evaluation into a unified AI assistant prototype.

This course is ideal for Python Developers, AI Engineers, Data Scientists, Machine Learning Engineers, Software Engineers, Generative AI Developers, MLOps Engineers, and technology professionals looking to expand their AI development capabilities and build a practical AI portfolio.

Whether you are preparing for an AI engineering career, strengthening your machine learning expertise, exploring LLM application development, or transitioning into generative AI and agentic AI development, this course provides a structured, hands-on learning experience.

Enroll today, strengthen your AI programming and AI application development skills, and start building the intelligent systems that are shaping the future of technology.

Who this course is for:

  • Aspiring AI Engineers looking to develop practical artificial intelligence applications.
  • Python Developers who want to transition into AI and Machine Learning development.
  • Software Engineers interested in building intelligent, AI-powered applications.
  • Machine Learning Engineers looking to expand their expertise into Generative AI and Agentic AI.
  • Data Scientists interested in implementing end-to-end AI workflows.
  • Generative AI Developers looking to build RAG pipelines and intelligent AI assistants.
  • AI Agent Developers interested in tool calling, memory management, and autonomous execution workflows.
  • MLOps Engineers interested in model serving, containerization, logging, and monitoring.
  • Computer Vision and NLP practitioners looking to broaden their AI engineering skills.
  • Data Engineers interested in semantic search, embeddings, and intelligent data retrieval.
  • Technology professionals looking to transition into AI-focused careers.
  • Computer Science and Engineering students with foundational Python programming experience.
  • AI enthusiasts who prefer hands-on coding and practical projects over purely theoretical learning.
  • Professionals preparing for technical AI interviews and building a diverse AI project portfolio.
  • Developers and technical entrepreneurs interested in prototyping AI-powered products and solutions.