> For the complete documentation index, see [llms.txt](https://docs.praiz.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.praiz.io/ai-agents/using-an-agent.md). Agents can also search and read this documentation through its [MCP server](https://docs.praiz.io/~gitbook/mcp).

# Using an agent

Apply an agent to a call, by hand or automatically.

{% hint style="info" %}
Before you start: an agent imported from the [library](https://docs.praiz.io/ai-agents/ai-agent-library.md) or [built from scratch](https://docs.praiz.io/ai-agents/creating-a-custom-agent.md), and a call that has been recorded and transcribed. See the [Quickstart](https://docs.praiz.io/get-started/quickstart.md) if that is not done yet.
{% endhint %}

## On one specific call

1. Under "My Recordings", open the call.
2. In the "AI Agents" panel at the top of the call page, click the agent you want to apply. Agents that are not shown are under "More".

![AI Agents panel at the top of a call page](https://3785996597-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtOw7B6Sc94pXU8vLJs0a%2Fuploads%2FTk53KQPg1kock5cm7X0c%2Fen-13-recording-agents-bar.png?alt=media)

What to expect: Praiz runs the agent and shows the result just below, for example a summary, a score or a list of signals. Copy the result with its formatting ("Copy") or run it again ("Refresh"): the new extraction appears without reloading the page. To read the result in another language, click "Translate to…" and choose the language.

Use the same method to apply an agent to a single past call. To process several past calls at once, see the "Apply an agent to your past calls" section below.

### Finding and using the result

The result stays on the call page. It feeds your conversational database. Depending on your setup, Praiz also sends it by email or on Slack (see [Smart Actions](https://docs.praiz.io/automate/smart-actions.md)) and syncs it into your CRM (see [CRM sync](https://docs.praiz.io/automate/crm-sync.md)).

## Automatically

Set the agent up so that it applies automatically to the calls that match your criteria.

1. From the "AI Agents" section, click "Configure" on the agent card.
2. Open "Automation rules".
3. Turn on "Auto-apply agent".
4. Set the rules, which stack:
   * Teams: only calls from one or more teams.
   * Users: only calls from one or more users. Combined with "Teams", the rule targets calls from the chosen teams and from the chosen users. With no team and no user, the agent handles everyone's calls.
   * Phone calls only: only phone calls.
   * Video conference only: only video meetings.
   * Mobile recordings only: only recordings made from the mobile app. The three source rules are exclusive: an agent limited to one source ignores calls from the other two.
   * Minimum duration (seconds): a minimum call length, in seconds (for example 300 to only process calls longer than 5 minutes).
   * Words in title: only calls whose title contains certain words. List every variant, including case and accents (Demo, Démo, Demonstration).
   * Meeting type: "All meetings" (the default), "Internal meetings only" or "External meetings only". A meeting is internal when every participant has one of your company email domains. See [Private mode](https://docs.praiz.io/administration/private-mode.md) to declare those domains.

![Configure menu of an agent with the Automation rules entry](https://3785996597-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtOw7B6Sc94pXU8vLJs0a%2Fuploads%2Fd84O169af8BIIYorMNZ2%2Fen-19-agent-configure-menu.png?alt=media)

What to expect: the agent runs automatically on every new call that meets these conditions. Calls that are already recorded are not processed: apply the agent by hand if you need to. The agent card shows an "Automation" badge.

![Automation rules of an agent](https://3785996597-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtOw7B6Sc94pXU8vLJs0a%2Fuploads%2F4DyJNnpfljqiqJdC5xEf%2Fen-21-agent-automation-rules.png?alt=media)

## Apply an agent to your past calls

1. From the "AI Agents" section, click "Configure" on the agent card, then "Apply to history".
2. Choose the calls: period ("From" / "To"), teams, call type, minimum and maximum duration. Tick "Re-run on calls already processed by this agent" to also reprocess calls already analyzed.
3. Click "Preview": Praiz shows how many calls will be processed, the estimated cost in credits and your balance.
4. Click "Apply to history" to start the processing.

{% hint style="info" %}
Processing uses credits and a daily limit applies. If you reach it, choose a shorter period or run it again the next day. If the option does not appear in the "Configure" menu, contact Praiz support.
{% endhint %}

## Related pages

* If no agent in the library fits your need, see [Creating a custom agent](https://docs.praiz.io/ai-agents/creating-a-custom-agent.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.praiz.io/ai-agents/using-an-agent.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
