TFE Motors
An AI sales assistant that searches stock, compares cars and books test drives, on a clean service-layer backend.
- Category
- Car Dealership Web App
- Status
- Live
- My role
- Engineer
- Timeline
- March 2024 – April 2026
- Company
- Elite Nexus Solutions
5 toolssearch, details, compare, book test drive, capture contact
Streamingreal-time answers over server-sent events
70+automated backend tests, including the assistant and lead flow

01
The problem
The dealership wanted more enquiries to turn into sales, on a codebase that could keep growing.
02
Architecture decisions
- Tool-calling assistant with five toolsThe model searches cars, gets details, compares cars, schedules test drives and collects contact details through typed functions, so it acts on real stock instead of guessing.
- Streaming replies over server-sent eventsAnswers appear as they are written, which feels faster on slow mobile connections.
- Repository pattern and a service layerBusiness logic stays apart from data access, so the backend can grow without a rewrite.
03
What I built
- Built the Next.js frontend, an Express and TypeScript backend on Supabase, Redis caching and a leads dashboard for the dealership.
- Built an OpenAI assistant with function calling and progressive lead capture, with chat history saved per session.
