> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cura.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Test and teach your AI

> Try your AI in a private sandbox, then teach it whatever it got wrong — without a single real customer seeing a thing.

By the end of this guide, you'll be able to ask your AI anything in a private sandbox, see exactly how it would answer a real customer, and — when it falls short — teach it the missing rule or fact on the spot, so it does better next time.

The **Test & Teach** panel lives right inside your **AI Agent** settings. It's the fastest loop you have for getting your AI ready: **Test** to find the gaps, **Teach** to close them, then **Test** again to confirm.

## Before you begin

* You'll need **Admin** or **Manager** access. The whole **AI Agent** area — including Test & Teach — is only open to Admins and Managers, so anything you save here takes effect right away.
* Test & Teach reads from what you've already set up: your **Services**, **FAQs**, and your AI's guidance. The more you've filled in, the more realistic the test. (See [Build your Knowledge Base](/ai-agent/build-your-knowledge-base).)
* Nothing you do here reaches a customer. Test messages run in a private sandbox against a built-in **Test Cura** contact and never leave Cura.

## Where to find it

* Open the **AI Agent** section from the main navigation.
* On a wide screen, Test & Teach is an always-on panel pinned to the right of every AI Agent tab (**Rules**, **Guidance**, **Suggestions**).
* On a phone or a narrow window, tap the floating **Test AI Agent** button at the bottom of the screen to open it as a slide-up panel.

<Frame>
  <img src="https://mintcdn.com/cura-2d9288ab/mTvBrm7WZR5GpnU1/images/knowledge/knowledge-page.png?fit=max&auto=format&n=mTvBrm7WZR5GpnU1&q=85&s=d74fd96c90034ebaf95bc434f83877bd" alt="The Knowledge page in Cura with the Test & Teach sandbox panel on the right" width="2880" height="1560" data-path="images/knowledge/knowledge-page.png" />
</Frame>

***

## Test: preview how your AI answers

<Steps>
  <Step title="Switch the composer to Test">
    At the bottom of the panel is a small **Test / Teach** toggle. Make sure **Test** is selected.

    You'll see a glowing orb and a few **suggested questions** drawn from your own services and FAQs — real things a customer might ask. Click any suggestion to drop it into the message box, or write your own. Click **Refresh suggestions** to see a different set.
  </Step>

  <Step title="Send a message as if you were the customer">
    Type a question in the box and press **Send** (or hit Enter). Your message appears as a customer bubble, and Cura starts drafting a reply — exactly the way it would for a real person on chat.

    <Note>
      Test messages use the same AI, the same Services, FAQs, and guidance as your live conversations. What you see here is a faithful preview of what a customer would get.
    </Note>
  </Step>

  <Step title="Read the reply — and the two signals under it">
    When the reply lands, look just beneath it:

    * **Source chips** — small tags like `SERVICE` or `FAQ` show which piece of your setup the answer was based on. Hover to see the exact snippet. No chips can mean the AI answered from general guidance rather than a specific fact you gave it.
    * **A quality check** — a **Pass** or **Flagged** tag. Cura automatically grades its own reply; **Flagged** is your cue that something's off. Hover to read why.

    <Frame>
      <img src="https://mintcdn.com/cura-2d9288ab/pPBYeI1qPGlrN2Ia/images/ai-agent/test-reply-signals.png?fit=max&auto=format&n=pPBYeI1qPGlrN2Ia&q=85&s=aa0d689aa475d4c05e8c1614d3771680" alt="A test reply in Cura showing the source chips it used and a Pass quality tag" width="2880" height="1560" data-path="images/ai-agent/test-reply-signals.png" />
    </Frame>
  </Step>

  <Step title="Keep the conversation going">
    Send another message to continue the same conversation — the AI remembers what came before, so you can test a back-and-forth (a follow-up question, an objection, a booking request).

    When you want a clean slate, click the **Restart** button (the circular arrow near the top of the panel) to start a fresh conversation.

    <Tip>
      Test the awkward stuff, not just the easy stuff. Try a price question, a "can I speak to a human?", an off-topic message, and a gentle objection. That's where you'll find the gaps worth teaching.
    </Tip>
  </Step>
</Steps>

***

## Teach: close the gap when the AI gets it wrong

When a test reply is wrong, thin, or **Flagged**, you don't have to leave the panel to fix it. Switch to **Teach** and give your AI the missing rule or fact in plain language.

<Steps>
  <Step title="Switch the composer to Teach">
    Flip the **Test / Teach** toggle to **Teach**. The panel now invites you to *"Teach Cura something new — a rule, a fact, a boundary."* A few example lessons appear to show the kind of thing that works well.
  </Step>

  <Step title="Write the lesson the way you'd brief a new team member">
    Type one clear instruction or fact. Short and concrete beats long and vague. For example:

    * "Don't quote prices over chat — offer a free consultation."
    * "Always escalate medical questions to a human."
    * "Greet returning customers by name when you know it."

    As you type, Cura reads the lesson and suggests a **category** — Identity, Voice, Policy, Procedures, Escalation, or Other — shown as a chip. If the guess is off, click the chip and pick the right one.

    <Frame>
      <img src="https://mintcdn.com/cura-2d9288ab/BeSNmpoAfDIcQxBl/images/ai-agent/teach-mode.png?fit=max&auto=format&n=BeSNmpoAfDIcQxBl&q=85&s=efc5e3e5f605d7d1b700f1ca19ec2e1f" alt="Teach mode: capture a rule, fact, or boundary and save it as a lesson Cura applies to every conversation" width="2880" height="1560" data-path="images/ai-agent/teach-mode.png" />
    </Frame>
  </Step>

  <Step title="Save the lesson">
    Click **Save lesson**. You'll see **"Saved — Cura will use this from now on."**

    The lesson is added to your AI's guidance and applies to **every future conversation**, across your channels — not just this test.

    <Check>Your AI has learned the lesson. Switch back to **Test**, ask the same question again, and confirm the reply is now right.</Check>
  </Step>
</Steps>

<Note>
  Teaching adds a **rule, boundary, or fact** to your AI's guidance. It's the right tool for *how the AI should behave* ("never do X", "always say Y"). For structured facts, use the dedicated places instead: prices and treatments in [Services](/ai-agent/adding-services-and-prices), specific question-and-answer pairs in [FAQs](/ai-agent/adding-faqs), and longer documents in your [Knowledge Base](/ai-agent/build-your-knowledge-base).
</Note>

## The loop that gets your AI ready

1. **Test** a realistic question.
2. Spot a weak or **Flagged** reply.
3. **Teach** the missing rule or fact.
4. **Test** the same question again to confirm it's fixed.

Repeat across your trickiest questions and your AI gets noticeably sharper in a single sitting.

## Troubleshooting

* **Can't see the panel?** It's Admin/Manager-only and part of the **AI Agent** area. On narrow screens it hides behind the floating **Test AI Agent** button — tap that to open it.
* **Reply taking a while or showing a warning?** A test can occasionally time out. Try sending again, or shorten the message.
* **Suggestions look generic?** They're generated from your Services, FAQs, and guidance. Add more of those and the suggestions — and your AI — get more specific. See [Build your Knowledge Base](/ai-agent/build-your-knowledge-base).

***

### Related articles

* [How your AI Agent works](/ai-agent/how-your-ai-agent-works)
* [Build your Knowledge Base](/ai-agent/build-your-knowledge-base)
* [Adding FAQs](/ai-agent/adding-faqs)
* [Adding services and prices](/ai-agent/adding-services-and-prices)
* [Advanced AI instructions](/ai-agent/advanced-ai-instructions)
* [Escalation and handoff](/ai-agent/escalation-handoff)
