AIシステム設計面接キット
AIシステム設計の練習:見積もりとML設計、推薦、不正検知、企業RAG、チャット、コーディング支援、音声・サポートエージェント、LLMゲートウェイと推論配信。
学習
Back-of-Envelope Estimation and Capacity Model Template
フルReference latency and unit tables, assumptions register, QPS, storage, bandwidth, cache, server and cost formulas, worked example, sensitivity, traceability
Jeff Dean latency numbers (LADIS 2009)ML System Design Document Template
フルProblem framing, metrics, data, features, baselines, training, offline and A/B evaluation, serving, monitoring, rollout
参照設計
Recommendation System Design Template
フルRecommender funnel: two-tower retrieval and ANN, pre-ranking and ranking, feature freshness, training, exploration, A/B tests, feedback loops and bias
Payment Fraud Detection System Design Template
フルReal-time payment fraud scoring: latency budget, streaming features, rules plus ML, review queues, label delay, selection bias, model monitoring
Enterprise RAG Search System Design Template
フルEnterprise RAG search design: connectors, document and chunk ACL filtering, permission sync, hybrid retrieval, RRF, reranking, citation verification, tenancy
OWASP LLM Top 10 2026 (LLM08, LLM09)LLM Chat Assistant System Design Template
フルChat assistant app layer: resumable SSE streaming, conversation store, context budget and summaries, uploads, tools, moderation, rate limits, residency
WHATWG SSE; RFC 9457; GDPR Ch. V, Art. 17, 25; EU AI Act Art. 50AI Coding Assistant System Design Template
フルAI coding assistant design: IDE and CLI clients, repo indexing, context assembly, agent loop, microVM sandbox, MCP and Agent Skills, approvals, security
MCP 2026-07-28; Agent Skills spec; OWASP LLM Top 10 2026Customer Support AI Agent System Design Template
フルCustomer support AI agent design: channels, intent routing, policy retrieval, refunds with limits and approvals, human handoff, metrics, safety, audit
Singapore MGF for Agentic AI (Jan 2026); EU AI Act Art. 50; OWASP LLM Top 10 2026Real-Time Voice Agent System Design Template
フルReal-time voice agent design: SIP and WebRTC ingress, streaming ASR, turn detection, barge-in, LLM with tools, streaming TTS, latency budget, consent, failover
W3C WebRTC (Mar 2025); RFC 3261; ITU-T G.114LLM Gateway System Design Template
フルLLM gateway and router design: unified API, provider adapters, token quotas, routing and fallback, caching, PII redaction, guardrail hooks, metering
OpenTelemetry GenAI semconv (Development); OWASP LLM Top 10 2026; RFC 9457LLM Inference Serving and Vector Search Platform Design Template
フルGateway, router, continuous batching, paged KV cache, GPU memory and throughput math, TTFT/TPOT SLOs, autoscaling, quantization, HNSW/IVF, cost per token
PagedAttention (Kwon et al., SOSP 2023)Agent Orchestration Platform System Design Template
フルAgent run platform design: durable step journal, resume, MCP tool broker with Tasks, A2A calls, human approvals, tenant budgets, evaluation hooks
MCP 2026-07-28 (Tasks extension); A2A 1.0.1; OWASP Agentic Top 10 2026Agent Code Execution Sandbox System Design Template
フルCode execution sandbox for agents: microVM vs gVisor vs containers, egress proxy, credential broker, quotas, snapshot restore, warm pools, abuse detection
Firecracker (NSDI 2020); OWASP Agentic Top 10 2026 (ASI05)