InterviewLegend

Design Memory for an AI Assistant

Commonly asked
Alex Chen30 min readGuide updated 18 real interview reports

Expect something about that short. The prompt names the feature and leaves the rest to you, so the scoping is part of what gets graded. Picture a user who mentioned three weeks ago that they're vegetarian and live in Lisbon. Today they ask for a dinner spot for Friday. A good answer searches Lisbon and skips the steakhouses without being told. A bad one asks where they live. Worse still, the assistant brings up a breakup they mentioned in a chat back in March. Memory is a product feature with a creepy failure mode, and the design has to handle both sides of that.

The Perplexity angle
Agent memory showed up as an onsite design at Perplexity in late 2026, and its design prompts through 2026 have leaned toward agents, AI workflows and evals. Treat every LLM call as a real component with a latency, a cost per call and a way to fail. A box labeled "AI" with no numbers next to it reads as hand-waving.

PerplexityPremium lesson · System design round

The Perplexity design, worked end to end.

  1. The API and data modelSystem design
  2. The design, drawn out1 diagram
  3. 7 deep divesWith the tradeoffs
Get the Perplexity questions

$49 a year · all 107 companies · instant access

20,000+ candidate reports · guide updated

Perplexity interview guide

Know what Perplexity asks before you walk in.

24 coding · 5 system design · 22 behavioral questions

Get Premium$49 a year · Instant access
Or start freeNo card.

Get their questions first.

Had your Perplexity interview?How we research

InterviewLegend is independent and not affiliated with or endorsed by any company it covers.