Your question is Hebbia Chat System Design. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
Design 'Hebbia Chat': a chat interface where users retrieve insights from SEC filings, built for speed and durability at scale, using a multi-agent system with an orchestrator agent that decides which sub-agent(s) to call. Loading states must be shown before/after every agent call, output must be streamed to the frontend, users can cancel a message mid-flight, and there is a finite token budget to plan around.
Asked in the technical phone screen stage. This is a practical multi-agent system-design question modeled on Hebbia's SEC-filings retrieval product. Clarify missing scale, latency, availability, and token-budget targets with the interviewer.
Address: