What Live Train is
The Train tab on each agent (AI Agents > [Your Agent] > Train) is a sandboxed environment for practicing with your agent. It runs the real agent — same instructions, same skills, same knowledge — inside an embedded preview widget you can iterate against without touching production.
Use it to:
- Try edge-case questions and see how the AI responds.
- Test new instructions before saving.
- Verify that recently added knowledge sources actually surface.
- Practice escalation flows.
- Capture corrections and feedback that improve the agent over time.
How it works
The Train panel embeds an iframe of/preview/widget?...&mode=minimal running your real agent. Sessions in this preview are flagged so they’re excluded from production analytics and any AI training pipelines — your test conversations don’t show up in your Inbox or count toward usage stats.
While you chat in the preview, the surrounding panel shows:
- Each message the AI generates with thumbs up / thumbs down ratings
- A correction box where you can write what the AI should have said, plus an Inbox Training button to save that correction as org-wide training (PII is scrubbed before it is stored)
- The conversation outcome when the session ends (resolved, escalated, dropped, etc.)
A typical Live Train session
- Open your agent and click the Train tab.
- Type a question your customers commonly ask: “How do I export my data?”
- Read the AI’s response. Three things to check:
- Did it search the right knowledge? Look for citations in the response.
- Did it reference the user/company context? If not, you may need to send better context from the SDK.
- Did it stay in scope? Compare against your instructions and Boundaries.
- If the answer is good, give it a thumbs up.
- If the answer is wrong or incomplete, thumb it down and write the better response in the correction box.
- Move on to the next question.
| Symptom | Fix |
|---|---|
| AI keeps citing wrong / outdated info | Add a more authoritative knowledge source, or remove the stale one |
| AI keeps giving generic answers when it should be specific | Add or improve context entries sent from your app |
| AI keeps using the wrong tone or style | Update agent instructions |
Iterating on instructions
Because Train uses the live agent, you can iterate without redeploying anything:- Edit instructions on the Configure tab.
- Save the agent.
- Switch back to the Train tab.
- Ask the same questions again — the new instructions take effect immediately.
Practicing escalation
To practice escalation flows without filling your inbox with test tickets:- Set the agent’s escalation mode to conditional with a high confidence threshold (e.g. 70).
- In Train, ask a question the AI clearly can’t answer (e.g. “What’s the status of my last order from Q3 2024?”).
- The AI should escalate after a few attempts.
- Note: the preview session skips actual ticket creation in the backend, so no real ticket is filed. The escalation flow is simulated so you can see how the AI behaves without filling your inbox.
When to leave Train and ship
Once Train conversations consistently meet your quality bar — knowledge cites correctly, tone matches your brand, escalation triggers at the right time — the agent is ready for real users. The Train tab stays useful even after launch:- Use it to QA new knowledge after a doc update.
- Onboard new teammates by having them try the agent themselves.
- Reproduce specific customer issues to debug the AI’s reasoning.
Where to go next
Instructions
Iterate on your agent’s system prompt.
Knowledge Overview
Add and improve the sources the AI searches.