Design an AI Assistant for Project Status, Risks and Blockers
Design a read-only AI assistant that answers plain-language questions about recent changes, release risks and blocked work from data spread across several workplace tools, with cited, fresh and permission-checked answers.
Problem statement
Design an AI assistant that answers plain-language questions about the state of one customer's projects and teams.
For this exercise, assume one enterprise customer keeps its work in four kinds of tools: an issue tracker (issues, epics, releases with target dates, owners, and links such as "blocks" and "depends on"), a wiki with plans and specs, a code host with pull requests and CI builds, and a team chat.
No single tool shows the whole picture. People want to ask questions like: - What changed in the checkout area this week? - Which releases due this month are at risk, and why? - What is blocking the search migration, and what is that waiting on?
For this exercise, also assume: - The assistant is read-only. It never creates, edits, or comments on anything in the tools. - Every answer cites the exact items it relied on, such as issues, pull requests, builds, pages, or messages, and says how up to date its data is.
- An answer may use only items the asking user can open in the source tool. If the system cannot confirm access, it leaves the item out. - When the data does not support an answer, the assistant says what it could not find instead of guessing. - Hosted language models are available.
A model call is much slower and costlier than a database query, so the assistant should not ask the model to do work a query can do.
Writing back to the tools, training models, other customers' data, and the tools' own internals are out of scope.
What to build
- A user asks a plain-language question about recent changes, release risks, or blocked work and gets a short answer that cites every item it relies on and says how fresh the data is.
- For a blocked item or an upcoming release, the assistant follows blocks and depends-on links, and the pull requests and builds tied to them, to explain what is waiting on what, and why.
- Answers are built only from items the user can currently open in the source tool, and a removed permission stops affecting that user's answers within the stated target.
- The team running the assistant can measure whether answers are correct, well cited, and willing to say they do not know, both before a change to models, prompts, or tools ships and on live traffic.
At scale
- For this exercise, assume the customer has about 20,000 employees; about 2,000 use the assistant on a working day, with peaks of about 5 questions a second.
- For this exercise, assume the tools hold about 5 million issues with about 10 million links between them, about 2 million pull requests and builds, about 500,000 wiki pages, and about 200 million chat messages, with about 1 million changes a day across all tools.
- For this exercise, assume an answer should start appearing within 5 seconds and finish within 30 seconds at p95, using at most 10 tool calls per question.
- For this exercise, assume an edit in any tool should be reflected in answers within 5 minutes, and a removed permission must stop affecting that user's answers within 1 minute.