Problems / Real world, medium
A multi-agent research product on its first servers: the lead agent fans each question out to sub-agents that search and browse the web, and the browser tool, sub-agent pool and model capacity are an eighth of their real size. Questions arrive one a second and each takes minutes. One in ten fails.
Unlock it once for 15 credits; everything inside it is free (runs, changes, Submit, results, hints). Sign in with Google to start; new accounts get free credits.
Grow it into the real architecture: every goal must hold at 1 requests a second. You may add components, connect them and resize anything.
Like a coding problem, a solution has to pass every case, not just the one it was built for. Submit in the lab runs all 6; 2 of them are hidden until then.
1 requests a second for 45 seconds: 100% question (reads).
What each component does in this design, and what calls it. The simulator mimics each one from these settings.
| Component | Its job here | Settings |
|---|---|---|
| API gatewayAPI gateway | Traffic enters here.Calls Research API.Gateways centralise auth, rate limits and routing so each service does not reimplement them. | 100000 slots · 60,000 calls/min |
| Research APIApp service | API gateway forwards to it.Calls Lead agent.Little's law: throughput ≈ concurrency ÷ latency. 200 slots at 50 ms serve about 4,000 req/s. | 1 replicas × 500 slots · timeout 240 s |
| Lead agentAgent orchestrator | Research API calls it.Calls Model, Subagent pool, Context compactor, Research memory, Checkpoint store.An agent loops: think, call a tool, read the result, repeat until done. | 62 slots · 2 steps |
| Subagent poolSubagent pool | Lead agent calls it.Calls Model, Web search tool, Browser tool.Multi-agent research systems fan a task out to parallel subagents and use many times more tokens than a single agent. | 250 slots · 4 steps |
| ModelLLM endpoint | Lead agent calls it. Subagent pool calls it.Latency has two parts: time to the first token, then a steady stream of tokens per second. | 250 streams · 7,500 calls/min · 400M input tokens/min |
| Web search toolHybrid search | Subagent pool calls it.Hybrid search combines keyword matching (BM25) with vector similarity. | 50 slots · 2 steps |
| Browser toolBrowser tool | Subagent pool calls it on 50% of requests.Browser tools let agents read and act on web pages, which is slow and brittle. | 25 slots |
| Context compactorContext compactor | Lead agent calls it on 30% of requests.Compaction summarises a long context so the agent can keep going without hitting the window limit. | 25 slots |
| Research memoryAgent memory store | Lead agent calls it.Agent memory keeps facts across sessions so the agent does not start from scratch. | 125 slots |
| Checkpoint storeCheckpoint store | Lead agent calls it.Durable execution saves state after each step so a crash resumes instead of starting over. | 250 slots |