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

# Agent

> Explore your Peec data by asking questions in plain language and get answers with charts generated for you.

[YouTube video player](https://www.youtube.com/embed/WlgntxGA1gI)

The **Agent** makes it easier to explore your Peec AI data without jumping between pages or stacking multiple filters. Ask a question in plain language, and it works through your tracked data to return the answer with a chart or list already built.

> [!NOTE]
>
> Agent only works with your own Peec data, so it isn't a general-purpose chatbot. It's also separate from **Agent Analytics**, which tracks AI crawler activity on your website, and **Chats**, which contains the raw AI responses generated from your tracked prompts.

## How to ask

![Agentask2](https://mintcdn.com/peecai-b61a1960/darzFbT1nlPukqYQ/images/agentask2.gif?s=12b91a20aa21809ae54ae149d12c10d3)

Click **Agent** in the bar at the bottom of any page, or press **⌘I** (**Ctrl+I** on Windows), to open the agent as a companion over the page you're viewing. You can also press **⌘K** / **Ctrl+K** and hit **Tab** to turn your search into a question, or click **Agent** in the rail to start a chat on the full-page view.

Type your question in plain language. There's no special syntax or commands to learn.

The Agent understands the context of the page you're viewing, including the selected brand, domain, prompt, date range, and filters. This means you can ask questions like **"Why did this drop?"** without having to explain what you're referring to.

Three shortcuts in the composer help you add context or start from something already available:

* `/` Opens the **Skills** catalog. Choose a skill to use as the starting point for your conversation.
* `@` References a chart, metric, or table directly in your question.
* `+` Opens the same options in browse mode, starting with **Skills** and **Charts & metrics**.

To hand the Agent specific charts or tables, click **Point at content** or press **⌘J** (**Ctrl+J** on Windows), then click or drag across the ones you mean. To pick several at once, Shift-click them or drag a box over them; a pill at the bottom counts your selection, with **Clear selection** and **Ask about selection**.

### Attach files

You can give the Agent files to work from. Click **Add file**, choose a file from the **+** menu in the composer, or paste or drop one directly, which also works in the Overview "Discover what AI says about…" composer. The file shows above the input and goes to the Agent with your message.

The Agent accepts images (PNG and JPG, up to 5 MB each) and documents: PDF, Word, Excel, PowerPoint, CSV, and text files. You can attach up to 10 files per chat.\


> [!NOTE]
>
> An `@` reference, or one you pointed at, hands the Agent that chart along with its data, so you don't need to describe which one you mean. The Agent can also see what's on your current page, so you can ask about what's on screen without adding a reference.

> [!TIP]
>
> **Skills** are ready-made analyses that answer common questions about your Peec data. Search for the one you need, then pick one to start a conversation with that analysis. \
> \
> You can also create your own skills for analyses you run often. Each skill has a name and its own slash command, so the command you type doesn't have to match the name.

![Skills](https://mintcdn.com/peecai-b61a1960/darzFbT1nlPukqYQ/images/skills.gif?s=5ee4ff51cd7d1e8e1006edf6abcd5221)

### Choosing a quality tier

The **Quality** picker in the composer sets how much work the Agent puts into a chat:

* **Normal:** The fastest responses at the lowest usage. This is the default.
* **High:** More reasoning, at about twice the usage.
* **Max:** The most capable model, at about three to five times the usage.

The tier is saved with the chat, and your last choice becomes the default for your next new chat.

## How the Agent responds

The answer appears as the Agent works through your question, showing its progress, the steps it's taking, and the tools it's using along the way.

Results can appear in different formats depending on your question:

* **Charts:** Visualized from the data the Agent queried.
* **To-do lists:** Turn the answer into a list of next steps.
* **Multiple choice:** Lets you choose between options when the Agent needs more input to continue.
* **Talk to a person.** The Agent tries to answer your question itself, but if you'd rather talk to someone, it can hand the conversation to the Peec support team.

While the Agent is working, the send button becomes **Stop**. On the latest answer, use the controls beneath it to copy the response or retry the question.

### Working in the companion

* **Switch chat:** The chat title at the top lists the chats that are still running or waiting for your input, plus **New chat**. Your older chats are in the Agent sidebar.
* **Open in Agent:** Moves the chat to the full-page view when you need more space.
* **Dock to right:** Pins the chat as a panel on the right side of the page. **Open in companion** brings it back.
* **Minimize:** Folds the companion back into the **Agent** button. **Esc** or **⌘I** does the same.

> [!TIP]
>
> Drag the companion by its header to move it anywhere on the page, or drag its top or left edge to resize it. It remembers the size, and a double-click on the edge resets it.

> [!NOTE]
>
> A number on the **Agent** button counts the chats waiting for your input, such as an action to approve. Every chat is saved, so you can return to it later.

## Managing approvals

The Agent can read and analyze your data without approval. Any action that makes a change, such as creating a brand, prompt, topic, or tag, is shown to you first and only happens once you click **Approve**.

There are two ways to reduce approval steps when you want to work faster:

* **Auto:** The toggle in the composer approves actions for the rest of the current chat. **Always allow**, in an approval's options menu, turns on the same toggle.
* **Auto-approve actions:** In **Agent behavior**, at the bottom of the Agent sidebar, this makes **Auto** the starting point for your new chats.

> [!NOTE]
>
> Auto-approve covers every action that would otherwise ask, including connector tools set to **Ask**. Tools set to **Never** stay unavailable to the Agent. Leave it off if you'd rather see every change before it lands.

## Giving the Agent context

Context is what the Agent knows before you type anything, so you don't have to repeat it in every chat. Set it on the **Context** page in the sidebar, at three levels:

* **User context:** Notes about you that follow you into every project. Add, edit, or delete them, up to 100.
* **Project context:** Applies to this project only. Only project owners can edit it.
* **Company context:** Applies to everyone in your company, across every project. Only company owners can edit it.

The Agent follows project and company context unless you tell it otherwise in the chat. Each holds up to 4,000 characters, and its switch turns it off without deleting it.

> [!NOTE]
>
> The Agent saves notes about you on its own during a chat, without asking. If you own the project or the company, it can also propose an update to that context when you share a lasting fact or instruction about it, and the update goes through an approval like any other change.

## Connecting your tools

![Connectors3](https://mintcdn.com/peecai-b61a1960/darzFbT1nlPukqYQ/images/connectors3.gif?s=92a876c54e1404de99284b7975b01ccb)

Connectors let the Agent use tools from products you already work in, such as **Notion**, **Linear**, **Lovable**, **HubSpot**, **PostHog**, **Webflow**, **Google Drive**, or **Framer**. The catalog is organized into categories, from **Websites and CMS** to **Data and infrastructure**.

With the **Google Drive** connector, add Google Docs, Sheets, and Slides to a conversation and the Agent can summarize or edit them. It only opens the files you pick.

1. Open **Connectors** in the sidebar, then search for the product or browse the catalog by category.
2. Pick it, choose where it's **Available in**: **All my projects** or only the current project, and click **Continue**.
3. Sign in with your own account for that product.

Once it's connected, the product's dialog shows your account and its tools:

* Each tool is set to **Always allow** (runs without asking), **Ask** (asks before each use), or **Never** (hidden from the Agent). Read-only tools start on **Always allow** and the rest on **Ask**.
* The connection's menu changes which projects it's available in, reconnects it, or disconnects it.

> [!NOTE]
>
> Connections are personal. Each one uses your own login, and nobody else in the company can use yours. You can have up to 10.

## Agent credits

The Agent runs on agent credits, a monthly allowance included in every plan and shared by everyone in your company. Agent credits are separate from the [credits that cover your tracked prompts](https://docs.peec.ai/agencies/understanding_credits.md), so using the Agent never takes anything away from your prompt tracking.

Each answer consumes a different number of agent credits depending on the complexity of the task. Simple questions use fewer credits, while more detailed analyses or content briefs require more. Choosing a higher **Quality** tier also increases credit usage, even for the same question.

This is why Peec AI displays your available credit balance rather than a fixed number of questions you can ask.

### What's included

Each plan includes a monthly allowance of credits shared across your company and all its projects:

| Plan | Agent credits per month |
| - | - |
| Starter | 500 |
| Pro, Essentials | 750 |
| Advanced, Growth | 1,000 |
| Scale | 1,500 |
| Comprehensive, Enterprise | 3,000 |

> [!NOTE]
>
> Your credit balance resets at the start of each billing period. For annual plans, it resets monthly on your billing date. **Unused credits do not roll over.**\
> \
> New companies receive up to **5,000 additional agent credits** during their first 24 hours to explore the Agent without using their monthly allowance.
>
> Companies with an active subscription or trial at the time of the Agent credits launch receive a **one-time bonus of 5,000 agent credits**, valid for 30 days. These bonus credits are used before the monthly allowance.

### Checking your balance

The Agent composer shows your company's monthly credit usage and the next reset date. When usage reaches **75%, 85%, or 90%**, a warning appears with a suggested add-on to cover the rest of the month.

Company owners see the details on the **Usage** page in the Agent sidebar:

* **Agent credits:** Credits used, the daily average, and when the balance resets.
* **Credits by member:** How many credits each member used in the period, across all projects.
* **Credits by project:** How many credits each project used in the period.
* **Credits per day:** Your company's usage for each day of the period.

### When agent credits run out

Once your company uses its monthly allowance, the Agent stops responding until credits reset or additional credits are purchased. **There are no automatic overage charges.**

* **Three messages per day:** Each member can still send up to three messages daily. Messages sent before credits ran out also count toward this limit. If you've already sent three messages that day, you'll need to wait until the next day. The limit resets at midnight UTC.
* **Company owners:** Can purchase the suggested credit add-on directly from the chat to cover the rest of the month.
* **Other members:** Ask a Company Owner to add more agent credits.

> [!NOTE]
>
> Company owners can set a **monthly agent credit budget** for each member, limiting how many agent credits they can use per month.
>
> To set a budget, go to **Usage** in the Agent sidebar, scroll down to **Usage by period**, switch to **By member** view, and click **Set budget** next to the member's name.
>
> The table displays all members, including those who haven't used the Agent yet, along with their current month's credit usage and assigned budget.

> [!TIP]
>
> You can keep working with your Peec data in your own AI assistant through the [Peec MCP server](https://docs.peec.ai/mcp/introduction.md), which doesn't use agent credits.

### Adding agent credits

Company Owners can purchase additional agent credits under **Settings → Billing**. Choose from **5,000, 20,000, 50,000, or 100,000 credits per month**. The price and amount due are displayed before you confirm.

* **Adding or upgrading:** Takes effect immediately, with charges applied right away.
* **Downgrading or removing:** Takes effect at the end of the current add-on month. Your credits remain available until then. You can undo a scheduled change by clicking **Cancel change** on the Billing page.
* **Billing:** Add-ons are billed monthly, regardless of whether you're on a monthly or annual plan.

## Routines

![Routines3](https://mintcdn.com/peecai-b61a1960/darzFbT1nlPukqYQ/images/routines3.gif?s=f290364a693da8ef7c47ce054247e80c)

Set up recurring tasks for the Agent to run automatically, review the results of each run, and step in whenever your input is needed. Some questions are worth revisiting regularly, such as how your brand's visibility compares with competitors or which actions you completed last month.

A **routine** lets you save these questions as instructions for the Agent and schedule them to run automatically, so you don't have to ask the same questions every time. To get started, open **Routines** in the sidebar under **Agent** to view your existing routines or create new ones.

> [!NOTE]
>
> **Routines are private**, meaning only you can view and run the routines you create. Each run uses your own connected tools and consumes [agent credits](https://docs.peec.ai/agent.md#agent-credits), just like a regular Agent chat.

### Creating a routine

Click **New routine** and choose how you'd like to create it:

* **Describe it to the agent:** Open the Agent with a starting prompt, such as "Every Monday at 9:00". Complete the request by describing what you want the Agent to do. The Agent drafts the routine for your review before creating it. Like other changes, you'll need to [approve](https://docs.peec.ai/agent.md#managing-approvals) the proposal. You can also click **Edit** to make changes before approving. Once created, select **Run now** to start the routine immediately or **Open routine** to view its details.
* **Write it yourself:** Opens a form where you can enter the routine's details manually.

You can also choose from the available **templates** on the Routines page. Each template comes with a predefined name, instructions, and schedule for a common task, all of which you can customize before creating the routine.

> [!TIP]
>
> Each routine run starts fresh using your saved instructions and doesn't remember previous conversations. Make sure your instructions are clear and include all the necessary details, such as the brand, competitors, time period, and what you'd like the Agent to report. For example: "Compare our visibility with our top three competitors last week and identify the sources behind the biggest change."

### What a routine contains

* **Name:** The name of your routine as it appears in the list.
* **Instructions:** Define what the Agent should do each time the routine runs. Type `/` to select a skill or `@` to mention a connector.
* **Connectors:** Choose which of your connected tools the Agent can use. Any connector mentioned with `@` in your instructions is automatically selected. If no connectors are selected, the routine only uses your project data.
* **Repeats:** Schedule your routine to run daily, every weekday, weekly on a specific day, or monthly on a specific date. You can select a whole-hour start time based on your project's time zone, which is displayed next to the schedule.
* **Write access:** Control whether the Agent can make changes in Peec AI or through your connectors:
  * **Read-only:** The Agent can access information but cannot make changes.
  * **Ask before changes:** The Agent must get your approval before making any changes.
  * **Change without asking:** The Agent can make changes automatically without requesting approval.
* **Quality:** Choose from the same [quality tiers](https://docs.peec.ai/agent.md#choosing-a-quality-tier) available in Agent chats. Higher quality tiers consume more agent credits per run.
* **Can ask you questions:** When enabled, the Agent can pause a run to ask for clarification and wait for your response. When disabled, it proceeds independently and explains any assumptions it makes.
* **Emails you the results:** When enabled, you'll receive an email with the results after each run. The report also remains available within the routine's run history.

Routines you create manually default to **Ask before changes**, with **Can ask you questions** and **Emails you the results** turned off.

> [!NOTE]
>
> The Agent can create schedules that aren't available in the form, such as running a routine every few hours or scheduling a one-time run on a specific date. These schedules are displayed as a sentence in the routine's details and can be updated by asking the Agent. All routine runs must be scheduled at least **one hour apart**.

## Keeping track of your routines

Each routine displays a status in the list, prioritized in this order: **Needs input**, **Failed** (if the last run failed), **Running**, **Paused**, or the date and time of its next scheduled run.

You can manage routines directly from the list or from an individual routine's page:

* **Pause:** Use the switch to pause a routine. It won't run on its schedule until you enable it again.
* **Run now:** Start a routine immediately without waiting for its next scheduled run. This also works for paused routines.
* **Edit, Reschedule, or Delete:** Use the routine's menu to update its settings, change its schedule, or delete it. Deleting a routine stops all future runs, but previous runs remain accessible in your chats. You can also click **Undo** within a few seconds to reverse the deletion.

### Reading a run

Open a routine to view its run history, with the most recent run first. Each run displays when it started, whether it was triggered **On schedule** or through **Run now**, how long it took, and its status.

You can filter runs by trigger type and status. Click any run to open a panel showing its full conversation and the instructions used. You can also ask follow-up questions about the run directly from this panel.

Each run ends with one of these statuses:

* **Done:** The run completed successfully, and its report is available below.
* **Needs input:** The run is waiting for your approval or an answer to a question before it can continue.
* **Failed:** The run couldn't be completed. This can happen before it starts if a connector used in its instructions has been disconnected or needs you to sign in again. To resolve it, reconnect it from the **Connectors** page and click **Run now** to retry.
* **Skipped:** The scheduled run didn't take place. This can happen if the routine was paused, a delayed run was overtaken by the next scheduled run, or your company ran out of agent credits, and you've already used your [three daily messages](https://docs.peec.ai/agent.md#when-agent-credits-run-out).

> [!NOTE]
>
> Runs that require your input are pinned above the routine's other runs, showing how long they've been waiting for your response. If a run needs approval to make a change, you'll see the proposed action and can choose **Approve**, **Deny**, or **Always allow**. If the Agent asks a question, open the run to provide your answer, and the run continues once you've responded.

### Changing a routine

To update a routine, you have two options:

* **Edit:** Update the routine's instructions and settings manually.
* **Change with the agent:** Click **Change with the agent** next to the instructions and describe what you'd like to change, such as "Show Perplexity on its own line." The Agent proposes the changes for your approval before applying them.

Any changes you make take effect from the **next run**. Keep in mind that a routine can only run **one task at a time**. If a run is already in progress, you'll need to wait for it to finish before starting another with **Run now**.

## Using the Agent outside of Peec

The Agent uses the same tools as the **Peec MCP server**, allowing you to run and automate the same analyses outside Peec AI. Follow the [MCP documentation](https://docs.peec.ai/mcp/introduction.md) to connect it to Claude, Cursor, or any other MCP client.


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