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

# Agent

Launch an agent that lets readers explore your content through conversation. On your website and over the phone, your agent can provide summaries, context, and explanations to keep audiences engaged for longer.

You decide how your agent sounds, what it can discuss, and who gets access.

> [accordion] Use your AI assistant
>
> [Connect the BeyondWords MCP](https://dash.beyondwords.io/account/connections), then copy a prompt.
>
> Turn on your agent with your AI assistant
>
> Turn on the BeyondWords agent for a project. Ask me which project, check that AI search is on, and confirm before enabling it.
>
> If you can't access BeyondWords tools, don't guess or make anything up. Tell me to connect the BeyondWords MCP at [https://dash.beyondwords.io/account/connections](https://dash.beyondwords.io/account/connections), then stop.
>
> Review agent settings with your AI assistant
>
> Show me the current BeyondWords agent settings for a project. Ask me which project, then summarize its identity, voice, reasoning model, limits, tools, and guardrails.
>
> If you can't access BeyondWords tools, don't guess or make anything up. Tell me to connect the BeyondWords MCP at [https://dash.beyondwords.io/account/connections](https://dash.beyondwords.io/account/connections), then stop.
>
> Set your agent's identity with your AI assistant
>
> Update the identity of my BeyondWords agent. Ask me which project, show me its current name, custom instructions, and welcome message, and help me write new ones. Confirm before saving.
>
> If you can't access BeyondWords tools, don't guess or make anything up. Tell me to connect the BeyondWords MCP at [https://dash.beyondwords.io/account/connections](https://dash.beyondwords.io/account/connections), then stop.
>
> Change your agent's voice with your AI assistant
>
> Change the voice of my BeyondWords agent. Ask me which project, show me the current voice, help me choose a new one, and confirm before saving.
>
> If you can't access BeyondWords tools, don't guess or make anything up. Tell me to connect the BeyondWords MCP at [https://dash.beyondwords.io/account/connections](https://dash.beyondwords.io/account/connections), then stop.
>
> Set conversation limits with your AI assistant
>
> Update the conversation limits for my BeyondWords agent. Ask me which project, show me the current silence timeout, maximum duration, and goodbye message, and ask what to change. Confirm before saving.
>
> If you can't access BeyondWords tools, don't guess or make anything up. Tell me to connect the BeyondWords MCP at [https://dash.beyondwords.io/account/connections](https://dash.beyondwords.io/account/connections), then stop.
>
> Turn agent tools on or off with your AI assistant
>
> Turn tools on or off for my BeyondWords agent. Ask me which project, list the tools with their current status, and ask what to change. Confirm before saving.
>
> If you can't access BeyondWords tools, don't guess or make anything up. Tell me to connect the BeyondWords MCP at [https://dash.beyondwords.io/account/connections](https://dash.beyondwords.io/account/connections), then stop.
>
> Set guardrails with your AI assistant
>
> Update the guardrails for my BeyondWords agent. Ask me which project, show me the current focus, manipulation blocking, content filter, and custom guardrail settings, and help me write any custom guardrails. Confirm before saving.
>
> If you can't access BeyondWords tools, don't guess or make anything up. Tell me to connect the BeyondWords MCP at [https://dash.beyondwords.io/account/connections](https://dash.beyondwords.io/account/connections), then stop.

## Set up your agent

**1. Enable the agent**

Go to **Agent → Preferences** in your project dashboard.

Under **General → Status**, turn on **Enable agent**. The agent will start setting up and adding your content to AI search, if needed.

> [!WARNING]
>
> To use the agent, you need to have content items available for [AI search](https://docs.beyondwords.io/docs-and-guides/manage-content/ai-search.md). [Learn how to import content](https://docs.beyondwords.io/docs-and-guides/import-content.md).

**2. Configure preferences**

Adjust the remaining settings to shape the agent experience for your users. Click **Save** in each section you change.

> [accordion] Identity
>
> In the **Identity** section of agent preferences, you can:
>
> * Give your agent a name.
> * Review the built-in instructions your agent follows.
> * Add custom instructions about your agent's identity, tone, and style (you can add rules about what it should avoid or restrict in the **Guardrails** section).
> * Write a welcome message, or leave it blank to let the user speak first. Type `{{` to insert the project name, project description, or agent name. You can also choose whether users can interrupt it in voice conversations.

> [accordion] Voice
>
> In the **Voice** section of agent preferences, you can choose the [voice](https://docs.beyondwords.io/docs-and-guides/voices.md) your agent uses for spoken responses. It can be a premade, generated, or cloned voice.
>
> To change the voice:
>
> 1. Click the voice card.
> 2. Browse the available voices and apply filters to narrow your options.
> 3. Click **Use voice** next to your preferred voice.
> 4. If asked, select a **Model**, then click **Confirm**.
>
> If the voice speaks a different language, your agent will speak that language. New conversations use the new voice, and conversations already in progress don't change. To change the model later, use the **Model** field at the top of the page, then click **Save**.

> [accordion] Reasoning
>
> In the **Reasoning** section of agent preferences, you can:
>
> * Choose the LLM provider and model your agent uses for reasoning. We recommend keeping the default option.

> [accordion] Limits
>
> In the **Limits** section of agent preferences, you can:
>
> * Decide whether to end voice conversations after user silence, from 1 to 7,200 seconds. This doesn't apply to text conversations.
> * Set a maximum conversation duration of 60 to 7,200 seconds.
> * Write a goodbye message for the agent to send when the maximum conversation duration is reached.
>
> To set limits for different audiences in the widget, use [access tiers](https://docs.beyondwords.io/docs-and-guides/access-tiers.md). Tier limits don't apply to phone conversations, which use only the limits above. You can set:
>
> * **Messages per conversation**: The number of messages the user can send. Leave it blank for unlimited, or set it to 0 to turn off text conversations on this tier.
> * **Seconds per conversation**: How long voice conversations can last. Leave it blank for unlimited, or set it to 0 to turn off voice conversations on this tier.
>
> The conversation will end if maximum conversation duration, messages per conversation, or seconds per conversation is reached, whichever comes first. But the goodbye message will only send if the maximum conversation duration is the reason.

> [accordion] Tools
>
> In the **Tools** section of agent preferences, you can control how your agent finds and retrieves content during conversations.
>
> Click **Show tools**, then use the toggle next to each tool to turn it on or off. Changes save automatically. Turning off a tool stops your agent from using it.
>
> * **Search articles**: Find articles related to a question or topic, even when the wording is different.
> * **Latest articles**: List the most recently published articles, with filters for author, topic, and date.
> * **Popular articles**: List the most-viewed articles within a selected date range. Widget loads are used as a proxy for page views.
> * **Topics**: List topics based on article tags, with the most-covered topics first.
> * **Authors**: List authors by the number of articles they've published, with their latest publication dates.
> * **Author details**: Find a specific author by name, including how many articles they've published and their recent articles.
> * **Full article**: Retrieve the full content and details of a specific article.
> * **Read article aloud**: Retrieve an article in a format suitable for reading aloud.
> * **Article audio**: Retrieve the audio version of a specific article.

> [accordion] Guardrails
>
> In the **Guardrails** section of agent preferences, you can set boundaries for your agent's conversations:
>
> * **Safety**:
>   * **Focus**: Helps the agent stay on topic and follow its instructions.
>   * **Block manipulation**: Helps prevent attempts to override or reveal the agent's instructions.
> * **Content filters**: Filter sensitive content by category, with low, medium, or high filtering levels.
> * **Custom guardrails**: Add your own rules for how the agent should respond in specific situations. Click **Add guardrail**, then enter:
>
>   * **Name**: For internal reference only.
>   * **Trigger criteria**: What the agent should avoid in its response.
>   * **Execution mode**: **Blocking** checks the response before the agent replies, which is slower but more protective. **Streaming** checks it while the agent replies, which is faster but less protective.
>   * **Trigger action**: What the agent does when the guardrail is triggered. **Retry** makes the agent rewrite its response, using the **Feedback** you enter. **End call** ends the conversation.
>
>   Use the toggle next to a guardrail to turn it on or off.
>
> Changes save automatically.

**3. Test your agent**

Click the **Test agent** button at the top of the page. This opens a panel that allows you to test text and voice conversations with your agent. Make sure you're happy with your settings before continuing.

**4. Enable distributions**

Once the agent has synced, you can [add it to your website using the widget](#add-the-widget-to-your-site).

You can also [enable phone conversations with the agent](#enable-phone-conversations).

### Add the widget to your site

Once the agent has synced, you can add it to your website using the [widget](https://docs.beyondwords.io/docs-and-guides/widget.md). This customizable embed can include the agent, [audio](https://docs.beyondwords.io/docs-and-guides/audio.md), or both.

1. Go to **Widget**.
2. Under **General → Widget**, select the **Default** version.
3. Under **Agent → Experiences**, turn on the **Agent**.
4. Adjust any other settings, then scroll to the bottom and click **Save all**.
5. If you haven't already, [install the widget](https://docs.beyondwords.io/docs-and-guides/widget.md#installation) on your website.

### Enable phone conversations

You can enable phone conversations with the agent once it has synced:

1. Set up a phone number on Twilio ([see Twilio docs for guidance](https://www.twilio.com/docs/numbers-and-senders/phone-number-senders)).
2. Go to **Agent → Phone**.
3. Under **Phone number**, choose the country code and enter your Twilio number.
4. Enter the **Account SID** and **Auth Token** from your [Twilio Console](https://console.twilio.com/).
5. Click **Import number** and wait for the **Status** to change to **Connected**.
6. Test your connection by calling the number and asking your agent a question.

> [accordion] Pause or disconnect a number
>
> To stop the agent answering calls, turn off **Answer calls**. The number stays connected, and the **Status** changes to **Paused**. Turn it back on to take calls again.
>
> To remove the number from the agent, click **Disconnect**, then click **Disconnect** again to confirm. The number stays in your Twilio account. To connect it again, import it with your Account SID and Auth Token.
>
> If the **Status** shows **Unavailable**, the number is no longer available. Disconnect it to import a new one.
>
> > [!NOTE]
> >
> > Turning off the agent disconnects its phone number. To take calls again, turn the agent back on and import the number again.

## Analytics

Monitor how audiences engage with your agent on the **Agent → Analytics** page in your project dashboard.

First, select the time range you want to analyze. If you have [access tiers](https://docs.beyondwords.io/docs-and-guides/access-tiers.md) set up, you can also filter by tier. There are then four tabs to explore:

* **Overview**: Monitor overall usage, including conversations, success rate, average conversation duration, average messages per conversation, and the split by mode (voice or text) and channel (Player or Phone).
* **Searches**: Review searches performed by the agent during conversations, including those that returned no results and the overall no-result rate, to identify popular topics and potential gaps in your content.
* **Content**: See how often the agent has used each content item, with counts for read requests, fetches, and audio requests, to identify the content audiences engage with most.
* **Tools**: Check each tool's status, usage count, average response time, and last-used date to understand how the agent retrieves content and how its tools perform.

Time ranges use UTC, while dates for individual items use your project's [time zone](https://docs.beyondwords.io/docs-and-guides/get-started/projects.md#create-a-project).

Hover over a column name in the **Searches**, **Content**, or **Tools** tab to see what it measures.

## FAQs

> [accordion] What content does the agent have access to?
>
> The agent has access to all the content in your [AI search](https://docs.beyondwords.io/docs-and-guides/manage-content/ai-search.md). This can include article and summary text, as well as audio and video generated from both versions.
>
> You can use **tools** to limit the agent's access to particular content types and actions.


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