Mimi

A LangGraph customer-service agent with memory, guardrails and a booking tool for a hair and nail salon.

Category
Booking Agent
Status
Built
My role
AI engineer and full-stack developer
Timeline
2026
Company
Independent project
4 layerstopic, injection, PII and output guardrails
150+automated tests (97 Python, about 52 frontend, plus end-to-end)
8 phasesplanned and completed, with docs for each
Screenshot of the Mimi website
01

The problem

A salon loses bookings when messages arrive while the stylist is busy. An AI agent must stay on topic, never leak personal data and hand over a clean booking.

02

Architecture decisions

  • Guardrails around the modelA topic classifier, prompt-injection and PII detection, and output validation keep the agent inside its job.
  • Per-conversation memory with a checkpointerThe agent remembers the conversation by thread, so customers do not repeat themselves.
  • Per-thread rate limiting, timeouts and retries on the APIOne noisy client cannot exhaust the model budget or hang the service.
03

What I built

  • Built the agent on LangGraph and LangChain with FastAPI endpoints, a booking tool (WhatsApp-ready payload) and contact capture.
  • Built the React and Vite salon site with a PWA and Playwright end-to-end tests.
  • Wrote a runbook, a security checklist, guardrail docs and a load-test script.

Technologies

PythonLangGraphLangChainFastAPIOpenAIReactVitePlaywright