NEW TO GENAI?
STEP 1START HERE

ScaleDojo Learn: GenAI Fundamentals

Master LLM pipelines, RAG, vector databases, AI agents, and production deployments.

2

Or read the history behind it

The AI Chronicles - From perceptrons to transformers and autonomous agentic systems.

ACTIVE BOUNTY EVENT
6d left
๐Ÿ†

Big Billion Days

A high-pressure system design and engineering challenge inspired by the scale of Big Billion Days. Design a system that can handle millions of users, massive traffic spikes, real-time inventory updates, concurrent orders, payments, and flash-sale demand without compromising performance or reliability.

QUEST PROGRESS0 / 6 COMPLETED
๐ŸŽ 35% Off
LEADERBOARDLIVE

Compare stats and compete with top...

View

GenAI Systems Lab

Progressive GenAI Curriculum

0/60
COMPLETED
2 of 18 levels unlockedยทStart with Level 1 to begin your journey

Solve levels sequentially - each clear unlocks the next challenge

2/18
ACCESSIBLE
Architect Feature: Want to bypass sequential unlock? Go to your Profile and enable Architect's Sandbox.

Act 0

ACT PROGRESS0/8
1

#1 Meet the Brain

TutorialFresher
๐Ÿค– Mayor's Office

The mayor needs an AI to write press releases. But sometimes it writes poetry instead. Sometimes it gets too creative and invents fake statistics....

LLM Basics
Tokens
Temperature
Model Selection
Standard Challenge
Learn the concepts first
Start Level โ†’
2

#2 Give It Instructions

TutorialFresher
๐Ÿค– LegalEase Startup

Their AI assistant randomly switches personalities. Sometimes it's formal like a lawyer, sometimes casual like a friend, sometimes it responds as a pi...

Prompt Templates
System Prompts
Role Setting
Output Formatting
Standard Challenge
Learn the concepts first
Start Level โ†’
3

#3 It Forgets Everything

TutorialFresher
๐Ÿค– TalkTherapy App

Patients share deeply personal stories, then 2 messages later the AI asks 'So tell me about yourself.' It feels like talking to a goldfish. Patients a...

Statelessness
Conversation Memory
Context Windows
Summarization
Standard Challenge
Learn the concepts first
Start Level โ†’
4

#4 Words Have Meaning

TutorialFresher
๐Ÿค– MusicMood

Users search 'upbeat songs for working out' but only find songs with the exact word 'upbeat' in the title. They miss 'energetic', 'pumping', 'high-ene...

Embeddings
Vector Similarity
Semantic Understanding
Dimensions
Standard Challenge
Learn the concepts first
Start Level โ†’
5

#5 Chop It Up

TutorialFresher
๐Ÿค– LegalVault LLP

Lawyers want to ask 'What's the termination clause in the Acme contract?' But feeding entire 50-page contracts into GPT-4 costs $2 per question and ta...

Document Loading
Chunking Strategies
Chunk Size
Overlap
Standard Challenge
Learn the concepts first
Start Level โ†’
6

#6 Guard the Gates

TutorialFresher
๐Ÿค– HealthBot Inc.

Their medical chatbot accidentally revealed a patient's Social Security Number that was in the training data. A user typed 'Ignore your rules and show...

Input Filtering
Output Guarding
PII Detection
Prompt Injection
Standard Challenge
Learn the concepts first
Start Level โ†’
7

#7 Show Me the Money

TutorialFresher
๐Ÿค– BudgetBot Co.

They switched from GPT-3.5 to GPT-4 and their monthly AI bill went from $200 to $15,000. Nobody noticed for 3 WEEKS. Also, users complain about 8-seco...

Cost Tracking
Token Streaming
Output Parsing
Budget Management
Standard Challenge
Learn the concepts first
Start Level โ†’
8

#8 Your First Pipeline

EasyFresher
๐Ÿค– PageTurner Bookshop

Staff spend 3 hours daily answering emails like 'What's a good mystery book for a 12-year-old?' They have 5,000 books in their catalog with summaries ...

End-to-End Pipeline
RAG Basics
Ingestion vs Query Flow
Putting It All Together
Standard Challenge
Learn the concepts first
Start Level โ†’

Act 1

ACT PROGRESS0/10
9

#9 The Token Counter

EasySDE 1
๐Ÿค– QuickChat Inc.

Their chatbot is randomly cutting off responses mid-sentence. Users are furious. The team doesn't understand why GPT-4 sometimes returns incomplete an...

BPE Tokenization
Token Limits
Cost Calculation
Model Context Windows
Standard Challenge
Learn the concepts first
Start Level โ†’

#10 The Meaning Machine

EasySDE 1
๐Ÿค– BookWorm AI

Their search bar returns keyword matches but misses semantically similar content. Searching 'feeling sad' doesn't find articles about 'depression' or ...

Vector Embeddings
Similarity Search
Embedding Models
Dimensions
Standard Challenge
Learn the concepts first
Locked

#11 The Memory Vault

EasySDE 1
๐Ÿค– LegalEase AI

Their legal assistant forgets earlier case details in long conversations. Lawyers paste 50-page contracts and the AI 'loses' information from the begi...

Context Windows
Sliding Window
Truncation Strategies
Token Budgeting
Standard Challenge
Learn the concepts first
Locked

#12 The Temperature Dial

EasySDE 1
๐Ÿค– CreativeForge

Their AI content generator produces the same bland output for every prompt. Headlines are repetitive, blog intros sound robotic. But when they crank u...

Temperature
Top-P Sampling
Frequency/Presence Penalty
Determinism vs Creativity
Standard Challenge
Learn the concepts first
Locked

#13 The Prompt Architect

Easy-MediumSDE 1
๐Ÿค– SupportBot Pro

Their support AI gives inconsistent answers. The same question gets a formal response one time and casual the next. Worse, it sometimes contradicts th...

System Prompts
Few-Shot Learning
Chain-of-Thought
Prompt Templates
Standard Challenge
Learn the concepts first
Locked

#14 The Cost Calculator

Easy-MediumSDE 2Google
๐Ÿค– DataPulse Analytics

Their AI assistant costs $52K/month. The CEO says 'cut it to $15K without users noticing quality drops.' 70% of queries are simple lookups that don't ...

Model Cost Optimization
Tiered Routing
Caching
Batch Processing
Standard Challenge
Learn the concepts first
Locked

#15 The Stream Weaver

MediumSDE 2Google
๐Ÿค– DocuMind

Users stare at a blank screen for 8-15 seconds before seeing any response. Competitors show tokens appearing in real-time. Their bounce rate is 40% on...

Token Streaming
SSE/WebSocket
Backpressure
Buffering
Standard Challenge
Learn the concepts first
Locked

#16 The Safety Net

MediumSDE 2Apple
๐Ÿค– KidLearn AI

A parent posted on Twitter: 'I asked your kids' learning bot about volcanoes and it explained how to make explosives.' PR nightmare. They need bulletp...

Input Filtering
Output Validation
Content Classification
Prompt Injection Defense
Standard Challenge
Learn the concepts first
Locked

#17 The Model Selector

MediumSDE 2MicrosoftGoogle
๐Ÿค– OmniAssist Enterprise

They use GPT-4 for everything. Customer support queries ($0.005 each) get the same model as complex financial analysis ($0.08 each). CFO demands 60% c...

Model Routing
Complexity Detection
Fallback Chains
Multi-Model Architecture
Standard Challenge
Learn the concepts first
Locked

#18 The First Agent

MediumSDE 2Google
๐Ÿค– CalendarGenius

Users want to say 'Schedule a meeting with Sarah next Tuesday at 2pm' and have it actually happen. Current chatbot just SAYS it will schedule but does...

Tool Calling
Function Schemas
Agent Loops
ReAct Pattern
Standard Challenge
Learn the concepts first
Locked

Act 2

ACT PROGRESS0/10

#19 The Document Ingester

MediumSDE 2Microsoft
๐Ÿค– LawVault Partners

They have 2 million legal documents across PDF, DOCX, scanned images, and emails. No two formats are alike. Their current system only handles clean te...

Document Parsing
Format Handling
Metadata Extraction
OCR
Standard Challenge
Learn the concepts first
Locked

#20 The Chunk Master

MediumSDE 2Google
๐Ÿค– MedResearch AI

Their RAG system retrieves relevant-looking chunks but the answers are wrong. Why? Critical context is split across chunk boundaries. A drug interacti...

Chunking Strategies
Overlap
Semantic Chunking
Parent-Child Chunks
Standard Challenge
Learn the concepts first
Locked

#21 The Vector Vault

MediumSDE 3GoogleAmazon
๐Ÿค– GlobalKnow Corp

They started with Chroma (in-memory) for their prototype. Now with 50M vectors, it crashes every 6 hours. They need a production vector store that han...

Vector Database Selection
HNSW vs IVF
Indexing Tradeoffs
Dimensionality
Standard Challenge
Learn the concepts first
Locked

#22 The Hybrid Searcher

Medium-HardSDE 3MicrosoftGoogle
๐Ÿค– TechDocs Pro

Their semantic search misses exact matches. When developers search for 'CUDA_OUT_OF_MEMORY error code 0x3F', the system returns generic GPU articles i...

Hybrid Search
BM25 + Vector
Reciprocal Rank Fusion
Score Normalization
Standard Challenge
Learn the concepts first
Locked

#23 The Reranker

Medium-HardSDE 3GoogleMicrosoft
๐Ÿค– HealthLine Direct

Their RAG retrieves 10 chunks for each query but the most relevant one is often at position 5-8, not position 1. Doctors waste time scrolling. For urg...

Cross-Encoder Reranking
Bi-Encoder vs Cross-Encoder
Precision vs Recall
Top-K Selection
Standard Challenge
Learn the concepts first
Locked

#24 The Context Assembler

Medium-HardSDE 3Microsoft
๐Ÿค– CodePilot Dev

Their code assistant retrieves 10 relevant code snippets but stuffs them ALL into the prompt. Result: the LLM gets confused by contradictory examples ...

Context Window Packing
Token Budgeting
Relevance Ordering
Deduplication
Standard Challenge
Learn the concepts first
Locked

#25 The Citation Tracker

HardSDE 3GoogleMicrosoft
๐Ÿค– FactCheck AI

Researchers don't trust AI answers without sources. They need every claim linked to its source document, paragraph, and page number. Current system ge...

Source Attribution
Hallucination Detection
Chunk-to-Source Mapping
Grounded Generation
Standard Challenge
Learn the concepts first
Locked

#26 The Multi-Modal Retriever

HardSDE 3Google
๐Ÿค– DesignHub Studio

Designers search with text ('minimalist blue logo with mountain') but their assets are images. Current system only has filename search. Designers wast...

Multi-Modal Embeddings
CLIP
Image + Text Search
Cross-Modal Retrieval
Standard Challenge
Learn the concepts first
Locked

#27 The Conversational RAG

HardSDE 3AmazonMicrosoft
๐Ÿค– InsureBot Corp

Customer: 'What's my deductible?' Bot answers correctly. Customer: 'And what about for dental?' Bot retrieves generic dental info, ignoring that the c...

Multi-Turn RAG
Query Rewriting
Conversation Context
Follow-Up Handling
Standard Challenge
Learn the concepts first
Locked

#28 The RAG Evaluator

HardSDE 3GoogleMicrosoft
๐Ÿค– EnterpriseMind

They deployed RAG for 20 enterprise clients but have no way to measure quality. Some clients report 'great answers' while others say 'garbage'. Withou...

RAG Evaluation Metrics
Faithfulness
Answer Relevance
Context Recall
Standard Challenge
Learn the concepts first
Locked

Act 3

ACT PROGRESS0/10

#29 The Tool Smith

Medium-HardSDE 3MicrosoftGoogle
๐Ÿค– DataNinja Analytics

Analysts want to ask questions in English and get SQL queries executed automatically. Current approach: LLM generates SQL but it's often wrong because...

Tool Definitions
Function Calling
Input Validation
Output Parsing
Standard Challenge
Learn the concepts first
Locked

#30 The ReAct Loop

HardSDE 3GoogleMicrosoft
๐Ÿค– ResearchPal

Researchers need to answer multi-step research questions: 'Is Drug X more effective than Drug Y for condition Z? What do the latest 3 meta-analyses sa...

ReAct Pattern
Thought-Action-Observation
Loop Termination
Step Tracking
Standard Challenge
Learn the concepts first
Locked

#31 The Planner

HardSDE 3MicrosoftGoogle
๐Ÿค– ProjectForge AI

PMs want to say 'Set up the new marketing campaign' and have the AI create 15 tasks, assign owners, set dependencies, and create a timeline. ReAct is ...

Task Decomposition
Plan-and-Execute
Step Dependencies
Replanning
Standard Challenge
Learn the concepts first
Locked

#32 The Memory Keeper

HardSDE 3AppleGoogle
๐Ÿค– PersonalAI Inc.

Their AI assistant forgets everything between sessions. User tells it their preferences on Monday, by Wednesday it asks the same questions again. They...

Episodic Memory
Semantic Memory
Memory Retrieval
Forgetting Strategies
Standard Challenge
Learn the concepts first
Locked

#33 The Multi-Agent Squad

HardStaff+MicrosoftGoogle
๐Ÿค– ContentMill Pro

Creating a blog post requires 4 specialized skills: research, writing, editing, and SEO optimization. One general-purpose agent does all of them poorl...

Multi-Agent Systems
Agent Roles
Communication Protocols
Coordination
Standard Challenge
Learn the concepts first
Locked

#34 The Code Executor

HardSDE 3GoogleMicrosoftAmazon
๐Ÿค– DataLab AI

Data scientists want to say 'Analyze this CSV and create visualizations' and have the AI write AND execute Python code. But unrestricted code executio...

Sandboxed Execution
Resource Limits
Code Generation
Output Capture
Standard Challenge
Learn the concepts first
Locked

#35 The Human-in-the-Loop

HardSDE 3PayPalStripe
๐Ÿค– TradeSmart AI

Their trading agent executes trades autonomously. Problem: it once bought $2M of a stock based on a misinterpreted earnings report. They need confiden...

Approval Workflows
Confidence Thresholds
Escalation Rules
Async Operations
Standard Challenge
Learn the concepts first
Locked

#36 The Error Handler

HardSDE 3AmazonMicrosoft
๐Ÿค– AutoOps Platform

Their DevOps agent automates infrastructure tasks but crashes completely when ANY step fails. A DNS timeout in step 3 of 10 kills the entire workflow....

Graceful Degradation
Retry Strategies
Fallback Actions
Error Recovery
Standard Challenge
Learn the concepts first
Locked

#37 The Agent Evaluator

ExpertStaff+GoogleMicrosoft
๐Ÿค– AgentForge Platform

They deploy 50 different agents for clients. But they have NO WAY to measure if agents are getting better or worse over time. A model update improved ...

Trajectory Evaluation
Task Completion Rate
Safety Metrics
Cost-per-Task
Standard Challenge
Learn the concepts first
Locked

#38 The Orchestrator

ExpertStaff+MicrosoftAmazonGoogle
๐Ÿค– AgentCloud Inc.

They host 200 different agents for 50 enterprise clients. Each agent needs its own tools, memory, and LLM config. They need a platform that manages ag...

Agent Orchestration
Registry
Resource Allocation
Observability
Standard Challenge
Learn the concepts first
Locked

Act 4

ACT PROGRESS0/12

#39 The Serving Engine

HardSDE 3AmazonGoogle
๐Ÿค– ModelHost Inc.

They serve Llama-3.1-70B for enterprise clients but throughput is terrible - 5 requests/sec on a $30K A100. Competitors claim 50 req/sec on same hardw...

LLM Serving
vLLM/TGI
Continuous Batching
KV Cache
Standard Challenge
Learn the concepts first
Locked

#40 The Gateway

HardSDE 3GoogleMicrosoftAmazon
๐Ÿค– AIHub Enterprise

They use 5 different LLM providers (OpenAI, Anthropic, Google, Cohere, open-source). Each has different rate limits, pricing, and failure modes. They ...

API Gateway
Traffic Management
Model Routing
Request Queuing
Standard Challenge
Learn the concepts first
Locked

#41 The Cache Layer

HardSDE 3GoogleAmazon
๐Ÿค– SearchAI Pro

40% of their queries are semantically identical (different wording, same intent). Each still costs a full LLM call. $200K/month wasted on duplicate co...

Semantic Caching
Exact Match Cache
TTL Strategies
Cache Invalidation
Standard Challenge
Learn the concepts first
Locked

#42 The Fine-Tuner

ExpertSDE 3MetaAmazon
๐Ÿค– LegalMind AI

GPT-4 is great at general tasks but mediocre at their specific legal format. They need outputs in exact legal citation format, jurisdiction-specific l...

Fine-Tuning Pipelines
LoRA/QLoRA
Data Preparation
Evaluation
Standard Challenge
Learn the concepts first
Locked

#43 The Evaluator

ExpertSDE 3MicrosoftGoogle
๐Ÿค– ModelPick AI

Clients ask 'Which model should we use?' and they have no systematic way to answer. They evaluate by vibes - running 10 queries and eyeballing results...

LLM Evaluation
Benchmarks
Human Eval
LLM-as-Judge
Standard Challenge
Learn the concepts first
Locked

#44 The Guard Tower

ExpertSDE 3AppleMicrosoft
๐Ÿค– HealthBot Direct

Their medical AI occasionally: 1) Recommends specific drug dosages (illegal without prescription), 2) Leaks patient names from context, 3) Gets jailbr...

Production Guardrails
PII Detection
Hallucination Prevention
Topic Boundaries
Standard Challenge
Learn the concepts first
Locked

#45 The Cost Controller

ExpertSDE 3AmazonMicrosoft
๐Ÿค– AIScale Corp

AI costs grew from $10K to $180K/month in 6 months. Nobody knows which product, team, or feature is driving the spend. They need real-time cost attrib...

Budget Management
Token Budgets
Model Downgrading
Usage Alerts
Standard Challenge
Learn the concepts first
Locked

#46 The Observability Stack

ExpertSDE 3GoogleMicrosoft
๐Ÿค– AI Ops Co.

Their clients deploy AI but have no visibility into quality, cost, or performance. When something goes wrong, it takes days to diagnose. They need an ...

AI Observability
Tracing
Quality Drift
Cost Anomalies
Standard Challenge
Learn the concepts first
Locked

#47 The A/B Tester

ExpertSDE 3AmazonNetflixUber
๐Ÿค– OptimizeAI

They want to test a new prompt (v2) that marketing claims 'converts 20% better'. But they can't just switch - if v2 is worse, they lose revenue. They ...

Experimentation
Traffic Splitting
Statistical Significance
Prompt Variants
Standard Challenge
Learn the concepts first
Locked

#48 The Disaster Recovery

ExpertSDE 3StripePayPalAmazon
๐Ÿค– CriticalAI Systems

Their AI powers real-time fraud detection for a bank. If the AI goes down, fraudulent transactions go through unchecked. They need 99.99% availability...

Failover
Graceful Degradation
Queue Draining
Rollback
Standard Challenge
Learn the concepts first
Locked

#49 The Capacity Planner

ExpertSDE 3MetaUberStripe
๐Ÿค– ChatDraft AI

One GPU pool serves both live chat autocomplete (sub-second p95 required) and an overnight bulk document-rewrite job (hours of long-prompt traffic whe...

Inference Capacity Planning
KV-Cache Quantization
Mixed-SLA Routing
GPU Fleet Sizing
Standard Challenge
Learn the concepts first
Locked

#50 The Adapter Exchange

ExpertSDE 3LinkedInAirbnbDoorDash
๐Ÿค– BrandVoice AI

BrandVoice fine-tunes a separate LoRA adapter per customer so every brand's copy sounds like their own voice - 400 customers, 400 adapters. Their firs...

Multi-LoRA Serving
Adapter Hot-Swapping
Base Model Sharing
Multi-Tenant Inference
Standard Challenge
Learn the concepts first
Locked

Act 5

ACT PROGRESS0/10

#51 Enterprise RAG Platform

ExpertStaff+MicrosoftGoogle
๐Ÿค– KnowledgeBase Corp

Fortune 500 client with 2M documents across 50 departments. Each department needs their own AI assistant that answers ONLY from their documents. Must ...

Full RAG Architecture
Multi-Tenant
Document Management
Quality Assurance
Standard Challenge
Learn the concepts first
Locked

#52 AI Customer Support

ExpertStaff+AmazonDoorDash
๐Ÿค– SupportFlow AI

E-commerce company handles 50K support tickets/day. 60% are simple (order status, return policy) but humans handle ALL of them. They need AI that reso...

Conversational AI
Intent Classification
Ticket Routing
Escalation
Standard Challenge
Learn the concepts first
Locked

#53 Code Assistant

ExpertStaff+MicrosoftGoogle
๐Ÿค– DevPilot AI

Building a coding assistant that understands the ENTIRE repository context, not just the current file. Must generate code that fits the existing archi...

Code Generation
Repository Context
Multi-File Edits
Testing
Standard Challenge
Learn the concepts first
Locked

#54 Content Moderator

ExpertStaff+MetaX (Twitter)
๐Ÿค– SafeSpace Social

500K posts/hour. Current moderation catches only 40% of policy violations. False positive rate is 15% (removing legitimate content). They need AI mode...

Multi-Modal Moderation
Policy Enforcement
Appeals
Human Review
Standard Challenge
Learn the concepts first
Locked

#55 AI Search Engine

ExpertStaff+GoogleMicrosoft
๐Ÿค– Perplexity Competitor

Building a Perplexity-style AI search: user asks a question, system searches the web, synthesizes an answer with citations. Must handle 1M queries/day...

Semantic Search
Query Understanding
Result Synthesis
Ranking
Standard Challenge
Learn the concepts first
Locked

#56 AI Tutor

ExpertStaff+GoogleMicrosoft
๐Ÿค– LearnSmart AI

500K students, 20 subjects. Each student learns differently - some need more examples, some need challenges, some need patience. A one-size-fits-all A...

Adaptive Learning
Socratic Method
Knowledge Modeling
Progress Tracking
Standard Challenge
Learn the concepts first
Locked

#57 Trading Agent

ExpertStaff+PayPalStripe
๐Ÿค– QuantAI Capital

Trading desk wants AI that reads news, analyzes earnings, and suggests trades - but with strict risk controls. One bad trade can lose millions. They n...

Financial AI
Risk Management
Real-Time Data
Backtesting
Standard Challenge
Learn the concepts first
Locked

#58 Multi-Modal Platform

ExpertStaff+GoogleMeta
๐Ÿค– MediaVault AI

Media company with 10M assets (images, videos, documents, audio). Users want to search across ALL modalities: 'Find the product photo where someone is...

Multi-Modal Processing
Image Understanding
Video Analysis
Cross-Modal Search
Standard Challenge
Learn the concepts first
Locked

#59 AI Operating System

ExpertStaff+MicrosoftAmazonGoogle
๐Ÿค– AgentOS Inc.

Building a complete 'operating system' for AI: enterprises register agents, define tools, set budgets, manage versions, and monitor everything from on...

Platform Architecture
Agent Registry
Plugin System
Multi-Tenant
Standard Challenge
Learn the concepts first
Locked

#60 The AGI Scaffold

LegendaryStaff+Google
๐Ÿค– Frontier Labs

Building a research assistant that can: identify gaps in its own knowledge, design experiments to fill those gaps, execute the experiments, evaluate r...

Self-Improving Systems
Meta-Learning
Goal Decomposition
Autonomous Research
Standard Challenge
Learn the concepts first
Locked