AI Engineering & LLM Systems (A–Z)
Tokenizers, Prompting, Structured Outputs, RAG, MCP & Agents — Visually
A 100% free, visual-first AI Engineering course built from first principles. Play with live BPE tokenizers and sampling sliders, trace wire-level LLM & Agent pipelines step-by-step, and ship vendor-neutral OpenAI, Gemini & Claude code.
- 8 Client-Side Interactive AI Playgrounds (Zero API Keys)
- Wire-Level LLM & Agent Telemetry Steppers
- 16 Custom Vector Architecture Diagrams
- 4-Way SDK Code Tabs (OpenAI · Gemini · Claude · TypeScript)
What You'll Build & Master in This Course
Complete AI Course Syllabus (21 Lessons)
Tokenization, BPE & Token Economics
Discover why LLMs never read words or characters: play with a live BPE subword tokenizer, understand why models struggle with spelling and math, and master token cost economics.
Context Windows, Self-Attention & KV Caching
Understand how Transformer Self-Attention, Prefill vs Decode phases, KV Caching, and the 'Lost in the Middle' effect govern latency, accuracy, and 90% prompt-caching discounts.
Temperature, Top-P, Logits & Why LLMs Hallucinate
Play with live Temperature and Top-P sliders to watch softmax probability bars reshape in real time, learn why even T=0 isn't 100% deterministic, and understand the math behind hallucinations.
System Prompts, Role Hierarchy & Instruction Design
Replace fragile 'Act as a genius' prompt folklore with engineering discipline: master the System/Developer/User instruction hierarchy, the 5-Block System Spec, XML structuring, and prompt versioning.
Few-Shot Prompting, Chain-of-Thought & Reasoning Models
Understand why Transformers cannot do multi-hop math in a single token: master Few-Shot calibration, the 'Reason-Before-Verdict' schema rule, and native Reasoning Models (o3, Gemini Thinking, Claude Extended Thinking).
Prompt Injection, Jailbreaks & Defense-in-Depth
Test real prompt-injection attacks in an interactive simulator and learn how senior AI security engineers defend LLM apps using escaped XML delimiters, sandwich prompts, strict schemas, and least-privilege auth.
JSON Mode vs Constrained Decoding (Pydantic & Zod)
Never write fragile regex parsers for LLM outputs again: explore how Grammar-Constrained Decoding masks invalid tokens to -∞, compare JSON Mode vs Strict Schemas, and ship 100% typed Pydantic & Zod pipelines.
Classification, Entity Extraction & Model Routing Pipelines
Build the three highest-ROI enterprise AI pipelines in existence: high-precision multi-label classifiers, span-grounded entity extractors, and tiered Flash-to-Frontier model routers that slash bills by 80%.
Streaming (SSE), Retries, Rate Limits & Truncation Handling
Turn fragile localhost LLM prototypes into resilient 99.95%-uptime backend services: master Server-Sent Events (SSE) streaming, TTFT vs TPOT latency math, jittered 429/529 retries, provider fallbacks, and truncation recovery.
Text Embeddings & Cosine Similarity Visually
See how embedding models project human meaning into 1,536-dimensional geometry: explore a live 2D vector plot, master Cosine Similarity vs Dot Product, and shrink vector RAM by 75% with Matryoshka truncation.
Document Chunking Strategies: Fixed, Recursive & Contextual
80% of 'bad RAG answers' are actually chunking bugs! Experiment with a live RAG Chunker Lab and learn Recursive Splitting, Table/Code preservation, Parent-Child retrieval, and Contextual Chunk Headers.
Vector Indexes (HNSW vs IVFFlat) & PostgreSQL pgvector
Understand how Approximate Nearest Neighbor (ANN) indexes search 10 million vectors in 3 milliseconds: compare HNSW vs IVFFlat, tune pgvector in PostgreSQL, and avoid the classic Filtered-ANN zero-results trap!
End-to-End RAG Architecture, Grounding & ACL Filtering
Master how Retrieval-Augmented Generation works in real companies: decide between RAG, Fine-Tuning, and Long Context, enforce multi-tenant ACL security before vector search, and keep indexes fresh.
Hybrid Search (BM25 + Vector), RRF & Cross-Encoder Reranking
Upgrade naive vector search to Google-grade retrieval quality: fuse BM25 keyword search with dense vectors using Reciprocal Rank Fusion (RRF) in a single SQL query, then sharpen precision with a Cross-Encoder Reranker.
Query Rewriting, Multi-Query RAG & Debugging Retrieval
Fix the #1 killer of multi-turn chat RAG ('What about on Linux?'): master conversational query rewriting, multi-hop sub-query fan-out, HyDE, and a systematic 4-metric playbook to debug any RAG failure.
Function & Tool Calling: The Wire-Level Execution Loop
Demystify how LLMs query databases, hit APIs, and trigger actions: trace the exact 4-step tool-calling wire handshake, execute parallel tool calls, and design 'poka-yoke' tool schemas models never misuse.
Model Context Protocol (MCP): Hosts, Clients & Servers
Understand the open standard adopted by Anthropic, OpenAI, Google, Cursor, and VS Code: learn how MCP's Host–Client–Server architecture works over JSON-RPC 2.0 and build a clean Python MCP server.
Agentic Workflows, ReAct Loops & Production Guardrails
Know when NOT to build an autonomous agent! Master the 5 foundational agentic patterns, write a clean framework-free ReAct agent loop in 35 lines of Python, and prevent $500 runaway loops with circuit breakers.
AI Evals: Golden Datasets, Code Asserts & LLM-as-a-Judge
Escape 'vibe-check' development forever: build a 3-tier AI evaluation suite combining 0ms Python assertions, calibrated binary LLM-as-a-Judge rubrics, and automated CI regression gates.
Production LLMOps: Observability, Caching & Cost Control
Operate AI systems in production like a Staff Engineer: instrument OpenTelemetry GenAI traces, avoid dangerous cross-tenant Semantic Cache leaks, enforce per-tenant token budgets, and run zero-downtime model migrations.
Capstone: Build an Evaluated Hybrid-RAG & SQL Tool Agent
Unite all 7 modules into one portfolio-grade AI Engineering system: an evaluated, injection-hardened Ops Copilot combining Hybrid RAG for docs, read-only SQL tools for live metrics, circuit breakers, and pytest evals!
AI Engineering & LLM Systems (A–Z) — Frequently Asked Questions
How BigOSlate teaches LLMs, Prompt Engineering, Embeddings, RAG, MCP, and AI Agents from first principles with live browser playgrounds.
Do I need an OpenAI, Anthropic, or Gemini API key to use the interactive labs?
No — every interactive Tokenizer Lab, Temperature/Top-P Probability Sampler, and Wire-Level Pipeline Stepper runs 100% locally in your browser with zero API keys or sign-up required.
Does this course use LangChain or framework-free SDKs?
Every lesson teaches first-principles engineering using official Python SDKs side-by-side (OpenAI, Google GenAI / Gemini, and Anthropic Claude) so your skills never go stale when wrapper libraries change.
Is this just Prompt Engineering, or full Production AI Engineering?
It covers the complete AI Engineering stack: BPE tokenization & token economics, KV caching, production prompting & injection defense, constrained JSON schemas, vector embeddings, hybrid RAG, MCP & tool-calling agents, and automated LLM evals.
What prerequisites do I need before starting AI Engineering?
Basic Python familiarity (functions, dicts, JSON, and HTTP APIs) is enough — no PhD math or PyTorch model-training background required.