Skip to content
Mohammad Kazim
Colour theme

Hire me
← All case studies

AI assistants · Built

An assistant with a deterministic safety layer

Rate limit, then emergency, injection and off-topic interception with fixed safe replies, then verified retrieval, then the model.

120passing tests

Illustrative screen. Designed for this portfolio with sample content.

Illustrative screen with sample content

Illustrative screen for An assistant with a deterministic safety layer

What I did

Questions about animal health need safe, verified answers, never guesses.

  1. Request pipeline: rate limit, emergency, injection and off-topic checks with fixed safe replies and no AI call.
  2. One deployment serving many sites, each with its own persona, API key and feature flags.
  3. Per-IP and per-session limits checked before any paid model call.
  4. Verified knowledge retrieval before the model.
  5. Feature flags per site, plus security and architecture documentation.

What changed

  • 120 passing tests.
Next case studyMulti-tenant lead tracking platform