COURSE SUMMARY
AI Engineering with Modern C++: LLMs, RAG, AI Agents & GenAI
Learn how to build real-world AI applications with Modern C++. Work with Large Language Models (LLMs), Generative AI, embeddings, vector search, Retrieval-Augmented Generation (RAG), AI reranking, local LLMs, and AI agents.
Most Generative AI courses focus on Python. This course takes a different approach: you will learn how to integrate modern AI capabilities directly into C++ applications, combining the performance and flexibility of C++ with today's powerful AI technologies.
This is a hands-on AI Engineering course focused on building working applications rather than studying AI theory. You will progressively move from your first LLM API call to advanced RAG pipelines, hybrid retrieval, reranking, AI agents, and Agentic RAG.
What you will learn
- Build AI-powered applications using Modern C++ and LLM APIs.
- Integrate OpenAI and Groq APIs into C++ applications.
- Understand tokens, embeddings, tensors, context windows, and LLM inference.
- Generate embeddings and implement semantic search.
- Build searchable knowledge bases using document chunking and embeddings.
- Implement Retrieval-Augmented Generation (RAG) applications.
- Build Vector RAG using SQLite and FAISS.
- Combine keyword and semantic search using BM25 and vector search.
- Improve retrieval quality using Reciprocal Rank Fusion (RRF).
- Apply AI reranking models to improve RAG results.
- Run local LLMs using llama.cpp and GGUF models.
- Build AI agents that use tools and perform multi-step tasks.
- Design orchestrated AI agent workflows.
- Build Agentic RAG applications that combine retrieval, reasoning, and tools.
What you will build
- LLM applications using OpenAI and Groq APIs.
- Local LLM applications using llama.cpp.
- Semantic search engines and searchable knowledge bases using embeddings.
- Vector RAG applications using SQLite and high-performance Vector RAG using FAISS.
- Hybrid RAG using BM25, vector search, and RRF, plus AI-reranked RAG systems.
- Calculator and orchestrated AI agents.
- An Agentic RAG-based AI medical assistant.
Course roadmap
AI Engineering Fundamentals → LLM APIs → Local LLMs → Embeddings → Vector Search → RAG → FAISS → Hybrid RAG → Reranking → AI Agents → Agentic RAG
Each concept builds on the last, giving you a practical understanding of how modern AI applications are designed and implemented.
Technologies you will use
Why learn AI Engineering with C++?
C++ remains essential for high-performance software, systems programming, enterprise applications, edge computing, and performance-sensitive workloads. This course shows you how to bring modern Generative AI and LLM capabilities into the C++ ecosystem, integrating AI into real C++ applications instead of learning only through Python notebooks.
Who is this course for?
- C++ developers moving into AI Engineering.
- Software engineers interested in Generative AI and LLM applications.
- Backend and systems developers building AI-powered software.
- Developers learning RAG and semantic search.
- Programmers interested in AI agents and Agentic AI.
- Developers who want to run LLMs locally with C++.
- Students and professionals looking for practical AI Engineering skills.
Prerequisites
Basic C++ programming knowledge is recommended.
No prior experience with LLMs, RAG, embeddings, vector databases, AI agents, or Generative AI is required. These concepts are introduced progressively throughout the course.
Start building AI with Modern C++
Move beyond traditional software development and follow a practical path from LLM fundamentals to RAG, vector search, reranking, AI agents, and Agentic RAG. Learn the concepts, write the C++ code, build the applications, and develop the skills to engineer modern AI systems.
LESSON-BY-LESSON OUTLINE
Course contents
Expand a module to explore its lessons and durations.
Course Setup and Development Environments23 lessons
- Welcome to AI Engineering with Modern C++
- What You'll Build in This AI Engineering Course
- Installing Visual Studio 2026 for C++ AI Development
- Installing Git for AI Engineering
- Installing CMake for C++ AI Projects
- Installing vcpkg: The C++ Package Manager
- Setting Up the Course Source Code
- Installing the C++ AI Libraries and Tools
- Installing ONNX Runtime for C++ AI Applications
- Installing Pandoc for Document Processing
- Downloading LLM, Embedding and Reranking Models
- Configuring Dependencies for the C++ AI Solution
- Building and Testing the Course Solution
- Creating and Configuring a Groq API Key
- Creating and Configuring an OpenAI API Key
- Installing the Course Demonstration Source Code in Ubuntu
- Installing the Libraries and Tools Required for the Course
- Building All Course Projects from the Source Code
- Installing Visual Studio Code for Ubuntu and WSL
- Creating Groq and OpenAI API Keys
- Downloading the LLM, Embedding and ReRanking Models
- Building and Debugging Course Projects Using Visual Studio Code
- Setting Up the API Key Environment for the Course Projects
AI Fundamentals and LLM Applications with C++18 lessons
- Understanding Tokens and Tokenization in AI
- Understanding Embeddings in AI
- Using Cosine Similarity for Semantic Search
- Understanding Tensors in AI and Machine Learning
- Understanding Context Windows in LLMs
- Understanding AI Models and LLMs
- Understanding AI Inference Engines
- Prompt Engineering Fundamentals for LLMs
- REST API Fundamentals for AI Applications
- Making HTTP Requests in C++ with libcurl
- Calling the OpenAI API from C++
- Parsing JSON in C++ with nlohmann::json
- Building an OpenAI API Client Class in C++
- Controlling LLM Output: Temperature, Max Tokens, Top-P and N
- Streaming LLM Responses in C++
- Generating JSON and Structured Outputs from LLMs
- Using Function Calling with LLMs
- Building a C++ LLM Chat Application
Local LLMs with llama.cpp4 lessons
- Why Run LLMs Locally?
- Running LLMs Locally with llama.cpp
- Understanding GGUF Models for Local LLMs
- Building a Local LLM Chat Application in C++
Embeddings, Vector Search and RAG with SQLite10 lessons
- Creating Embeddings for RAG
- RAG Indexing Pipeline: Preparing Documents for Indexing
- RAG Document Chunking: Why Chunking Matters
- Chunking Markdown Documents with MD4C
- Windows Embeddings Running Slowly? Build in Release Mode!
- Generating Embeddings for Document Chunks
- Storing Chunks and Embeddings in SQLite
- Implementing Vector Search with SQLite
- Understanding Retrieval-Augmented Generation (RAG)
- Building Vector RAG with SQLite and OpenAI
FAISS, Hybrid RAG and AI Reranking10 lessons
- Indexing Documents with FAISS and SQLite
- Implementing Vector Search with FAISS and SQLite
- Building High-Performance Vector RAG with FAISS and SQLite
- Understanding BM25 and Full-Text Search
- Building a Hybrid BM25 and Vector Search Index
- Understanding Reciprocal Rank Fusion (RRF)
- Building Hybrid RAG with BM25, Vector Search and RRF
- Understanding Reranking in RAG
- Tokenizing Text for AI Reranking
- Building RAG with AI Reranking and ONNX Runtime
AI Agents and Agentic RAG6 lessons
- Understanding AI Agents and Agentic AI
- Building a Calculator AI Agent in C++
- Building Orchestrated AI Agents in C++
- Understanding Agentic RAG
- Building the Knowledge Base for Agentic RAG
- Building an AI Medical Assistant with Agentic RAG
READY TO BUILD?
Learn AI Engineering with Modern C++.
Explore LLMs, retrieval, agents and Agentic RAG on Udemy.
