Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
AI Engineer Bootcamp: From Machine Learning to AI Agents
New
418 students

AI Engineer Bootcamp: From Machine Learning to AI Agents

Master Python, Machine Learning, PyTorch, LLM APIs, Embeddings, RAG, AI Agents, AI Evaluation and FastAPI through Hands-
Last updated 11/2026
English
English [Auto],

What you'll learn

  • Build practical AI applications using Python, Machine Learning, Deep Learning, Generative AI, and Agentic AI.
  • Configure isolated Python development environments and securely manage API keys and environment variables.
  • Process, clean, transform, and analyze datasets using NumPy and Pandas.
  • Train, test, evaluate, and optimize Machine Learning models using Scikit-learn.
  • Apply classification metrics, including accuracy, precision, recall, F1 scores, and confusion matrices.
  • Implement cross-validation and hyperparameter optimization using GridSearchCV.
  • Build and train neural networks using PyTorch, tensors, automatic differentiation, and optimizers.
  • Integrate Large Language Models (LLMs) into Python applications using REST APIs.
  • Control LLM responses using model parameters, streaming, and structured JSON outputs.
  • Implement text embeddings, cosine similarity, vector indexing, and semantic search.
  • Build Retrieval-Augmented Generation (RAG) pipelines using document chunking, vector retrieval, and grounded prompts.
  • Develop AI agent workflows using tool calling, function calling, JSON Schema, and agent execution loops.
  • Evaluate AI-generated outputs using evaluation datasets, exact-match scoring, and output validation.
  • Implement AI guardrails, error handling, exponential backoff, and fallback mechanisms.
  • Build an end-to-end Document Question-Answering AI Assistant prototype.
  • Expose and test AI applications as REST APIs using FastAPI.

Course content

10 sections • 41 lectures • 6h 56m total length
  • Checking Your Isolated Python Environment7:26

    Checking Your Isolated Python Environment. Every AI project depends on libraries, and different projects often need different versions of the same library. If they all share one installation, an upgrade for one project can quietly break another. This lecture shows how to confirm that your work happens in an isolated environment and why that matters before you write any AI code.


    We begin with the idea of a virtual environment, a private folder that holds its own Python interpreter and its own installed packages. You will learn how to tell whether you are inside one. We check the interpreter path, compare the active prefix with the base prefix and print the Python version, and we explain what each value tells you. A script that reports these details gives you a quick, repeatable check you can run at the start of any session.


    You will also see the problems that isolation prevents. Installing packages globally can require administrator rights, pollute the system's Python and make a project impossible to reproduce on another computer. We discuss recording dependencies in a requirements file so that a colleague can rebuild the same environment with a single command.


    We cover the common mistakes, such as installing a package into one environment and running the code with another, and how to spot the mismatch. We also discuss selecting the right interpreter inside your code editor.


    By the end of this lecture you will be able to verify that your Python environment is isolated, report its details and explain why reproducibility matters in AI engineering.

  • Reading Configuration from Environment Variables7:05

    Reading Configuration from Environment Variables. AI applications need settings such as the model name, a base address, a timeout and a credential. Hard-coding these values into source files makes code inflexible and, for credentials, dangerous. Environment variables offer a standard way to supply settings from outside the program, and this lecture shows how to use them well.


    You will start with the os module and learn how to read a variable. We compare reading with square brackets, which raises an error when the variable is missing, with the get method, which returns a default. Each has its place. A required value should fail early with a clear message, while an optional one can fall back to a sensible default.


    Next we deal with types. Environment variables are always text, so a timeout of thirty arrives as the string thirty, and a flag such as debug arrives as text, not as a boolean. We write small helper functions that convert values to integers, floats and booleans and report a readable error when a conversion fails.


    We then gather all settings into one place, a small configuration object created at start-up. This makes the program's requirements visible, keeps the rest of the code free from scattered lookups and allows tests to supply different values.


    We discuss good habits: use clear, consistent names, document every variable and never print secrets.


    By the end of this lecture you will be able to read, convert and validate configuration from environment variables.

  • Loading Secrets from a .env File Without Leaking Them9:01

    Loading Secrets from a .env File Without Leaking Them. Setting environment variables by hand every time you open a terminal is tedious, so developers keep local settings in a file named .env and load them automatically. The convenience brings a real risk: a secret committed to a repository is difficult to withdraw. This lecture shows how to use a .env file safely.


    We begin with the format, which is simple lines of names and values. You will install a loading library and call it at the start of your program so that its values appear in the environment, after which the code from the previous lecture reads them as usual. We discuss the loading order, in which real environment variables should take precedence over the file, so that a deployment can override local values.


    The central lesson is preventing leaks. You will add the file to the ignore list of your version control system before creating it, and you will create a sample file, with the variable names and placeholder values, that is safe to commit and tells colleagues what to supply. We discuss how to check that the real file is not tracked.


    You will also learn about other leaks, including printing a key in a log message, including it in an error, echoing it in a traceback and returning it from a function. We write a helper that masks all but the last few characters when a value must be displayed.


    Finally, we discuss what to do if a secret does leak: revoke it and replace it at once.


    By the end of this lecture you will be able to load secrets from a .env file while keeping them out of version control and logs.

  • Building an AI Service Request as a Dry Run9:25

    Building an AI Service Request as a Dry Run. Calling a language model costs money, takes time and depends on a network, which makes it a poor way to test code. A dry run builds the complete request but stops before sending it, so that you can inspect exactly what would be sent. This lecture creates that habit, and it becomes the foundation of the API lessons later in the course.


    We start by defining what a request contains: an address, headers including an authorization value, and a body with the model name, the messages and the settings. You will write a function that assembles these pieces from your configuration and returns them as a dictionary. Because nothing is sent, the function can be tested instantly and without a key.


    You will learn to print the request in a safe form. The authorization header is masked, so that logs and screenshots never reveal the credential, while everything else remains visible. We check the structure, confirm the required fields are present and validate values such as a temperature range.


    We also add a switch that controls whether a request is sent or only displayed. In dry-run mode the function returns the prepared request, and in live mode a later lecture will send it. Using one code path for both keeps the dry run honest.


    We discuss the benefits: faster tests, no cost, easier debugging and a record of exactly what the application intended to do.


    By the end of this lecture you will be able to build, inspect and validate an AI service request without sending it.

Requirements

  • Basic knowledge of Python programming, including variables, functions, loops, and data structures.
  • A basic understanding of programming and software development concepts is recommended.
  • No prior experience with Machine Learning, Deep Learning, Generative AI, or AI Agents is required.
  • A computer running Windows, macOS, or Linux.
  • Python 3 and a code editor such as Visual Studio Code or PyCharm.
  • Basic familiarity with command-line or terminal operations is helpful.
  • Internet access to download Python libraries and access learning resources.
  • Access to a compatible LLM API and credentials for live API exercises; provider charges may apply.
  • No advanced mathematical or statistical background is required.
  • No dedicated GPU or specialized hardware is required for the core exercises.
  • A willingness to experiment, practice coding, solve problems, and build AI applications.

Description

This course contains the use of artificial intelligence.

Are you ready to build the skills needed to become an AI Engineer and develop intelligent applications using the latest Artificial Intelligence, Machine Learning, Deep Learning, Generative AI, and Agentic AI technologies?

Welcome to the AI Engineer Bootcamp: From Machine Learning to AI Agents, a comprehensive, hands-on course designed to help developers, software engineers, data scientists, and technology professionals master the essential concepts, tools, and techniques of modern AI engineering.

Unlike courses that focus exclusively on theoretical concepts or prompt engineering, this bootcamp takes a practical, implementation-driven approach. With 10 comprehensive sections, 41 practical lessons, hands-on coding exercises, and an end-to-end capstone project, you will progressively develop the skills required to build intelligent AI applications.

Master Python, Machine Learning, and Deep Learning

Begin your journey by setting up a secure Python development environment, managing API credentials, and understanding AI service integration. Learn how to process, clean, transform, and analyze data using NumPy and Pandas, two essential libraries for AI engineering and data science.

Explore Machine Learning with Scikit-learn, including classification, logistic regression, training and testing datasets, confusion matrices, precision, recall, F1 scores, cross-validation, and hyperparameter optimization.

Dive into Deep Learning with PyTorch, where you will work with tensors, automatic differentiation, neural network architectures, loss functions, optimizers, and complete neural network training loops.

Build Generative AI and Large Language Model Applications

Discover how to integrate Large Language Models (LLMs) into Python applications using REST APIs, system messages, user prompts, model parameters, streaming responses, and structured JSON outputs.

Develop a practical understanding of Prompt Engineering, LLM API Integration, Embeddings, Vector Search, and Semantic Search. Learn how to represent text as numerical vectors, calculate cosine similarity, rank documents, and implement intelligent information retrieval systems.

Master Retrieval-Augmented Generation and AI Agents

Explore Retrieval-Augmented Generation (RAG), one of the most important architectural patterns in modern Generative AI development. Learn document chunking, overlapping chunks, vector indexing, context retrieval, and grounded prompt construction to build more context-aware AI applications.

Take your skills further with Agentic AI, AI Agents, Tool Calling, Function Calling, JSON Schema, and Agent Execution Loops. Understand how AI agents interact with external tools, execute Python functions, process tool responses, and complete tasks through iterative workflows.

You will also explore AI Evaluation, AI Safety, AI Guardrails, Output Validation, Error Handling, Retry Mechanisms, and Exponential Backoff to improve the reliability of AI-powered applications.

Build an End-to-End AI Engineering Project

Apply everything you have learned by developing a Document Question-Answering AI Assistant. Combine semantic search, document retrieval, grounded prompts, source citations, and a simulated LLM component into a functional prototype exposed through a FastAPI REST API.

Who Should Take This Course?

This bootcamp is ideal for aspiring AI Engineers, Machine Learning Engineers, Generative AI Developers, Data Scientists, Python Developers, Software Engineers, AI Consultants, and Technology Professionals looking to expand their technical expertise.

Whether you are transitioning into artificial intelligence or upgrading your existing development skills, this course provides a structured pathway to understanding and implementing modern AI systems.

Start your journey into AI Engineering, Machine Learning, Generative AI, LLM Development, RAG, and Agentic AI today, and turn theoretical knowledge into practical, real-world AI development skills.

Enroll now and take the next step toward becoming a skilled AI Engineer!

Who this course is for:

  • Aspiring AI Engineers looking to develop practical, end-to-end AI engineering skills.
  • Python developers interested in building intelligent applications and AI-powered solutions.
  • Software engineers looking to transition into Artificial Intelligence and Generative AI development.
  • Machine Learning engineers interested in expanding their expertise into LLMs, RAG, and Agentic AI.
  • Data scientists who want to move beyond model development and build AI applications.
  • Generative AI developers interested in LLM integration, embeddings, semantic search, and AI agents.
  • Backend and full-stack developers looking to integrate AI capabilities into their applications.
  • Software architects and technical leads interested in modern AI application architecture.
  • AI consultants seeking practical knowledge of AI technologies and implementation workflows.
  • IT professionals looking to upskill and explore career opportunities in AI engineering.
  • Computer science and engineering students interested in developing practical AI skills.
  • Technology enthusiasts with basic Python knowledge who want to build intelligent applications.
  • Professionals preparing for AI Engineering, Generative AI Engineering, and Machine Learning Engineering roles.
  • Anyone looking for a structured, hands-on learning journey from traditional Machine Learning to modern Agentic AI development.