AI Agent
AI Overview
How Ticket0's AI agent pipeline handles new tickets and chat messages.
Ticket0 uses a hybrid AI pipeline designed for low cost, good accuracy, and safe handoff.
High-level flow
When a new ticket or chat message arrives, the system runs this sequence:
- Fast understanding (Gemini Flash / Haiku-class tasks)
- Python context assembly (knowledge base, customer context, similar tickets, language)
- Final response generation (Sonnet-quality drafting)
- Confidence scoring + action decision (show draft, human review, or human required)
What happens on inbound ticket email
- Ticket is created and classified (category, intent, urgency, confidence).
- AI tool calls gather context from KB and prior conversations.
- The agent drafts a response using workspace persona + learned team voice patterns.
- A confidence score is computed from retrieval quality, classification confidence, sentiment, topic risk, and pattern matches.
- Depending on thresholds, the draft is shown for one-click send or suppressed for full human review.
What happens on chat widget messages
- Customer message is stored in the conversation.
- AI generates a response or triggers escalation when confidence is low.
- If escalation is needed, the user is offered escalation in-chat.
- If confirmed, a support ticket is created/updated and queued for a human operator.
Design goals
- Keep routine responses fast and low-cost
- Keep high-risk conversations in human hands
- Be explicit when confidence is low
- Use operator feedback as the learning signal over time
Continue with Zero-config learning and What the AI will and won't do.