Packt

Generative AI with Python

Packt

Generative AI with Python

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

2 weeks to complete
at 10 hours a week
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

2 weeks to complete
at 10 hours a week
Flexible schedule
Learn at your own pace

What you'll learn

  • Develop and implement large language models using Python.

  • Create intelligent workflows with agentic systems and advanced AI techniques like RAG.

  • Master model fine-tuning with methods such as Low-Rank Adaptation (LoRA).

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

February 2026

Assessments

16 assignments

Taught in English

See how employees at top companies are mastering in-demand skills

 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

There are 15 modules in this course

In this module, we will introduce the course and provide an overview of the instructor’s background in AI and Python. We will explore the course objectives and structure to ensure you know what to expect. Additionally, we’ll guide you through the essential system setup, including installing tools like Python, an IDE, and managing API keys for the hands-on coding exercises.

What's included

11 videos1 reading

In this module, we will explore the foundational concepts of Large Language Models (LLMs) and how they function within the AI space. We will compare traditional NLP techniques with LLMs to understand their advancements. Additionally, we will evaluate the real-world achievements and performance of these models across different tasks.

What's included

4 videos1 assignment

In this module, we will dive deep into the training process of Large Language Models, uncovering the complexities of data preparation and optimization techniques. We will explore ways to improve model performance and evaluate major LLM providers and their products. Additionally, you will learn how to interact with different LLMs via hands-on coding exercises.

What's included

16 videos1 assignment

In this module, we will explore various types of Large Language Models, including how to run models locally on your system. You will also dive into multimodal models, which combine text, images, and other media to enhance AI capabilities. Additionally, we will look at tokenization methods and how they support AI systems in processing and understanding data inputs.

What's included

9 videos1 assignment

In this module, we will introduce you to the concept of chains in AI, where multiple model interactions are linked together to form complex workflows. You will learn how to design and implement prompt templates for repeated use cases, and create systems where outputs are structured and can adapt based on different decision branches in your application.

What's included

13 videos1 assignment

In this module, we will explore vector databases and their significance in managing and retrieving high-dimensional data for AI applications. You will learn to work with vector embeddings, chunk data for more efficient storage, and practice querying databases to retrieve relevant information based on similarity searches.

What's included

17 videos1 assignment

In this module, we will introduce you to Retrieval-Augmented Generation (RAG) and walk you through its core phases, from data retrieval to response generation. You will gain hands-on experience in coding a basic RAG pipeline, enhancing the accuracy and relevance of the AI outputs by incorporating external information into the model’s process.

What's included

3 videos1 assignment

In this module, we will take a deeper dive into advanced techniques for enhancing Retrieval-Augmented Generation workflows. You will learn how to optimize data retrieval and refine responses with strategies like query expansion, prompt compression, and speculative RAG. Additionally, we will explore multimodal RAG and hybrid approaches to handle diverse data types efficiently.

What's included

14 videos1 assignment

In this module, we will introduce you to AI agents and the fundamental concepts behind agentic systems. We will explore frameworks used to build these systems and examine their potential applications in solving complex tasks autonomously. This module will set the stage for building more sophisticated AI-driven solutions in the following lessons.

What's included

2 videos1 assignment

In this module, we will focus on the crewAI framework, where you’ll learn how to work with agents to build powerful AI systems. We’ll guide you through the process of setting up a crewAI project, defining tasks, and debugging agent workflows. Additionally, you will extend these systems by integrating custom tools and ensuring smooth execution through testing.

What's included

12 videos1 assignment

In this module, we will dive into AG2, a powerful framework for building conversational AI agents. You will learn to code systems with multiple agents interacting with each other and with humans. Additionally, we’ll explore how to integrate external tools to extend the functionality of your agents and create more dynamic and adaptable AI systems.

What's included

6 videos1 assignment

In this module, we will explore the OpenAI Agents SDK and its features for building complex AI systems. You’ll learn how to create workflows that handle agent handoffs and ensure smooth operation. The course will also cover essential techniques for applying guardrails, ensuring safe agent behavior, and using tracing for debugging and performance monitoring.

What's included

6 videos1 assignment

In this module, we will introduce the Google Agent Development Kit (ADK) and guide you through building multi-agent systems. You will learn to work with function tools to extend agent capabilities and tackle complex tasks. This will enhance your ability to design sophisticated agent-driven workflows with the ADK framework.

What's included

3 videos1 assignment

In this module, we will focus on agent-to-agent communication protocols like MCP, A2A, and ACP. You will gain hands-on experience in setting up and testing MCP server-client interactions to facilitate effective communication between agents. This will equip you with the skills to build more dynamic and interconnected agent systems.

What's included

5 videos1 assignment

In this module, we will introduce you to model finetuning techniques, focusing on methods like LoRA. You’ll learn how to adapt pre-trained models to specific tasks and fine-tune their performance for better results. This skill will be crucial for optimizing AI models to meet the needs of different applications.

What's included

2 videos3 assignments

Instructor

Packt - Course Instructors
Packt
1,471 Courses 392,127 learners

Offered by

Packt

Why people choose Coursera for their career

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."
Coursera Plus

Open new doors with Coursera Plus

Unlimited access to 10,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription

Advance your career with an online degree

Earn a degree from world-class universities - 100% online

Join over 3,400 global companies that choose Coursera for Business

Upskill your employees to excel in the digital economy

Frequently asked questions