AI EngineeringZero to ProductionHome·About·Contact
Free Hands-On Course

AI Engineering Course — Build LLM, RAG & Agentic Systems

A complete, free AI engineering curriculum you learn by doing — from Python fundamentals to RAG, AI agents, evaluation, and production deployment with Claude and AWS. Every one of 230+ lessons has objectives, a lab you type out yourself, runnable code, graded exercises with worked solutions, common-mistake warnings, and a checkpoint before you move on. See the full curriculum →

📅 New chapters every monthThis course grows monthly. Coming next:
  • 🤖 OpenAI / Codex section — the OpenAI counterpart to our Claude section — Codex & GPT models
  • 🦊 GitLab automation with Claude & Codex — CI/CD pipelines that plug in either model
Expected from October 2026.
🧰 Set up your workspace first New here? Start with Using VS Code for this course — a one-time guide to installing VS Code and the Python + Anthropic extensions, opening projects, running the labs, managing virtual environments, and keeping your API key safe. Every chapter and project assumes that setup.
How to use this course This course is one journey with a destination: you learn each building block, then in Part V you assemble all of them into a real, advanced capstone — an AI DevOps Engineer that can be onboarded into any company and even hired on subscription. Start with Part 0 for the mental model, then work the chapters in order — each one ends with a "🏗️ Toward the capstone" note showing exactly how what you just built plugs into the final project. Keep a terminal open and run every snippet. Code targets the Anthropic Python SDK with claude-opus-4-8, but the concepts transfer to any provider.

Start Here · The Complete Python Curriculum 🐍

Python is the most important place to start Every lab, project, and the capstone are written in Python — so begin here. All 20 Python lessons live on one umbrella page, in learning order: fundamentals (P1–P6, basics → expert), a full computer-science Data Structures & Algorithms track (D1–D6), and the advanced AI-engineering layer (A1–A8). New to Python? Work it top to bottom. Fluent? Skim and jump to Part 0 below.

📐 System Design · SQL, LLD & HLD — from queries to designing Uber

Production-grade code & large-scale architecture An 8-week System Design track, taught Python-first: SQL & schema design (weeks 1–2), OOD, SOLID & design patterns (weeks 3–4), HLD & distributed architecture (weeks 5–6), and scalable infrastructure + real case studies (weeks 7–8). Every concept is implemented in runnable Python, climbing essentialexpert. Pairs with the DSA track for complete interview + on-the-job readiness.

Part V · Deploy it for real → the Capstone

This is where the whole course lands Chapters 1–6 taught you to build the pieces. Part V is where you become a Forward Deployed Engineer and assemble everything into one real, advanced project — an AI DevOps Engineer that companies can onboard (Git/Bitbucket/GitLab, Terraform, Kubernetes/EKS, AWS, Docker, Jenkins, GitLab CI, Argo CD, Python) and even hire on subscription. Every earlier chapter feeds directly into it.
🧪 Build it step by step — hands-on labs with runnable code Chapter 8 is the design; these four labs construct the whole thing, mock-first, with test cases and troubleshooting. The finished, runnable project lives in llm-course-starter/devops-agent/.

🧰 Anthropic API in Practice · the day-to-day API features, as runnable recipes

Beyond "your first call" — the API features real work runs on A cookbook of the Anthropic API features you reach for on the job, each shown as real, copy-paste SDK code (clearly labelled where it needs a key/network): Message Batches (bulk at ~50% cost), prompt caching hands-on, the Files API with vision & PDF, token counting & usage tracking, and the built-in server-side tools (web search, code execution). Builds directly on Claude · the API; ends with a batch document-processing capstone.
Chapter AP1

Message Batches API

Submit thousands of requests asynchronously at ~50% cost: batches.create with a custom_id per request, poll processing_status, retrieve & reconcile results. Batch vs realtime, per-item errors, chunking.

● Ready
Chapter AP2

Prompt caching, hands-on

The biggest cost/latency lever, in code: where to put the cache_control breakpoint, reading cache_creation/cache_read usage, the ~5-min TTL, invalidation, and the write-1.25× / read-0.1× math.

● Ready
Chapter AP3

Files API, vision & PDF

Send images and PDFs to Claude: inline base64 vs the Files API (upload once, reuse by file_id), document Q&A with citations, size/format limits, and cost of image/doc tokens.

● Ready
Chapter AP4

Token counting & usage

Pre-flight with count_tokens, read the usage object precisely, compute $ per call, track cost, handle rate limits, and page list endpoints with the SDK's auto-pager.

● Ready
Chapter AP5

Server-side tools

Built-in tools Anthropic runs for you — web search and code execution — no manual tool loop. How to enable them, read results & citations, their pricing, and when to prefer them over client-side tools.

● Ready
Chapter AP6

Run Claude anywhere

The same code on three providers: the direct Anthropic API, AnthropicBedrock, and AnthropicVertex. Auth per provider, model-ID mapping, and when compliance or an existing cloud commit decides the door.

● Ready
Chapter AP7

The Claude Agent SDK

Anthropic's official SDK for building agents in code — the engine behind Claude Code. The bridge between the raw message loop and the CLI: it runs the loop, you supply tools, permissions and config.

● Ready
Chapter AP8

Request parameters, in full

A precise reference to every messages.create parameter — system, temperature/top_p, stop_sequences, tool_choice, thinking and more: what each does, sane defaults, and the gotchas.

● Ready
Chapter AP9

Prompting Claude & migration

Anthropic-specific technique — XML tags, prefilling, long-context ordering, the Console prompt improver — plus the model-migration workflow: pin, re-eval old vs new, adjust prompts, canary, roll out.

● Ready
Project AP

Batch document pipeline (capstone)

Compose the track: cache a shared instruction, submit a folder of documents as one Batch for ~50% savings, extract structured data, reconcile by custom_id, and produce a token-usage cost report.

● Ready

🧩 No-Code Agentic AI · ship agents without writing the loop

The same agents you coded — on a canvas You built RAG and agents in Python. This module is the no/low-code path to the same outcomes, and each page maps every drag-and-drop node back to the chapter that teaches the concept. n8n & Make automate business processes with AI steps; Zapier is the widest, easiest integration layer; Flowise is LLM-native (RAG bots & agents). The skill this module trains is choosing the right tool per layer.

☁️ AWS AI Automation · Bedrock, agents, ML & AI services, done in code

All of AWS's AI, as code you can automate A complete basic→expert track over Amazon's AI stack: Bedrock (Claude & foundation models, tool use, managed RAG via Knowledge Bases, Agents, Guardrails), the SageMaker ML platform, and the pre-built AI services (Textract, Comprehend, Rekognition, Transcribe, Kendra, Amazon Q). Every provisioning step is shown in boto3 + Terraform/CDK, framed Claude-on-Bedrock-first so it builds directly on Claude · the API and Ch 3 RAG. Ends with three end-to-end projects.
Chapter W1

AWS AI foundations

The three layers of AWS AI, boto3 auth via the credential chain & IAM roles, regions & model access, and the cost model. Where Claude fits.

● Ready
Chapter W2

Amazon Bedrock & Claude

The Converse API, calling Claude on Bedrock, streaming, token usage, and the raw invoke_model escape hatch.

● Ready
Chapter W3

Tool use & structured output

Give Claude tools via toolConfig, run the tool loop, and force schema-valid JSON with toolChoice — the seed of an Agent.

● Ready
Chapter W4

Knowledge Bases (managed RAG)

Bedrock Knowledge Bases, OpenSearch Serverless vector store, ingestion, and Retrieve / RetrieveAndGenerate.

● Ready
Chapter W5

Bedrock Agents

Managed agentic loops: action groups, Lambda executors, orchestration, and session state — the manual W3 loop, run for you.

● Ready
Chapter W6

Bedrock Guardrails

Content filters, PII detection & redaction, denied topics, and contextual grounding checks — safety as a configurable layer.

● Ready
Chapter W7

IaC: Terraform & CDK

Provision the KB + Agent + Guardrail + OpenSearch stack with Terraform, then the same with CDK. IAM roles wired correctly.

● Ready
Chapter W8

SageMaker deploy

JumpStart, real-time endpoints, deploying an open model, batch transform, and invoking from boto3 — plus the delete-the-endpoint discipline.

● Ready
Chapter W9

SageMaker pipelines

SageMaker Pipelines, training jobs, the Model Registry, and MLOps automation for classic + generative ML.

● Ready
Chapter W10

Textract & Comprehend

OCR, forms & tables with Textract; entities, PII & sentiment with Comprehend. A document-AI pipeline, end to end.

● Ready
Chapter W11

Vision & speech

Rekognition (images/video), Transcribe (speech-to-text), Translate, and Polly (text-to-speech) — media automation.

● Ready
Chapter W12

Kendra & Amazon Q

Kendra enterprise search and Amazon Q (Developer & Business) — managed search and assistants over your own data.

● Ready
Chapter W13

Serverless orchestration

Wire AI services into event-driven pipelines with Lambda, Step Functions, and EventBridge. The automation glue.

● Ready
Chapter W14

Observability & cost

CloudWatch, model-invocation logging, cost controls, governance, and monitoring for a live AWS AI system.

● Ready
Project A

Document intelligence pipeline

S3 → Textract → Claude-on-Bedrock extraction → DynamoDB, Terraform-provisioned, with Guardrails. Serverless, end to end.

● Ready
Project B

Bedrock support agent

A Bedrock Agent + Knowledge Base support assistant with action groups, Guardrails, IaC, and evals — production-shaped.

● Ready
Project C

Production RAG platform

KB + OpenSearch + Lambda API provisioned with CDK, plus CI, monitoring, and a cost dashboard. The full platform build.

● Ready

📊 Data & App Building · wrangle it, chart it, serve it, show it

The practical Python around every LLM app An LLM is one piece; a working app also loads and cleans data, visualizes results, exposes an API, and puts a UI in front. This module covers the four workhorses: Pandas/NumPy for data wrangling, Matplotlib/Seaborn for charts, FastAPI for the async backend, and Streamlit/Gradio for a Python-only UI. It builds on A4 (tensors), C2 (streaming), A3 (async), and O3 (deploy).

🅰️ Anthropic Skills · Claude Code, Cowork, Skills, Subagents, MCP & Vertex, in depth

The official-training deep dives, built into the course Modeled on Anthropic's own skills catalog: mastering Claude Code (steering, automation), Claude Cowork, building Agent Skills and Subagents, advanced MCP, and running Claude on Google Cloud / Vertex. Each chapter goes basic→advanced with diagrams, step-by-step guides, and detailed labs, extending the C3/C4 introductions.

🎙️ Frontier Agent Capabilities · voice, computer use, reasoning, memory & modern retrieval

The 2025-26 frontier — what production teams are shipping now The newest, fastest-moving agent capabilities, each built basic→tech-lead with runnable code: voice & realtime agents, computer use / browser agents, reasoning models & test-time compute, long-term memory (Mem0/Letta), RAG evaluation (Ragas) & advanced retrieval, and the modern agent SDKs (OpenAI Agents SDK, Pydantic AI). Builds on Ch 4 Agents, Ch 3 RAG and the Claude track. Ends with a voice-agent capstone.
Chapter FA1

Voice & realtime agents

Speech-to-speech vs the STT→LLM→TTS pipeline, streaming transport, turn detection & barge-in, and the ~800ms latency budget that makes a voice agent feel human.

● Ready
Chapter FA2

Computer use & browser agents

How a model 'sees' a screen and returns click/type actions — the perceive→plan→act loop, grounding, sandboxing, and when a browser agent beats an API.

● Ready
Chapter FA3

Reasoning & test-time compute

Extended/adaptive thinking, why spending compute before answering lifts hard-task accuracy, the effort dial (low→max), and routing fast vs reasoning by cost.

● Ready
Chapter FA4

Long-term agent memory

Why the context window isn't memory: episodic vs semantic stores, the write/retrieve/consolidate loop, and the Mem0 / Letta (MemGPT) self-editing-memory pattern.

● Ready
Chapter FA5

RAG evaluation

Faithfulness, answer relevance, context precision & recall — the four metrics that catch retrieval vs generation failures separately, and eval-gating RAG in CI (Ragas).

● Ready
Chapter FA6

Advanced retrieval

Beyond naive top-k: contextual retrieval, hybrid search + RRF fusion, cross-encoder reranking, embedding fine-tuning, and structure-aware chunking.

● Ready
Chapter FA7

Modern agent SDKs

The newer typed/lightweight frameworks — OpenAI Agents SDK (handoffs, guardrails, sessions) and Pydantic AI (type-safe agents) — vs the LangChain/CrewAI stack.

● Ready
Project FA

Voice agent with memory (capstone)

Compose the whole track: a voice agent that remembers, escalates hard turns to a reasoning model, retrieves with an advanced pipeline, and ships behind an eval gate.

● Ready

🧬 ML Systems Internals · GPU memory, distributed training, kernels & serving at scale

The systems-engineering layer beneath the models For engineers who serve and train at scale: where VRAM goes, distributed-training parallelism (DDP/FSDP), FlashAttention & the memory-bandwidth wall, multi-GPU serving, and the throughput economics that turn GPUs into $/token. Builds on Inference & Cost and vLLM serving.

🧩 Advanced Challenges · diagnose, design, and defend like a staff engineer

The rigor layer — hard, open-ended, staff-level Not tutorials — challenges. Diagnose a broken RAG or agent from symptoms, design under conflicting constraints, run an incident post-mortem, and defend a tradeoff against alternatives. Each ships a self-scoring rubric so you can grade your own work against a production bar. Culminates in a full audit-and-harden capstone.

⚡ Inference & Cost Optimization · make models fast & cheap to serve

Advanced / expert track The expert layer under MLOps: how to make model inference fast and cheap. Quantization, the KV-cache, continuous batching, speculative decoding, and serving engines (vLLM/TGI) — the difference between a demo and an economical production service.

🎯 Career & Interview Prep · turn all this into the job (& the promotion)

From skilled to hired to tech-lead You've built the skills; this section lands the role and grows the career: resume & portfolio, the behavioral interview (STAR), the coding and system-design interview process (the problems live in DSA and System Design), offer negotiation, and a first-90-days → tech-lead playbook. Climbs essentialtech-lead.

🏛️ Case Studies & Reference Architectures · end-to-end designs, real patterns, honest scenarios

Where everything comes together — designed like the real thing Full end-to-end system designs built on Anthropic's genuinely published engineering & safety guidance (agents-vs-workflows, contextual retrieval, caching economics, MCP, Constitutional AI — cited as public guidance), plus clearly-labelled representative industry scenarios (support triage, compliance docs, healthcare RAG). Requirements → architecture → code → evals → cost → failure modes, each with a grading rubric. No invented customer stories — real when it's real, labelled representative when it's a scenario. Ends with a reference-design capstone.
Chapter CS1

Agents vs workflows

Anthropic's published guidance made practical: most "agent" problems are better solved by composable workflows. The five workflow patterns + the autonomous-agent pattern, each with when-to-use and runnable code — and how to tell which you actually need.

● Ready
Chapter CS2

Case study · support triage

A representative end-to-end system: classify & route inbound support, answer with RAG, gate on confidence, escalate to a human. Requirements → architecture → code → evals → cost/latency at scale → failure modes.

● Ready
Chapter CS3

Case study · compliance docs

A regulated-industry design: extract obligations and flag risk over large documents with citations, abstention, human sign-off, and an audit trail — where a wrong answer is a legal liability, so the system abstains, cites, and gates.

● Ready
Chapter CS4

Case study · clinical-knowledge RAG

Grounded answers over vetted medical literature under strict PII/PHI and data-residency constraints — self-host vs region-locked, redaction, citations, abstention, and clinician-in-the-loop. Decision-support only, never medical advice.

● Ready
Chapter CS5

Scale & cost war-stories

Representative production failures and their fixes: cost blowouts (caching), missed latency SLOs (tiering + streaming), rate-limit outages (backoff + breaker), slow bulk jobs (Batches), silent regressions (eval gates), context blowups (trimming).

● Ready
Chapter CS6

Safety by design & constitutional AI

Anthropic's public safety research explained — Constitutional AI, RLAIF, the Responsible-Scaling mindset — plus how you build safely on top: layered defenses, refusals, guardrails, red-teaming, and the incident→eval loop.

● Ready
Project CS

Write a reference design (capstone)

The finale: take a system idea and produce a complete reference design — requirements, the agents-vs-workflows decision, component tradeoffs, data flow, safety, evals, a cost/latency budget, failure modes, and a rollout plan — with a runnable skeleton and a master grading rubric.

● Ready
Prerequisites Comfortable with Python (functions, classes, pip), a terminal, and basic JSON. No ML background required — we build intuition as we go.
Self-contained course · works offline · open index.html in any browser. Model IDs, pricing, and beta features are time-sensitive — verify against live provider docs before production.
© 2026 studybydoing.in · AI Engineering: Zero to Production · All rights reserved. · About · Privacy Policy · Terms · Contact
Educational content, provided as-is and without warranty. Code samples are examples — review, test, and adapt them before using in production. See the Terms of Use & Disclaimer. Use at your own risk.
© studybydoing.in