The Real Fullstack

The Enterprise AI Assistant

An employee asked about vacation days and got salary data. Is this an AI problem, a security problem or an architecture problem?

Architect18 minFlow simulatorDebugging lab
ragllmvector-dboauth2opentelemetry
Mission:Fix it from three perspectives — Security, AI and Architecture — then deliver one configuration that is safe, grounded and affordable.Context · Learning objectives ▾

Tallow Cloud's internal assistant answers HR questions from the company knowledge base. Retrieval ignores document permissions, the index contains every policy version, a contractor edited a wiki page with instructions for the assistant, and every question sends ~2,500 tokens of context.

Mission: Fix it from three perspectives — Security, AI and Architecture — then deliver one configuration that is safe, grounded and affordable.

Learning objectives

  • Enforce document-level authorization in retrieval.
  • Defend against injected instructions in retrieved content.
  • Ground answers in current sources within a cost budget.
SimulationSimulated
EmployeeAssistantIdentity providerVector DBRerankerLLM
Run simulation

Run the simulation to see output.