11A 300-line custom loop or a framework for a regulated bank's agent: make the call.▼expertNew◆ premiumThe interviewer is not asking which library is best. They are asking whether you can turn a regulator's questions into requirements and choose an architecture that answers them for years.Open full answer →
11How would you test a compaction prompt before it ships?▼expertNew◆ premiumA summary that reads well is not the test. Continue real runs from the compacted state and from the full one, and compare what happens next, paired and with an interval.Open full answer →
11Evaluate whether memory helps at all.▼expertNew◆ premiumMemory's effects arrive across sessions, so per-request A/B tests and single-session evals miss them. Compare no memory, real memory and ideal memory on multi-session tasks, randomise by user, and count the harms as well as the gains.Open full answer →
05Tree search gives better answers but the latency budget is eight seconds. What do you do?▼expertNewunlockedSpend the search where it pays, spend it in parallel, stop at a deadline with the best answer so far, and move the rest of the search offline where nobody is waiting.Open full answer →
11Move a prototype from a role-based multi-agent chat into a workflow a regulator can audit.▼expertNew◆ premiumAgents chatting in roles produce a transcript, and a transcript is not an audit trail. Turn each role into a node with typed inputs and outputs, put the regulated decisions in code or with a named person, and record every decision so it can be replayed.Open full answer →
09Design the release gate for an agent that moves money.▼expertNew◆ premiumZero violations in an eval is not proof of zero risk; it is an upper bound that depends on how many runs you did. Gate in stages, offline, shadow and capped canary, with hard limits in the harness for whatever the gate cannot rule out.Open full answer →
11A regression appears in 3% of runs. Prove it exists and find it.▼expertNew◆ premiumRare failures hide in averages and vanish on rerun. Make the failure detectable by code, count it on enough runs of both versions to prove the difference, then concentrate it on the tasks that trigger it and bisect there.Open full answer →
11Debate between agents: when does it add evidence and when does it only add cost?▼expertNew◆ premiumCopies of one model arguing with each other mostly spend tokens to reach what voting over samples would reach. Debate earns its cost when the debaters bring different evidence or can check each other's claims against something real.Open full answer →
04The API sends wire transfers and has no idempotency key. Design the agent around it.▼expertNewunlockedWires cannot be recalled reliably, so the design chooses at-most-once on purpose: one dispatcher may send each intent, a send that ends in doubt is never retried automatically, and the bank's own records settle what happened.Open full answer →
08A new model ships while two thousand long-running workflows are mid-flight. What happens to them?▼expertNew◆ premiumNothing, by default, if each run pinned its model and prompt at the start. Then the upgrade becomes a decision per run: finish on the old version, or move at a safe point after the new one has proved itself on the same kind of work.Open full answer →
05Design tenant isolation for twenty thousand concurrent coding sessions.▼expertNewunlockedThe sandbox boundary is one layer of six. Compute, network, storage, credentials, shared caches and observability each need their own answer, and the shared caches are where designs usually leak.Open full answer →
11Build or buy the agent runtime.▼expertNew◆ premiumNot one decision but six: sandboxes, durable execution, the credential broker, the model gateway, tracing and evals. Buy what is undifferentiated and hard to get right, build what encodes your product, and keep every boundary portable.Open full answer →
04Design a gateway in front of three hundred internal MCP servers.▼expertNewunlockedAt three hundred servers, the gateway is shared infrastructure for every agent in the company. It needs a registry behind it, projection in front of it, isolation between backends, and the reliability of anything else on the critical path.Open full answer →
11The coding agent can install packages from the internet. Threat-model it.▼expertNew◆ premiumEvery install runs someone else's code with whatever the sandbox can reach, and the agent chooses the names. Assume some choices will be wrong or malicious, and design so that a bad package finds nothing worth taking and cannot reach the codebase unreviewed.Open full answer →
08A low-privilege agent hands work to a high-privilege one. Prevent the escalation.▼expertNew◆ premiumIf the high-privilege agent acts on its own authority whenever asked, every low-privilege agent effectively has its rights. The fix is that authority travels with the request, not with the agent receiving it.Open full answer →
04Design a background coding agent for ten thousand engineers.▼expertNewunlockedAn engineer assigns a ticket and comes back to a pull request. Behind that: a sandbox per task, the repository's own build and tests, credentials kept outside, a verification loop, a reviewable diff, and a platform that runs thousands of these at once.Open full answer →
06Design an invoice-to-payment agent with zero tolerance for a wrong amount.▼expertNew○ sign inZero tolerance means the model never decides an amount. It reads invoices; deterministic checks against purchase orders and receipts decide what is payable; anything that does not reconcile goes to a person; and payments run through a pipeline that pays once.Open full answer →
08Design an agent platform that fifty internal teams will build on.▼expertNew◆ premiumFifty teams will each build something different. The platform's job is to make the safe way the easy way: shared runtime, tools, identity, policy, evaluation and observability, with teams owning their prompts, tools and outcomes.Open full answer →
13Design a procurement agent that gets quotes from suppliers' agents and pays for approved orders.▼expertNew◆ premiumThree protocols, two companies, one buyer's money. The design is about which edge each protocol covers, whose authority each call carries, and what nobody on either side may do without a signed approval.Open full answer →
14Design a browser agent that files insurance claims in a legacy web portal with no API, for a regulated insurer.▼expertNew◆ premiumThe portal was built for people, changes without notice, and every submission is a regulated record. The agent can fill forms; it must not be the one deciding what is true or pressing submit unchecked.Open full answer →
15Design an IT helpdesk agent that can grant employees access to internal applications.▼expertNew◆ premiumMost requests are routine and the agent should just handle them. The design problem is making sure the agent can only grant what policy already allows, and that everything else reaches the right approver.Open full answer →
16Design an agent that reviews incoming supplier contracts for a legal team and flags terms that deviate from the company's standards.▼expertNew◆ premiumLawyers will not trust a summary. They will trust a list of specific clauses, each quoted with its location, compared against the company's own position, with the agent's uncertainty visible.Open full answer →
16Design the model-call layer of an agent platform that fifty teams will build on: adapters, limits, retries, deadlines and usage accounting.▼expertNew◆ premiumThe capstone design for this topic. The strong answer draws one gateway that owns provider adapters, quota buckets per provider limit, classified retries with run-level budgets, deadline propagation, usage attribution per team, and the trace fields that make all of it debuggable, and says what stays with the teams.Open full answer →