One enquiry, from first message to founder review
Visitor
Asks a question in the website chat widget.
Safety screen
Pattern checks and Meta Prompt Guard stop prompt injection, abuse and spam before the agent runs.
AI assistant
A Groq-hosted open-weight model (gpt-oss-120b) answers from approved business information and calls tools.
Qualification
Code applies the business rules (service, budget, timeline, details). The model never decides the outcome.
Lead management
Details, events and decisions are saved in PostgreSQL and streamed to the live panel.
Founder review
The dashboard shows every lead; follow-up drafts wait for a person to approve them.
The only actions the model can take. None of them sends a message.
update_lead
Saves details the visitor shared, normalised (budget, timeline, email), then re-checks the rules.
evaluate_qualification
Re-applies the business rules to the saved lead.
get_open_slots
Lists open discovery-call times for a qualified lead.
book_slot
Books a time the visitor picked. Confirmed only after the booking is saved.
flag_for_founder
Hands the conversation to a person (human request, unanswerable question, data deletion).
Stated plainly, so you know exactly what you are testing