Markdown Editor

AIシステム設計面接キット

AIシステム設計の練習:見積もりとML設計、推薦、不正検知、企業RAG、チャット、コーディング支援、音声・サポートエージェント、LLMゲートウェイと推論配信。

ステップ 1

学習

  1. 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)
  2. ML System Design Document Template

    フル

    Problem framing, metrics, data, features, baselines, training, offline and A/B evaluation, serving, monitoring, rollout

ステップ 2

参照設計

  1. 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

  2. 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

  3. 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)
  4. 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. 50
  5. AI 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 2026
  6. Customer 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 2026
  7. Real-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.114
  8. LLM 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 9457
  9. LLM 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)
  10. 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 2026
  11. Agent 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)