Preparing your design workspace

Loading the problem and your latest saved attempt…

Design a Grounded Bank Portal Information Assistant

Build an authorized, low-latency assistant that answers account, transaction, and profile questions from bank records without inventing facts.

Problem statement

For this exercise, assume a retail bank wants an assistant inside its authenticated web portal. A customer may ask whether they have accounts beyond savings, how many transactions and what total amount they had in a selected period, or what mailing address the bank has on file.

The assistant may use an LLM to understand and phrase requests, but every customer-specific claim must come from authorized structured bank data. Design the request pipeline, data access and aggregation layer, response contract, and operational controls.

A response must preserve the signed meaning of money amounts, identify the requested time window, report source freshness, and abstain when identity, authorization, intent, or data quality is insufficient.

The customer must never see another customer's records, and generated text must not be trusted to choose an unrestricted query. Support follow-up wording within one short-lived session while rechecking authorization for each requested resource.

Core banking remains the authority for account ownership, the transaction ledger remains the authority for posted transactions, and the customer-profile service remains the authority for the current mailing address.

Editing records, initiating payments, providing financial advice, and answering from public web content are outside scope.

What to build

  1. Answer the supported account-inventory, transaction-summary, and mailing-address questions only from records the authenticated customer is authorized to view.
  2. Return a structured answer with the interpreted intent, requested period, source freshness, supporting record references, and an explicit unavailable or clarification outcome when a safe answer cannot be produced.
  3. Support short follow-up conversations, audit every data access and answer, and keep retries, dependency failures, stale data, and model changes from leaking or silently changing customer facts.

At scale

  • For this exercise, assume 20 million portal customers, 200 million accounts, and five billion retained posted transactions, with a peak of 5,000 assistant requests per second.
  • For this exercise, return 95% of supported single-turn requests within two seconds and 99% within five seconds while sustaining 99.9% monthly availability for accepted requests.
  • For this exercise, account ownership and profile changes should be visible to new requests within one minute, while posted-transaction summaries may lag the ledger by up to five minutes and must disclose their as-of time.
  • For this exercise, retain privacy-safe request, authorization, query-plan, source-version, and answer audit records for one year; do not retain raw free-form conversation text longer than 30 days.