AI Engineering

Challenges

AI system design, graded live

Each challenge gives you requirements, a starting design and a set of checks run by the same engine as the sandbox — quality measured on the corpus, failures injected, the reviewer’s rules. Get them all green, then compare with a reference.

  1. Warm-up

    Ship a grounded help-centre chatbot

    Customers ask product questions. Answers must come from the public help centre, cite their sources, and survive a provider outage.

    Starts from 2 blocks · 7 checks

    RAGbasics

  2. Medium

    Enterprise search over permissioned documents

    Employees search Drive, Confluence and HR/legal folders. The naive version leaks salary data and quotes last year’s policies. Fix it without making it slow.

    Starts from 9 blocks · 6 checks

    RAGpermissionsfreshness

  3. Medium

    A support agent that can issue refunds

    The agent looks up orders and issues refunds. As built, it can refund anything, retries can double-refund, and one slow system freezes the chat.

    Starts from 9 blocks · 7 checks

    agentstoolssafety

  4. Hard

    Make the email assistant safe

    An assistant reads your inbox, can see the CRM, and can send email. Anyone can email you — so anyone can instruct it. Keep it useful and make injection harmless.

    Starts from 7 blocks · 6 checks

    securityagentslethal trifecta

  5. Medium

    Invoice extraction at 50,000 documents a day

    Ops uploads scanned invoices; fields go into the ERP. Today each upload waits on a large model and a retried ERP call sometimes creates duplicate invoices.

    Starts from 4 blocks · 6 checks

    workflowsasyncextraction

  6. Hard

    A coding agent you’d let near your repo

    An agent that reads the repo, edits code and runs tests. As built, generated code runs with internet access, runs are unbounded and live inside the HTTP request.

    Starts from 7 blocks · 6 checks

    agentssandboxlong-running

  7. Hard

    Deep research without the runaway bill

    Users ask open questions that need dozens of searches. One big agent does everything inside the request: slow, expensive and wide open to whatever the web says.

    Starts from 5 blocks · 4 checks

    multi-agentwebasync

  8. Medium

    A phone agent that answers in time

    A restaurant booking line. The prototype uses a reasoning model and leaves callers in silence for seconds before every answer.

    Starts from 7 blocks · 4 checks

    voicelatency

  9. Medium

    Text-to-SQL for analysts

    Analysts ask questions in English; the agent writes SQL against the warehouse. Today it runs whatever SQL the model writes, with the app’s credentials.

    Starts from 6 blocks · 6 checks

    agentsdataSQL

  10. Hard

    Halve the bill without losing quality

    A working RAG assistant runs a frontier model on every request, pastes ten raw chunks, and caches nothing. Finance wants the cost per request halved; product says recall must not drop.

    Starts from 25 blocks · 4 checks

    costRAGcaching

How an AI system design round usually runs

  1. ClarifyUsers, data sources, permissions, scale, latency, what “good” means, what must never happen.
  2. EstimateRequests and tokens per day, peak tokens per minute, monthly cost — before drawing.
  3. BaselineThe simplest design that works end to end. Say what breaks first.
  4. DeepenRetrieval quality, agent safety, reliability, cost — one trade-off at a time.
  5. EvaluateHow you’ll measure it offline and online, and what you’d monitor.
  6. Wrap upRisks, what you’d build next, what you’d cut for a v1.