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

# AI agents overview

> What an AI agent is in Popcorn, how to read the Agents page, what the default agent does, and how an agent picks up conversations.

An AI agent is what answers your customers on WhatsApp and Website chat: [Popcorn's rules](https://docs.trypopcorn.ai/agents/popcorns-rules.md) in the Voice you choose (or, for a custom agent, instructions you write), plus the knowledge, capabilities and channels you give it. Most workspaces run one agent, created during onboarding and set as the default. Create more when different numbers or sites need different behaviour, for example a sales agent on one WhatsApp number and a support agent on another.

Click **Agent** in the sidebar, under **Your agent**, to open the **Agents** page with every agent in your workspace.

## The Agents page

| Column | What it shows |
| - | - |
| **Name** | The agent's name, with a **Default** badge on the workspace's default agent. Under the name: the WhatsApp number it answers on (with "and N more" when it has several), or **No WhatsApp number**. |
| **Status** | **Live on WhatsApp**, **Not on WhatsApp yet** (published, but no number connected), **Not published yet**, **Stopped, out of credits**, or **Stopped, plan ended** (your plan through Zid has ended; renew it to turn the agent back on, see [When a Zid plan ends](https://docs.trypopcorn.ai/billing/plans-and-credits.md#when-a-zid-plan-ends)). |
| **Conversations** | The number of WhatsApp conversations on the numbers this agent handles. |
| **Last interaction** | When a conversation handled by this agent was last updated, as relative time. **Never** means it has not handled a conversation yet. |
| **Updated** | The date the agent was last saved. |

Use **Search agents** to filter by name. The page shows 10 agents at a time. On a narrow screen the **Status** and **Conversations** columns move under the agent's name.

Click a row to open the agent. The **⋯** menu on each row (**More actions**) has:

* **Edit**: opens the agent.
* **Set as default**: makes this agent the workspace default. It reads **Publish to set as default** and stays disabled until the agent has a published version. You need a role that can manage agents to see this option.
* **Delete**: removes the agent after you confirm **Delete agent** in the dialog. This cannot be undone. The option is disabled for the default agent and reads **Set another default to delete**.

## The default agent

Every workspace has one default agent. It handles:

* Every WhatsApp number that is not connected to a specific agent.
* Website chat conversations whose embed code does not name an agent.
* Conversations on a number whose agent is disconnected. When you publish a change that disconnects a number, its open conversations move to the default agent immediately.

Onboarding creates your first agent and sets it as the default. To change the default later, publish the agent you want to use, then choose **Set as default** from its row menu. You cannot delete the default agent; set another agent as default first.

## How an agent picks up a conversation

1. A customer writes to one of your WhatsApp numbers or through Website chat.
2. Popcorn routes the conversation to the agent connected to that number, or to the default agent if the number has no agent of its own. Website chat conversations go to the agent named in the embed code you installed.
3. The conversation starts on the agent's published version and stays on it until you publish a change and choose to apply it to open chats. Unpublished drafts never reach customers.
4. Each customer message the agent answers uses one credit, on WhatsApp, Website chat, the **Test agent** chat on the agent page and the WhatsApp sandbox alike. Campaign messages are charged separately, through the campaign. The one exception is the chat on **Home** during setup, which is free (see [Test and publish an agent](https://docs.trypopcorn.ai/agents/test-and-publish.md)).
5. On WhatsApp, the customer's message is marked as read and shows "typing…" while the agent works on its reply. The indicator disappears when the reply arrives, or after at most 25 seconds if no reply is coming.

If the workspace runs out of credits, its plan through Zid has ended, or no valid agent is configured, Popcorn hands the conversation over to your team rather than leaving the customer without an answer. The conversation appears in **Unassigned** and in the **Needs you** folder in the Inbox, and the agent's handover alerts are sent if you enabled them. See [Inbox overview](https://docs.trypopcorn.ai/inbox/overview.md).

Customers can also send voice notes: Popcorn transcribes each one and the agent answers what was said. When a voice note has no speech in it, or cannot be transcribed, the agent asks the customer to send it again or type their message.

## What is on an agent's page

The header shows the agent's name, a status badge and, when the agent is live, the version new chats use ("New chats use v3, published Sep 12, 2026."). Its buttons are **Version history**, **Test agent** and **Save and review** (or **Publish changes** once a draft is saved). From 1280 pixels wide, the test chat sits beside the settings and the **Test agent** button is not shown.

The settings are on five tabs:

| Tab | What you set there |
| - | - |
| **Instructions** | **Name**, then **Voice** for an agent on Popcorn's rules, or **Instructions** (with **Draft with agent**) for a custom agent; then **How it replies**: **Split long replies**, **Delay replies**, **Check replies before sending**, **Share customer details with the agent**. See [Popcorn's rules and Voice](https://docs.trypopcorn.ai/agents/popcorns-rules.md), [Writing custom instructions](https://docs.trypopcorn.ai/agents/writing-instructions.md) and [Capabilities](https://docs.trypopcorn.ai/agents/capabilities.md). |
| **Knowledge** | **What it knows**, once the nightly Knowledge check has looked at this agent (whether it has questions for you, with **Review** or **Open Knowledge**), then which knowledge bases the agent answers from, with **Manage knowledge**. See [Connect knowledge, tools and channels](https://docs.trypopcorn.ai/agents/connect-knowledge-tools-channels.md). |
| **Actions** | **Selling and orders** (**Recommend products**, **Take orders in chat**, **Track orders**, **Send images in chat**), **Follow-ups** (**Close resolved chats**, **Follow up when customers go quiet**), **Safety** (**Block spam and off-topic chats**, **Let customers opt out**) and **Tools**. See [Capabilities](https://docs.trypopcorn.ai/agents/capabilities.md) and [Custom tools](https://docs.trypopcorn.ai/tools/overview.md). |
| **Handoff** | **Hand over to your team** with **Team hours**, **Handover topics**, your own rules and **Suggested topics**, and **Alerts** by Slack or email. See [Capabilities](https://docs.trypopcorn.ai/agents/capabilities.md). |
| **Channels** | The agent's **WhatsApp** numbers, **Manage sandbox numbers**, and the **Website chat widget** embed code. |

Edits are saved as a draft. Customers keep talking to the published version until you click **Publish changes**. The two follow-up schedules are the exception and apply on save; see [Capabilities](https://docs.trypopcorn.ai/agents/capabilities.md).

## Related

> [card] [Create an agent](https://docs.trypopcorn.ai/agents/create-an-agent.md)
>
> Set up a new agent from **New agent** and publish it.

> [card] [Popcorn's rules and Voice](https://docs.trypopcorn.ai/agents/popcorns-rules.md)
>
> How the agent behaves, and how to set how it sounds.

> [card] [Test and publish](https://docs.trypopcorn.ai/agents/test-and-publish.md)
>
> Try changes, publish them and roll back.

> [card] [Capabilities](https://docs.trypopcorn.ai/agents/capabilities.md)
>
> What each switch does and when to turn it on.

> [card] [Spotlight](https://docs.trypopcorn.ai/agents/spotlight.md)
>
> Performance scores and conversations to review.

> [card] [Troubleshooting](https://docs.trypopcorn.ai/agents/troubleshooting.md)
>
> Agent not replying, wrong answers, changes not taking effect.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.