Skip to content

SauravP97/ai-engineering-primer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

36 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🐧 AI Engineering Primer

Python PyTorch LangChain Hugging Face Google Gemini

AI Engineering Primer is an intensive, project-driven course designed to bridge the gap between theoretical Machine Learning, AI Engineering concepts and production-ready AI engineering workflows and models.

You will start with the absolute fundamentals of ML and AI Engineering, and progress through to building agentic workflows, implementing agentic design patterns, fine-tuning custom Large Language Models (LLMs), optimizing Language Modelling techniques and much more.

  • ⏰ Watch Time: 19h57m
  • ▢️ 45 Video Lectures
  • 🎧 Watch Video Lectures: Youtube

Course Outline

🌼 Course Outline


πŸ’  Phase 1: Applied GenAI, Agentic Systems & Orchestration

Applied GenAI provides the reasoning, but Agentic Systems give AI the autonomy to use tools and act. By building structured Workflows for reliability and using Orchestration to manage multi-agent collaboration, you will be able to transform passive models into dynamic software that automates complex, end-to-end business operations at scale.

  • πŸ“ˆ Difficulty: Beginner
  • ⏰ Watch Time: 10h10m
  • ▢️ 29 Video Lectures
  • πŸ“• 3 Code Examples

β›³ Module 1: AI Engineering Core Concepts

This module establishes the foundation for robust AI workflows. It covers key differences between agents and workflows, Tool Calling, Model Context Protocol (MCP), Context Management, Vector Embeddings, Human-in-the-Loop (HITL) interventions, and debugging with LangChain.

⏰ Watch Time: 5h33m

S.No. Topic Duration
1 Agents vs Workflows - AI Agents & AI Workflows are not the same 32 mins Watch
2 Model Context Protocol (MCP) from scratch - Connecting your AI Agents with external server and tools 23 mins Watch
3 Tool Calling - Make LLMs talk to Database, APIs and Web 25 mins Watch
4 Human in the Loop (HITL) - Interrupting your Agentic Workflow for user input 27 mins Watch
5 Optimize your Agentic workflow with Parallel Execution in LangGraph, LangChain 32 mins Watch
6 Vector Embeddings - Introducing Google Gemini Embedding Models 28 mins Watch
7 Add Memory to your AI Agents - Context Management in LLMs 28 mins Watch
8 Debugging your Agentic Workflows - Threads & Checkpoints in LangChain 27 mins Watch
9 Building a Deep Research Agent - Static Workflow, Dissecting my Static-DRA Research Paper 39 mins Watch
10 Google Self-Evolution algorithm for Deep Researcher - Agentic Workflow & Parallel Processing 45 mins Watch
11 Agent Builder by OpenAI - Introduction to building Agentic Workflows, No-Code 27 mins Watch

β›³ Module 2: Agentic AI - Design Patterns

The module explores essential architectural patterns for complex AI workflows. It covers Prompt Chaining, Routing strategies for task delegation, the Evaluator-Optimizer pattern featuring Human-in-the-Loop (HITL), and the Orchestrator-Worker pattern used to power advanced, autonomous DeepResearch agents.

⏰ Watch Time: 1h56m

S.No. Topic Duration
1 Prompt Chaining Design Pattern 23 mins Watch
2 Routing Design Pattern - Agent summarizing social media profile 28 mins Watch
3 Evaluator Optimizer Design Pattern - Human in the Loop 26 mins Watch
4 Orchestrator Worker Design Pattern - Powering DeepResearch Agents 39 mins Watch

β›³ Module 3: RAG - Retrieval Augmented Generation

The module focuses on enhancing AI workflows with external knowledge. It covers Self-RAG, which enables agents to critique outputs through self-reflection, and Corrective RAG, which integrates web search as a fallback knowledge base to improve accuracy.

⏰ Watch Time: 1h26m

S.No. Topic Duration
1 Self RAG - Making your Agentic workflows critique through Self-Reflection 39 mins Watch
2 Corrective RAG - Integrating Web Search as a fallback knowledge base 47 mins Watch

β›³ Module 4: Projects | Building Agentic AI Workflows from scratch

The module focuses on practical, hands-on application. It guides you through building real-world agentic workflows using LangChain, including a personalized LinkedIn post creator, a referral outreach assistant, a Text-to-SQL database agent, and a Google career recommendation and resume review agent.

⏰ Watch Time: 2h32m

S.No. Topic Duration
1 Building Agentic workflow that creates personalized Linkedin Post 34 mins Watch
2 Building a Referral Outreach Agentic Workflow in LangChain 29 mins Watch
3 Building a Text to SQL Agent for handling complex database queries in LangChain 39 mins Watch
4 Agent that recommend Roles at Google, reviews Resume and outlines Preparation strategies 50 mins Watch

β›³ [Bonus Module] Building Multi-agent workflow in LangChain & LangGraph - Agentic AI Framework

The module introduces LangChain and LangGraph to build advanced agentic frameworks. It covers defining nodes and edges, managing shared state, setting up vector stores, building document graders, implementing conditional logic, evaluating RAG performance, and visualizing the compiled graph using Mermaid.

  • 🎧 Watch Video Lectures: Youtube
  • ⏰ Watch Time: 1h6m
S.No. Topic Duration
1 Introduction to LangChain & LangGraph - Building Multi-agent workflows 4 mins Watch
2 Nodes, Edges and Shared State in LangGraph 7 mins Watch
3 In-memory Vector Store in LangChain - Building an External Knowledge base in RAG 11 mins Watch
4 Retrieving documents from the Vector Store in LangGraph - External Knowledge base for RAG 6 mins Watch
5 Instantiate an LLM Model in LangChain 2 mins Watch
6 Building a Document grader - Grading the retrieved document from Vector store 7 mins Watch
7 Building a Conditional Edge in LangGraph 3 mins Watch
8 RAG that generates Answers on Human prompts in LangGraph 5 mins Watch
9 Evaluating RAG performance in LangGraph - Grading the generated answer 6 mins Watch
10 Compiling the workflow in LangGraph - Setting-up the Graph 8 mins Watch
11 RAG Framework and LangGraph in action 4 mins Watch
12 Visualizing the compiled Graph using Mermaid in LangGraph 3 mins Watch

πŸ“ Reading Material & Code-Labs

To Be Added...


πŸ’  Phase 2: Pre-Training, Fine-Tuning LLMs and related Concepts

In this module you will learn about Pre-training, Fine-tuning and related LLM concepts. Pre-training builds a foundational LLM by teaching it language and reasoning across massive datasets. Fine-tuning adapts this base model for specific tasks using curated data. Advanced techniques like parameter-efficient tuning (LoRA) align the model to be safe, accurate, and specialized.

  • πŸ“ˆ Difficulty: Intermediate
  • ⏰ Watch Time: 5h19m
  • ▢️ 10 Video Lectures
  • πŸ“• 2 Code Examples

β›³ Module 1: LLMs Concepts & Optimization techniques

The module explores advanced LLM optimization strategies. It dives into understanding and implementing Low-Rank Adaptation (LoRA) from scratch using Llama 3, introduces Google FunctionGemma for tool calling, and covers evaluating model performance on the HumanEval coding benchmark.

⏰ Watch Time: 2h14m

S.No. Topic Duration
1 Understanding LoRA from scratch - Dissecting Low-Rank Adaptation of LLMs Research Paper 27 mins Watch
2 Implement LoRA in LLMs from scratch - Modifying Llama 3 architecture 26 mins Watch
3 Introduction to Google FunctionGemma 270M model, LLM for Tool Calling 25 mins Watch
4 Evaluating LLM on HumanEval coding benchmark - Google Gemini 3.1 Pro 31 mins Watch
5 Tokenization - Visualizing Byte-Pair algorithm 25 mins Watch

β›³ Module 2: Fine-tuning Language Models

The module provides hands-on experience in adapting foundational models. It covers fine-tuning models like GPT-2 and Llama 3.2 for classification and summarization tasks, reproducing TinyStories for storytelling, and building Google's FunctionGemma tool-calling model from scratch.

⏰ Watch Time: 3h5m

S.No. Topic Duration
1 TinyStories 4M - Reproduce LLM for Storytelling - HuggingFace 38 mins Watch
2 Fine-tune GPT-2, 125M model for text classification - Pytorch 35 mins Watch
3 Fine-Tune LLM on Text Summarization task from scratch - Pytorch 39 mins Watch
4 Fine-Tuning Llama 3.2 - 1B model with LoRA from scratch on Text summarization 39 mins Watch
5 Reproducing Google FunctionGemma 270M model, LLM for Tool Calling 34 mins Watch

Reading Material & Code-Labs

To Be Added...


πŸ’  Phase 3: Core Deep Learning for LLMs

Core deep learning for LLMs relies on the Transformer architecture. These neural networks use self-attention mechanisms to process tokens simultaneously. In this module you will learn how to build a language model from scratch.

  • πŸ“ˆ Difficulty: Intermediate
  • ⏰ Watch Time: 2h44m
  • ▢️ 2 Video Lectures
  • πŸ“• 2 Code Examples

β›³ Module 1: Deep Neural Networks - Building a Language Model

⏰ Watch Time: 2h44m

S.No. Topic Duration
1 Building a Character level Language Model from scratch - Deep Neural Network 1h21m Watch
2 Building a Language Model for Auto-completion and Suggestions - Deep Neural Network 1h23m Watch

Reading Material & Code-Labs

To Be Added...

🌟 Show your support

Building and maintaining this open-source curriculum takes time and effort. If you find this repository useful for your AI engineering journey:

  • Star ⭐ this repository to help others find it.
  • Share it with your network or on social media.
  • Subscribe to the full video series on YouTube.

🀝 How to Contribute

We welcome community contributions! Whether it's fixing a typo, adding a new code-lab, or updating documentation, feel free to open a Pull Request or start a discussion in the Issues tab.

πŸ“„ License

This project is licensed under the MIT License.

πŸ› οΈ Prerequisites

Before diving into the modules, we recommend having:

  • Basic understanding of Python programming.
  • Familiarity with fundamental Machine Learning concepts.
  • An IDE installed (e.g., VS Code) and basic Git knowledge.
  • API keys for the respective models used in the code-labs (e.g., OpenAI, Google Gemini).

πŸ“« Connect with the Author

Created by Saurav Prateek. Feel free to reach out if you have any questions regarding the curriculum!

About

Learn Agentic AI, Deep Learning, Agentic Engineering, RAG and Multi-Agent Workflows.

Topics

Resources

License

Stars

29 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors