ScaleDojo Learn: GenAI Fundamentals
Master LLM pipelines, RAG, vector databases, AI agents, and production deployments.
Or read the history behind it
The AI Chronicles - From perceptrons to transformers and autonomous agentic systems.
The Scale Wars
25% off on all challenges
Compare stats and compete with top...
GenAI Systems Lab
Progressive GenAI Curriculum
Solve levels sequentially - each clear unlocks the next challenge
Act 0
#-8 Meet the Brain
TutorialThe mayor needs an AI to write press releases. But sometimes it writes poetry instead. Sometimes it gets too creative and invents fake statistics....
#-7 Give It Instructions
TutorialTheir AI assistant randomly switches personalities. Sometimes it's formal like a lawyer, sometimes casual like a friend, sometimes it responds as a pi...
#-6 It Forgets Everything
TutorialPatients 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...
#-5 Words Have Meaning
TutorialUsers search 'upbeat songs for working out' but only find songs with the exact word 'upbeat' in the title. They miss 'energetic', 'pumping', 'high-ene...
#-4 Chop It Up
TutorialLawyers 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...
#-3 Guard the Gates
TutorialTheir medical chatbot accidentally revealed a patient's Social Security Number that was in the training data. A user typed 'Ignore your rules and show...
#-2 Show Me the Money
TutorialThey 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...
#-1 Your First Pipeline
EasyStaff 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 ...
Act 1
#1 The Token Counter
EasyTheir chatbot is randomly cutting off responses mid-sentence. Users are furious. The team doesn't understand why GPT-4 sometimes returns incomplete an...
#2 The Meaning Machine
EasyTheir search bar returns keyword matches but misses semantically similar content. Searching 'feeling sad' doesn't find articles about 'depression' or ...
#3 The Memory Vault
EasyTheir legal assistant forgets earlier case details in long conversations. Lawyers paste 50-page contracts and the AI 'loses' information from the begi...
#4 The Temperature Dial
EasyTheir AI content generator produces the same bland output for every prompt. Headlines are repetitive, blog intros sound robotic. But when they crank u...
#5 The Prompt Architect
Easy-MediumTheir support AI gives inconsistent answers. The same question gets a formal response one time and casual the next. Worse, it sometimes contradicts th...
#6 The Cost Calculator
Easy-MediumTheir 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 ...
#7 The Stream Weaver
MediumUsers 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...
#8 The Safety Net
MediumA parent posted on Twitter: 'I asked your kids' learning bot about volcanoes and it explained how to make explosives.' PR nightmare. They need bulletp...
#9 The Model Selector
MediumThey 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...
#10 The First Agent
MediumUsers 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...
Act 2
#11 The Document Ingester
MediumThey have 2 million legal documents across PDF, DOCX, scanned images, and emails. No two formats are alike. Their current system only handles clean te...
#12 The Chunk Master
MediumTheir RAG system retrieves relevant-looking chunks but the answers are wrong. Why? Critical context is split across chunk boundaries. A drug interacti...
#13 The Vector Vault
MediumThey 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...
#14 The Hybrid Searcher
Medium-HardTheir semantic search misses exact matches. When developers search for 'CUDA_OUT_OF_MEMORY error code 0x3F', the system returns generic GPU articles i...
#15 The Reranker
Medium-HardTheir 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...
#16 The Context Assembler
Medium-HardTheir code assistant retrieves 10 relevant code snippets but stuffs them ALL into the prompt. Result: the LLM gets confused by contradictory examples ...
#17 The Citation Tracker
HardResearchers don't trust AI answers without sources. They need every claim linked to its source document, paragraph, and page number. Current system ge...
#18 The Multi-Modal Retriever
HardDesigners search with text ('minimalist blue logo with mountain') but their assets are images. Current system only has filename search. Designers wast...
#19 The Conversational RAG
HardCustomer: 'What's my deductible?' Bot answers correctly. Customer: 'And what about for dental?' Bot retrieves generic dental info, ignoring that the c...
#20 The RAG Evaluator
HardThey deployed RAG for 20 enterprise clients but have no way to measure quality. Some clients report 'great answers' while others say 'garbage'. Withou...
Act 3
#21 The Tool Smith
Medium-HardAnalysts want to ask questions in English and get SQL queries executed automatically. Current approach: LLM generates SQL but it's often wrong because...
#22 The ReAct Loop
HardResearchers 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...
#23 The Planner
HardPMs 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 ...
#24 The Memory Keeper
HardTheir AI assistant forgets everything between sessions. User tells it their preferences on Monday, by Wednesday it asks the same questions again. They...
#25 The Multi-Agent Squad
HardCreating a blog post requires 4 specialized skills: research, writing, editing, and SEO optimization. One general-purpose agent does all of them poorl...
#26 The Code Executor
HardData scientists want to say 'Analyze this CSV and create visualizations' and have the AI write AND execute Python code. But unrestricted code executio...
#27 The Human-in-the-Loop
HardTheir trading agent executes trades autonomously. Problem: it once bought $2M of a stock based on a misinterpreted earnings report. They need confiden...
#28 The Error Handler
HardTheir DevOps agent automates infrastructure tasks but crashes completely when ANY step fails. A DNS timeout in step 3 of 10 kills the entire workflow....
#29 The Agent Evaluator
ExpertThey 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 ...
#30 The Orchestrator
ExpertThey 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...
Act 4
#31 The Serving Engine
HardThey 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...
#32 The Gateway
HardThey use 5 different LLM providers (OpenAI, Anthropic, Google, Cohere, open-source). Each has different rate limits, pricing, and failure modes. They ...
#33 The Cache Layer
Hard40% of their queries are semantically identical (different wording, same intent). Each still costs a full LLM call. $200K/month wasted on duplicate co...
#34 The Fine-Tuner
ExpertGPT-4 is great at general tasks but mediocre at their specific legal format. They need outputs in exact legal citation format, jurisdiction-specific l...
#35 The Evaluator
ExpertClients ask 'Which model should we use?' and they have no systematic way to answer. They evaluate by vibes - running 10 queries and eyeballing results...
#36 The Guard Tower
ExpertTheir medical AI occasionally: 1) Recommends specific drug dosages (illegal without prescription), 2) Leaks patient names from context, 3) Gets jailbr...
#37 The Cost Controller
ExpertAI 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...
#38 The Observability Stack
ExpertTheir clients deploy AI but have no visibility into quality, cost, or performance. When something goes wrong, it takes days to diagnose. They need an ...
#39 The A/B Tester
ExpertThey 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 ...
#40 The Disaster Recovery
ExpertTheir AI powers real-time fraud detection for a bank. If the AI goes down, fraudulent transactions go through unchecked. They need 99.99% availability...
Act 5
#41 Enterprise RAG Platform
ExpertFortune 500 client with 2M documents across 50 departments. Each department needs their own AI assistant that answers ONLY from their documents. Must ...
#42 AI Customer Support
ExpertE-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...
#43 Code Assistant
ExpertBuilding a coding assistant that understands the ENTIRE repository context, not just the current file. Must generate code that fits the existing archi...
#44 Content Moderator
Expert500K posts/hour. Current moderation catches only 40% of policy violations. False positive rate is 15% (removing legitimate content). They need AI mode...
#45 AI Search Engine
ExpertBuilding a Perplexity-style AI search: user asks a question, system searches the web, synthesizes an answer with citations. Must handle 1M queries/day...
#46 AI Tutor
Expert500K students, 20 subjects. Each student learns differently - some need more examples, some need challenges, some need patience. A one-size-fits-all A...
#47 Trading Agent
ExpertTrading desk wants AI that reads news, analyzes earnings, and suggests trades - but with strict risk controls. One bad trade can lose millions. They n...
#48 Multi-Modal Platform
ExpertMedia company with 10M assets (images, videos, documents, audio). Users want to search across ALL modalities: 'Find the product photo where someone is...
#49 AI Operating System
ExpertBuilding a complete 'operating system' for AI: enterprises register agents, define tools, set budgets, manage versions, and monitor everything from on...
#50 The AGI Scaffold
LegendaryBuilding a research assistant that can: identify gaps in its own knowledge, design experiments to fill those gaps, execute the experiments, evaluate r...