Learn
Syllabus
Six tracks for new graduates who want to become AI engineers. Start with ML Foundations if machine learning is new to you, or jump to the track you need. Every lesson is open to read, and Ask Cairnly answers questions with links back to them.
- ML Foundations9 lessons
0 / 9 done
- AI Engineering52 lessons
0 / 52 done
- AI Systems & MLOps21 lessons
0 / 21 done
- DSA & Problem Solving18 lessons
0 / 18 done
- Full-Stack Development14 lessons
0 / 14 done
- Career & Portfolio Kit12 lessons
0 / 12 done
126 lessons
ML Foundations
The classical machine learning you need before working with LLMs.
0 / 9 done
Classical ML6 lessons · 3h 15m
- The ML Workflow: Train/Test Split, Validation, and Data Leakageeasy20 min
- Linear and Logistic Regression: Intuition, Implementation, and Interpretationeasy35 min
- Decision Trees and Random Forests: From Single Tree to Ensembleeasy35 min
- Support Vector Machines: Maximum Margin and the Kernel Trickmedium20 min
- Gradient Boosting and XGBoost: The Competition-Winning Algorithmmedium50 min
- Clustering: K-Means, DBSCAN, and Choosing the Right Number of Clustersmedium35 min
Practice3 lessons · 2h 25m
AI Engineering
Build apps on top of LLMs, from prompts and RAG to agents and evals.
0 / 52 done
LLM basics4 lessons · 1h
Retrieval & RAG10 lessons · 4h 45m
- What is RAG and When Does It Beat Pure Promptingeasy15 min
- Embeddings Explained: From Text to Vectorseasy15 min
- FAISS Basics: A Vector Search You Can Run Locallymedium25 min
- Vector Databases Beyond FAISS: Metadata Filtering at Scaleeasy15 min
- Choosing an Embedding Model (with a Local Fallback)medium30 min
- Chunking Strategies That Matter More Than Your Embedding Modelmedium50 min
- Hybrid Search: Combining BM25 Keyword + Vector Retrievalmedium15 min
- Reranking Retrieved Results with Cross-Encodersmedium15 min
- Build a RAG Pipeline from Scratchmedium1h
- Confidence Gates: When Your RAG Should Refuse to Answermedium45 min
Evaluation3 lessons · 1h 50m
Agents8 lessons · 4h 55m
- What Is an Agent and When Do You Actually Need Onemedium25 min
- The ReAct Loop: Thought → Action → Observationhard55 min
- Designing a Tool Registry for Agentsmedium35 min
- Adding MCP Tool-Use to Your RAG Assistanthard50 min
- Agent Memory: Managing the Context Windowmedium30 min
- Reflection & Self-Correction with an LLM Judgemedium35 min
- Error Handling in Autonomous Agentsmedium30 min
- Building Retrieval Tools for Agents (Web + Internal KB)medium35 min
Safety & security5 lessons · 2h 45m
- Safety Guardrails: Regex + LLM-Judge Patternsmedium35 min
- Defending Against Prompt Injectionmedium35 min
- PII Redaction & Output Sanitizationmedium30 min
- RBAC for RAG: Chunk-Level Access Controlmedium35 min
- Audit Logging for Compliance (SIEM-Ready)medium30 min
Data & fine-tuning11 lessons · 6h 30m
- Building a RAG Dataset Pipeline End-to-Endhard55 min
- Ingesting Public Corpora (SQuAD → Your Schema)medium30 min
- Relevance Filtering: Keeping Your Corpus On-Topicmedium30 min
- Deduplicating Datasets with MinHashmedium35 min
- Quality-Filtering a Training Datasetmedium30 min
- Schema Validation & Atomic Writes for AI Datasetsmedium30 min
- Train/Val/Test Splitting Without Leakagemedium30 min
- Synthesizing Training Data: Refusals & Multi-Turnmedium35 min
- Formatting Data for Supervised Fine-Tuningmedium30 min
- LoRA Fine-Tuning as a Fallbackhard55 min
- Publishing Models: Adapter vs Merged to the Hubmedium30 min
Production3 lessons · 2h 30m
Interview prep8 lessons · 2h 54m
- How to Explain a RAG Architecture in an Interviewmedium25 min
- Common Interviewer Questions on Embeddings, Retrieval, Fine-Tuningmedium25 min
- How to Defend Evaluation Metrics and Admit Failure Modesmedium20 min
- Resume Bullets for AI Projects: What to Write, What to Dropeasy12 min
- How to Explain an Agent Architecture in an Interviewmedium25 min
- Common Interviewer Questions on Agents & Tool Usemedium25 min
- System Design: Enterprise RAG Walkthroughhard30 min
- Resume Bullets for Agentic & Tool-Use Projectseasy12 min
AI Systems & MLOps
Serve, scale and operate models and AI services in production.
0 / 21 done
MLOps foundations4 lessons · 1h 50m
- What Is MLOps and Why AI Engineers Need Iteasy15 min
- Drift Detection: Data Drift vs Concept Drift (KS, PSI)medium30 min
- Experiment Tracking with MLflowmedium35 min
- MLflow Model-Stage Promotion: Staging → Productionmedium30 min
Serving & APIs5 lessons · 2h 40m
- Serve Models with FastAPI + a Model Registryhard50 min
- FastAPI Architecture for AI Servicesmedium35 min
- Designing API Contracts for AI Servicesmedium30 min
- Streaming Responses with SSE & WebSocketseasy15 min
- Session Memory Stores: Redis-Backed Conversationsmedium30 min
Performance & scale5 lessons · 2h 15m
- Semantic Caching to Cut Latency & Costeasy15 min
- Model Quantization: FP32 → INT8 & Micro-Batchingmedium30 min
- Async & Parallel Pipelines: Hiding Latencymedium30 min
- Horizontally Scaling AI Servicesmedium30 min
- Load-Testing AI Services with Locustmedium30 min
Reliability & operations5 lessons · 2h 35m
- Model Fallback & Circuit Breakers for HAmedium30 min
- Structured Logging Middleware for AI Servicesmedium30 min
- Cost Tracking & Telemetry for AI Appsmedium30 min
- Document Ingestion Pipelines (Connectors, OCR, PII)medium35 min
- Async Job Tracking for Long-Running Ingestionmedium30 min
Interview prep2 lessons · 55 min
- How to Explain MLOps & Drift in an Interviewmedium25 min
- System Design: Scalable Inference Servicehard30 min
DSA & Problem Solving
Core data structures and algorithm patterns for coding interviews.
0 / 18 done
Foundations6 lessons · 1h 18m
- Arrays and Frequency Mapseasy12 min
- Two Pointers: When One Loop Isn't Enougheasy12 min
- Sliding Window: Solving Subarray Problems in Linear Timeeasy12 min
- Binary Search Beyond Sorted Arrays: The Search-Space Patternmedium15 min
- Recursion and Backtracking: The Templatemedium15 min
- Hashing and Sets: When O(1) Lookup Changes Everythingeasy12 min
Projects9 lessons · 4h 15m
- Trees and DFS/BFS: Traversal Patterns with Real LC Walkthroughsmedium30 min
- Graphs Basics: BFS, DFS, When to Pick Whichmedium30 min
- DP Without Fear: Top-Down to Bottom-Uphard35 min
- Stack and Monotonic Stack Patternsmedium25 min
- Heap and Priority Queue Patternsmedium25 min
- Design an LRU Cache: Hashmap + Doubly-Linked Listhard30 min
- Tries and Autocomplete: Prefix Trees in Actionmedium25 min
- Intervals: Merge, Overlap, Meeting Roomsmedium25 min
- Design a Rate Limiter: Token Bucket and Sliding Windowhard30 min
Interview prep3 lessons · 47 min
Full-Stack Development
Ship a real web app with Next.js, a database, auth and deployment.
0 / 14 done
Foundations4 lessons · 1h 32m
Projects7 lessons · 4h 43m
- Designing a Content Schema from Scratchmedium45 min
- SEO-Friendly Dynamic Article Pages with generateMetadatamedium30 min
- Reusable Tailwind Components for Content Sitesmedium28 min
- Auth Basics with NextAuth: Just Enough for a Paid Productmedium30 min
- Stripe Payment Integration: Gating Paid Pagesmedium35 min
- Deploying to Vercel: Env Vars, Database, Preview Branchesmedium25 min
- Capstone: Ship Your Own Next.js Content Site to Vercelhard1h 30m
Interview prep3 lessons · 1h 2m
Career & Portfolio Kit
Resumes, portfolios and interview habits for your first engineering job.
0 / 12 done