Design a high-concurrency agent scheduling system

HardSystem design35 minSWEMLEPro outline

The question

Design a service that runs many agent tasks at once, some interactive and some long running. Cover scheduling, rate limits, observability and what happens when the model service goes down.

What the interviewer is looking for

  • Separates interactive and batch work with priorities
  • Budgets tokens, steps and concurrency per task and per tenant
  • Prevents starvation of short tasks
  • Designs traces that link each model and tool call
  • Plans circuit breakers and fallbacks and records when they fire

Your answer

Saved in this browser only. Nobody else sees it.

Why this question

Written by BlogLLM in the style of a publicly reported Moonshot AI (Kimi) question type: high concurrency agent scheduling, rate limiting, observability and fallbacks when the model service fails.

Reported in: mj.mianlingai.com

Practice question written by BlogLLM based on publicly reported interview formats. Not an official Moonshot AI (Kimi) question.