ML system design
ML and AI system design for interviews: recommendation and ranking, LLM serving, RAG and agents. Free to read.
ML and AI system design for interviews: recommendation and ranking, LLM serving, RAG and agents. Free to read.
10 write-ups
| Title | Difficulty |
|---|---|
| Design a Coding Agent like Claude Code An agent that reads, edits and runs code: the harness loop and its tools, permissions, context in big repos, cloud sandboxes, and a pipeline that turns failing tests into bugs and fix PRs. | Hard |
| Design an AI Shopping Assistant A chat assistant that turns "tacos for six, under $50" into a real cart: grounded catalog search, validated cart changes, multi-turn refinement, latency and cost, and the travel-booking variant. | Medium |
| Design a Browser Agent A multimodal agent that operates a real browser: screenshots vs DOM, the action space, sandboxed browser fleets, prompt injection from pages, and confirmations before consequential actions. | Hard |
| Design a Deep Research Agent An agent that plans, searches, reads hundreds of sources and writes a cited report over 5-30 minutes: the research loop, durable long-running jobs, claim-level citations, cost budgets and evals. | Hard |
| Design a Personal AI Assistant Agent An assistant that reads and acts on email, calendar and tasks: least-privilege OAuth scopes, approvals before side effects, background follow-ups, user-controlled memory, and handling health data. | Medium |
| Design a Real-Time Voice Assistant A voice agent that talks back in under a second: streaming STT, LLM and TTS, turn detection and barge-in, WebRTC and phone calls, tools mid-conversation, and running 40,000 calls at once. | Hard |
| Design an Agent for Incident Root Cause Analysis An agent that investigates alerts across logs, metrics, traces and deploys, ranks root causes with evidence, and proposes fixes that run only behind deterministic controls and human approval. | Hard |
| Design an Agentic System A platform for running production LLM agents: the agent loop, a tool layer with real permissions, durable state and memory, guardrails and PII handling, multi-agent designs, evals and cost. | Hard |
| Model Context Protocol (MCP) How MCP connects AI apps to tools and data. Hosts, clients and servers, tools, resources and prompts, JSON-RPC and transports, OAuth, and how to wire MCP servers into a production agent safely. | |
| Agent Design Patterns The building blocks of LLM agents. Workflows vs agents, the tool loop, planning, multi-agent patterns, context management, guardrails, and when LangGraph, CrewAI or a plain loop fits. |