Skip to content
Professional courseEnrolling now

GenAI & LLM

Build, evaluate, fine-tune and deploy LLM-powered services. The foundation for the RAG and Agentic AI courses.

Prepares you for: GenAI Engineer · LLM Engineer · AI/ML Engineer (LLM) · Applied AI Engineer

Free to start · No setup needed · Learn at your own pace

17 modules
Every lesson is available
Foundations to advanced
Module 0 covers the prerequisites
Flexible schedule
About 164 hours, at your own pace
From ₹0 a month
Open-source tools first

What you’ll learn

  • Build and deploy an LLM-powered service without a tutorial
  • Get reliable structured output from any model, with validation and a review path
  • Run evaluations in CI and report quality, cost and latency for your system
  • Fine-tune a small open model and decide with evidence whether it beats prompting
  • Serve open models efficiently and size GPU memory
  • Choose and defend an architecture (prompting vs RAG vs agent vs fine-tune) for an unfamiliar brief

Skills you’ll gain

  • System design / architecture
  • Evaluation of LLM output
  • Python
  • Model serving and inference optimization
  • Cloud (AWS / GCP / Azure)
  • Security, safety and guardrails
  • Observability and monitoring
  • Agents / tool calling (intro level)
  • Fine-tuning (LoRA, PEFT, SFT)
  • SQL and data pipelines
  • Prompt and context engineering
  • Docker / Kubernetes
  • PyTorch / Hugging Face
  • Cost and token optimization
  • APIs / backend (FastAPI, REST, microservices)
  • RAG (intro level)
  • LangChain / LlamaIndex
  • LLM APIs (OpenAI / Anthropic / Gemini)
  • CI/CD and MLOps / LLMOps
  • Structured output / JSON schemas

Details to know

Capstone project
Deployed, tested and documented: proof for your portfolio
Assessments
A lab, a quiz and interview questions in every module
Job-aligned
Built from 20 real job posts
Recently updated
23 Nov 2026

There are 17 modules in this course

Each module adds one piece to the same capstone project.

  1. Module 0: Prerequisites: Python, Git, HTTP and LinuxModule 010 hours to completeAvailableOptional

    You’ll build: Create the capstone repo with README, .gitignore, pre-commit and a hello-world FastAPI endpoint.

    What you’ll be able to do

    • Write typed, tested Python (functions, classes, async basics)
    • Use Git branches and pull requests
    • Call a REST API and read JSON
    • Work in a Linux shell

    What’s included: 3 h theory · 5 h hands-on · 0 h project · 2 h revision · tools: python3.12, git, curl

    Start this module
  2. Module 1: How LLMs actually work: tokens, embeddings, attention, samplingModule 112 hours to completeAvailable

    You’ll build: Add a token-and-cost estimator utility to the capstone (counts tokens per request, estimates cost per 1,000 queries).

    What you’ll be able to do

    • Explain how text becomes tokens and why token count drives cost and failure modes
    • Describe the decoder-only transformer pipeline from embedding to logits
    • Control generation with temperature, top-k and top-p and predict the effect
    • Implement BPE and softmax sampling from scratch

    What’s included: 5 h theory · 4 h hands-on · 1 h project · 2 h revision · tools: python3.12, tiktoken, numpy

    Start this module
  3. Module 2: LLM APIs and local models: chat, streaming, tool calling, model gatewaysModule 212 hours to completeAvailable

    You’ll build: Capstone /chat endpoint with streaming, a provider switch (Ollama local / hosted API) and per-request cost logging.

    What you’ll be able to do

    • Call hosted and local models through one OpenAI-compatible client and a gateway (LiteLLM)
    • Stream tokens to a UI and handle timeouts, retries and rate limits
    • Implement a tool-calling loop by hand
    • Track tokens and cost per request

    What’s included: 4 h theory · 5 h hands-on · 2 h project · 1 h revision · tools: ollama, openai, litellm, fastapi, httpx

    Start this module
  4. Module 3: Prompt and context engineeringModule 38 hours to completeAvailable

    You’ll build: Prompt templates stored as versioned files with a regression test per template.

    What you’ll be able to do

    • Write system prompts with roles, constraints and examples
    • Apply few-shot, chain-of-thought and decomposition where they help
    • Budget the context window and order context for recall
    • Version prompts and test them

    What’s included: 3 h theory · 3 h hands-on · 1 h project · 1 h revision · tools: promptfoo, pytest

    Start this module
  5. Module 4: Structured output and document extraction: schemas, validation, retriesModule 410 hours to completeAvailable

    You’ll build: /extract endpoint: document in, validated JSON out, with confidence per field and a review queue for low-confidence fields.

    What you’ll be able to do

    • Design Pydantic schemas that models can fill reliably
    • Use JSON modes, tool calling and Instructor to get validated output
    • Retry and repair invalid output, and score field-level confidence
    • Extract fields from invoices, contracts or résumés with a human-review path

    What’s included: 3 h theory · 4 h hands-on · 2 h project · 1 h revision · tools: pydantic, instructor, pymupdf, pytest

    Start this module
  6. Module 5: Embeddings and semantic search basicsModule 58 hours to completeAvailable

    You’ll build: Similar-document lookup for extracted records (find duplicates and near-duplicates).

    What you’ll be able to do

    • Explain what embedding similarity does and does not capture
    • Embed and search a small corpus with cosine similarity
    • Pick an embedding model for a language and budget
    • Know when keyword search beats embeddings

    What’s included: 2 h theory · 3 h hands-on · 2 h project · 1 h revision · tools: sentence-transformers, numpy

    Start this module
  7. Module 6: Intro to RAG (continues in RAG Systems)Module 66 hours to completeAvailable

    You’ll build: A /ask endpoint that answers questions about extracted documents with citations and a 'not found' path.

    What you’ll be able to do

    • Explain the retrieve-then-generate pattern and its failure modes
    • Build a minimal RAG answer with citations
    • Tell a retrieval failure from a generation failure
    • Know what the full RAG course adds: parsing, hybrid search, re-ranking, evaluation, access control

    What’s included: 2 h theory · 2 h hands-on · 1 h project · 1 h revision · tools: sentence-transformers, qdrant-client

    Start this module Go deeper in RAG Systems
  8. Module 7: Intro to agents and tool use (continues in Agentic AI)Module 76 hours to completeAvailable

    You’ll build: An agent that looks up a vendor and drafts a follow-up for low-confidence extractions, behind a step limit.

    What you’ll be able to do

    • Explain the agent loop: model, tools, observations, stop condition
    • Build a two-tool agent with step limits
    • Decide when a fixed workflow beats an agent
    • Know what the full Agentic course adds: LangGraph, MCP, multi-agent, approvals, evals

    What’s included: 2 h theory · 2 h hands-on · 1 h project · 1 h revision · tools: openai, langgraph

    Start this module Go deeper in Agentic AI
  9. Module 8: Evaluation and testing: golden sets, LLM-as-judge, evals in CIModule 812 hours to completeAvailable

    You’ll build: Eval suite (DeepEval + pytest) on the extraction golden set that runs on every pull request and posts scores.

    What you’ll be able to do

    • Build a golden set and measure field-level accuracy
    • Use LLM-as-judge with calibration against human labels
    • Run evals in CI and block regressions
    • Track quality, latency and cost together

    What’s included: 4 h theory · 5 h hands-on · 2 h project · 1 h revision · tools: deepeval, promptfoo, pytest

    Start this module
  10. Module 9: Fine-tuning: LoRA/QLoRA, SFT, preference tuningModule 914 hours to completeAvailable

    You’ll build: A fine-tuned small model for one extraction task, compared with the prompted baseline and wired in behind a flag.

    What you’ll be able to do

    • Decide between prompting, RAG and fine-tuning with evidence
    • Prepare an instruction dataset from your own labelled data
    • Fine-tune a small open model with QLoRA (TRL + PEFT)
    • Evaluate the tuned model against the baseline on quality, latency and cost

    What’s included: 4 h theory · 6 h hands-on · 3 h project · 1 h revision · tools: transformers, peft, trl, unsloth, datasets

    Start this module
  11. Module 10: Serving and inference optimization: vLLM, quantization, batching, cachingModule 1012 hours to completeAvailable

    You’ll build: Self-hosted model endpoint with a router (cheap model first, escalate on low confidence) and a response cache; measured before and after.

    What you’ll be able to do

    • Serve an open model with vLLM or llama.cpp
    • Choose quantization levels and measure quality loss
    • Explain continuous batching and the KV cache, and size GPU memory
    • Cut cost and latency with caching and routing between models

    What’s included: 4 h theory · 5 h hands-on · 2 h project · 1 h revision · tools: vllm, llama.cpp, redis

    Start this module
  12. Module 11: LLMOps and observability: tracing, cost, prompt versionsModule 118 hours to completeAvailable

    You’ll build: Langfuse (or Phoenix) tracing on every request, with a cost dashboard and an alert.

    What you’ll be able to do

    • Trace every LLM call with inputs, outputs, cost and latency
    • Version prompts, datasets and models
    • Set alerts on quality and cost
    • Run A/B tests on prompts

    What’s included: 2 h theory · 3 h hands-on · 2 h project · 1 h revision · tools: langfuse, arize-phoenix, mlflow

    Start this module
  13. Module 12: Security, safety and guardrailsModule 128 hours to completeAvailable

    You’ll build: Input/output guardrails, PII redaction and an injection test set added to CI.

    What you’ll be able to do

    • Defend against direct and indirect prompt injection
    • Apply the OWASP Top 10 for LLM applications
    • Handle PII and retention under India's DPDP Act 2023
    • Write a model/system card

    What’s included: 2 h theory · 3 h hands-on · 2 h project · 1 h revision · tools: presidio, guardrails-ai

    Start this module
  14. Module 13: Architecture and system design for LLM applicationsModule 1312 hours to completeAvailable

    You’ll build: Architecture Decision Records (ADRs) for the capstone, plus 3 design exercises with model answers.

    What you’ll be able to do

    • Compare RAG, agentic, fine-tuned and hybrid architectures on cost, latency and risk
    • Apply a decision framework to an unseen brief
    • Draw and defend an end-to-end design
    • Plan a project from scope to rollout

    What’s included: 4 h theory · 5 h hands-on · 2 h project · 1 h revision · tools: mermaid

    Start this module
  15. Module 14: Deployment: FastAPI, Docker, CI/CD, cloudModule 1412 hours to completeAvailable

    You’ll build: Capstone live at a public HTTPS URL, deployed by CI on merge to main.

    What you’ll be able to do

    • Package the app as containers with health checks
    • Build a GitHub Actions pipeline: test, eval, build, deploy
    • Deploy to a VPS or Kubernetes with TLS and secrets
    • Roll back safely

    What’s included: 4 h theory · 5 h hands-on · 2 h project · 1 h revision · tools: docker, docker-compose, kubectl, gh, caddy

    Start this module
  16. Module 15: Capstone completion and portfolioModule 1516 hours to completeAvailable

    You’ll build: Final release v1.0: deployed, monitored, evaluated and documented.

    What you’ll be able to do

    • Finish, load-test and document the capstone
    • Write a case-study README and blog post
    • Record a 3-minute demo
    • Make one open-source contribution

    What’s included: 5 h theory · 6 h hands-on · 3 h project · 2 h revision · tools: locust

    Start this module
  17. Module 16: Interview and career readinessModule 168 hours to completeAvailable

    You’ll build: Interview kit: one-page project brief, architecture diagram and metrics.

    What you’ll be able to do

    • Answer GenAI concept and coding rounds
    • Do a GenAI system-design round in 45 minutes
    • Present the capstone in a project deep-dive
    • Tailor the CV to JD keywords

    What’s included: 2 h theory · 3 h hands-on · 2 h project · 1 h revision

    Start this module

Your schedule

Plan the course around your time

Tell us how much time you have, or when you need to finish. The planner adds a 15% buffer and dates every module.

Your time

Sign in to save the plan and track progress.

Total time
188.6 h
incl. 15% buffer
Per study day
2 h
6 days a week
Duration
15.7 weeks
95 study days
You finish
12 Mar 2027
starting 23 Nov

Module by module

  1. 1
    How LLMs actually work: tokens, embeddings, attention, sampling23 Nov – 30 Nov · 13.8 h
  2. 2
    LLM APIs and local models: chat, streaming, tool calling, model gateways30 Nov – 8 Dec · 13.8 h
  3. 3
    Prompt and context engineering8 Dec – 14 Dec · 9.2 h
  4. 4
    Structured output and document extraction: schemas, validation, retries14 Dec – 21 Dec · 11.5 h
  5. 5
    Embeddings and semantic search basics21 Dec – 25 Dec · 9.2 h
  6. 6
    Intro to RAG (continues in RAG Systems)25 Dec – 30 Dec · 6.9 h
  7. 7
    Intro to agents and tool use (continues in Agentic AI)30 Dec – 2 Jan · 6.9 h
  8. 8
    Evaluation and testing: golden sets, LLM-as-judge, evals in CI2 Jan – 11 Jan · 13.8 h
  9. 9
    Fine-tuning: LoRA/QLoRA, SFT, preference tuning11 Jan – 20 Jan · 16.1 h
  10. 10
    Serving and inference optimization: vLLM, quantization, batching, caching20 Jan – 28 Jan · 13.8 h
  11. 11
    LLMOps and observability: tracing, cost, prompt versions28 Jan – 3 Feb · 9.2 h
  12. 12
    Security, safety and guardrails3 Feb – 8 Feb · 9.2 h
  13. 13
    Architecture and system design for LLM applications8 Feb – 16 Feb · 13.8 h
  14. 14
    Deployment: FastAPI, Docker, CI/CD, cloud16 Feb – 24 Feb · 13.8 h
  15. 15
    Capstone completion and portfolio24 Feb – 6 Mar · 18.4 h
  16. 16
    Interview and career readiness6 Mar – 12 Mar · 9.2 h

How it’s worked out: 164 h × 1.15 = 188.6 h; 188.6 ÷ 2 h a day = 95 study days. If you fall more than 20% behind, the plan spreads the remaining hours over the days left instead of dropping content.

Capstone

Pick the project you’ll build

One project grows through every module, so you finish with something deployed, tested and documented to show employers.

RecommendedMedium

Structured document extraction service

Invoices, contracts or résumés in; validated JSON out, with confidence scores, a human-review queue for low-confidence fields, an eval set in CI, cost and latency per document, and a switch between a local and a hosted model. Deployed as an API.

Proves

  • structured output
  • evals in CI
  • serving
  • LLMOps
  • deployment
Challenging

Support-ticket triage with a fine-tuned small model

Fine-tune a small open model (QLoRA) to classify and route tickets, compare it with a prompted frontier model on quality, latency and cost, and serve the winner behind a fallback.

Proves

  • fine-tuning
  • evaluation
  • serving
  • cost trade-offs
Stretch

Indic-language content assistant

Summarise and translate government-scheme or agri-advisory documents into Indian languages, with a per-language eval set and a quantized model served with vLLM on a small GPU.

Proves

  • multilingual evaluation
  • quantization
  • serving
  • security

Have your own idea, or want one tailored to you?

Sign in to talk it through with the AI professor, save your plan and create your capstone repo on GitHub.

Sign in to start

Built from real jobs

The skills employers ask for

Counted across 20 job posts for GenAI Engineer and LLM Engineer roles in India and worldwide. Counts are lower bounds from the posting text.

Must-have Nice to have

  • System design / architecture18 of 20 posts

    Must-have · covered in module 13

  • Evaluation of LLM output15 of 20 posts

    Must-have · covered in module 8

  • Python15 of 20 posts

    Must-have · covered in modules 0, 1

  • Model serving and inference optimization14 of 20 posts

    Must-have · covered in module 10

  • Cloud (AWS / GCP / Azure)11 of 20 posts

    Must-have · covered in module 14

  • Security, safety and guardrails11 of 20 posts

    Must-have · covered in module 12

  • Observability and monitoring10 of 20 posts

    Must-have · covered in module 11

  • Agents / tool calling (intro level)9 of 20 posts

    Must-have · covered in module 7

  • Fine-tuning (LoRA, PEFT, SFT)9 of 20 posts

    Must-have · covered in module 9

  • SQL and data pipelines9 of 20 posts

    Must-have · covered in modules 4, 8

  • Prompt and context engineering8 of 20 posts

    Must-have · covered in module 3

  • Docker / Kubernetes7 of 20 posts

    Nice to have · covered in module 14

  • PyTorch / Hugging Face6 of 20 posts

    Nice to have · covered in modules 1, 9

  • Cost and token optimization6 of 20 posts

    Nice to have · covered in modules 2, 11

  • APIs / backend (FastAPI, REST, microservices)5 of 20 posts

    Nice to have · covered in modules 2, 14

  • RAG (intro level)4 of 20 posts

    Nice to have · covered in module 6

  • LangChain / LlamaIndex4 of 20 posts

    Nice to have · covered in modules 6, 7

  • LLM APIs (OpenAI / Anthropic / Gemini)3 of 20 posts

    Nice to have · covered in module 2

  • CI/CD and MLOps / LLMOps3 of 20 posts

    Nice to have · covered in modules 8, 11, 14

  • Structured output / JSON schemas0 of 20 posts

    Nice to have · covered in module 4

Why this course

What typical courses skip, and how this one covers it

Generative AI with LLMs (DeepLearning.AI and AWS, Coursera)

LLM lifecycle, pre-training, fine-tuning, RLHF, app architectures

They miss: Deployment, CI/CD, evals in CI, observability, security, cost, a deployed project

Here: Every module adds to one deployed capstone; evals in CI (M8), tracing and cost (M11), security (M12), deployment (M14)

Generative AI Engineering with LLMs (IBM, Coursera)

Transformer internals, fine-tuning, RAG with LangChain, a RAG project

They miss: CI/CD, observability, cost, prompt injection, architecture trade-offs

Here: Production engineering in M10–M14 and a decision framework in M13

AI Engineer Core Track (Ed Donner, Udemy)

Broad weekly projects: frontier models, chatbots, RAG, QLoRA, multi-agent

They miss: Notebook-centred; no CI/CD, evals in CI, security or observability

Here: Same breadth, with RAG and agents in their own courses, plus production practice

Hugging Face LLM Course

Transformers, tokenizers, datasets, fine-tuning open models

They miss: Everything after the model: serving, evals, security, deployment

Here: Uses Hugging Face tooling in M1 and M9, then takes the model to production

Generative AI for Beginners (Microsoft)

Wide survey: prompting, chat, search, images, function calling, RAG, agents

They miss: Azure-leaning; no evals in CI, observability, cost control or capstone

Here: Vendor-neutral (local and hosted models), with a deployed, evaluated capstone

Also built in: what most learners forget

  • India's DPDP Act 2023: personal data handling for extraction workloads (in Module 12)
  • Model and prompt licence checks before shipping (open-weights licences differ)
  • A proctored final project review for a verifiable certificate
  • Peer code review of the capstone pull requests
  • Cost budgets in CI (fail the build when cost per request regresses)
  • Captions and transcripts for every video and animation

Tools and cost

Open-source first, from ₹0 a month

Everything runs on free, open-source tools. Paying only makes some steps faster.

Free path

$0 /month

about ₹0

Local models, free tiers and self-hosted tools.

RecommendedBest value

$17.5 /month

about ₹1,540

LLM APIs $5 · GPU for fine-tuning (Module 9) $6 · Capstone hosting $6.5

Premium

$135.5 /month

about ₹11,924

LLM APIs $30 · GPU for fine-tuning (Module 9) $40 · Capstone hosting $25 · Observability $39 · Domain $1.5

The tool stack

LayerOpen-source toolPaid alternativeFree tierUsed in
Language / runtimePython 3.12, uv-FreeAll modules
Models (local)Ollama with open models (Qwen, Llama, Gemma); llama-cpp-python 0.3.37OpenAI / Anthropic / Gemini APIsFree locallyModules 2–10
Model gatewaylitellm 1.110.2Provider SDKs directlyFree (self-hosted)Modules 2, 11
Structured outputpydantic 2.14.4, instructor 1.17.0Provider JSON modesFreeModule 4
Evaluationdeepeval 4.3.4, promptfoo 0.126.0 (npm)LangSmith evals, BraintrustFreeModule 8
Fine-tuningtransformers 5.23.0, peft 0.22.0, trl 1.18.2, unsloth 2026.11.7OpenAI / Vertex fine-tuning APIsColab free GPUModule 9
Servingvllm 0.34.0, llama.cppTogether, Fireworks, Baseten endpointsFree (your GPU)Module 10
ObservabilityLangfuse (langfuse 5.2.0), self-hostedLangSmith Plus ($39/seat/month)Self-hosted freeModule 11
Guardrailsguardrails-ai 0.11.0, custom validatorsLakera, Azure AI Content SafetyFreeModule 12
API and deployfastapi 0.165.0, Docker, GitHub Actions, Caddy on a VPSAWS / Azure / GCPGitHub Actions free minutesModule 14
Monthly cost breakdown
ItemFree pathPaid pathFreeRecommendedPremium
LLM APIsOllama local modelsBudget hosted model for dev, stronger model for evals$0$5$30
GPU for fine-tuning (Module 9)Colab free tierRunPod RTX 4090, about $0.34/h, ~15 h$0$6$40
Capstone hostingLocal DockerHetzner CX23-class VPS (about EUR 5.49/month)$0$6.5$25
ObservabilitySelf-hosted LangfuseLangSmith Plus$0$0$39
DomainSubdomain of kodev-ai.comOwn domain$0$0$1.5
Total per month$0 (₹0)$17.5 (₹1,540)$135.5 (₹11,924)

Prices checked 19–21 Nov 2026 and they change often. Hetzner CX23 is about EUR 5.49/month (excl. VAT); RunPod RTX 4090 community cloud from about $0.34/h. INR shown at an assumed Rs 88 per USD; adjust to today's rate.

Ready when you are

Start with Module 1: How LLMs actually work: tokens, embeddings, attention, sampling

12 hours. Interactive lessons, a coding window and a quiz. No setup needed.