# AI agents (/guides/ai-agents)

You can use Heuristic through an AI agent that supports MCP, such as Claude or ChatGPT: ask it in your own words, and
it does the work in Heuristic for you.

## Connect your agent [#connect-your-agent]

Add Heuristic to your agent once, as [Connect an AI agent](/mcp/connect) describes.

## What your agent can do [#what-your-agent-can-do]

Your agent signs in as you and acts as you, with exactly your access: the same organizations, products and role,
nothing more and nothing less. There are no narrower permissions to give it, and it can never do more than you can:
an Admin's agent can invite people, a product Viewer's agent can only read.

Each Help page ends with requests you can give your agent for its jobs:

- [Getting started](/guides/getting-started#ask-your-agent): set up an organization and products.
- [Account and sign-in](/guides/account-and-sign-in#ask-your-agent): your name and account.
- [Knowledge base](/guides/knowledge-base#ask-your-agent): read your knowledge base again, refresh it.
- [Product hierarchy](/guides/product-hierarchy#ask-your-agent): read and restructure categories and features.
- [Sending feedback](/guides/sending-feedback#ask-your-agent): send feedback and set up feedback sources.
- [Reading feedback](/guides/reading-feedback#ask-your-agent): see what customers ask for, and correct the AI's
  sorting.
- [Members and access](/guides/members-and-access#ask-your-agent): invite people and choose their access.
- [API keys](/guides/api-keys#ask-your-agent): see and revoke your keys.

## Work in bulk [#work-in-bulk]

An agent is most useful for work on many items at once, such as restructuring your
[product hierarchy](/guides/product-hierarchy#ask-your-agent) or sorting many insights in
[Reading feedback](/guides/reading-feedback#ask-your-agent):

1. Ask for the whole change in one request.
2. The agent previews it first and tells you what would change.
3. It then saves everything as one change, which shows in the product's history like a change you made yourself.

If you don't like the result, ask the agent to undo it: the whole change is undone in one step.

## What your agent asks you first [#what-your-agent-asks-you-first]

Before an action that can't be undone, you are asked to confirm it, in the same words the web app's confirmation
uses. Where your agent's app can ask you itself, Heuristic asks you there, and the agent can't answer for you;
otherwise your agent asks you in the conversation. Nothing changes until you say yes. You are asked, for example,
before the agent would remove a member, leave an organization, revoke an API key, disconnect an
app, or run **Rebuild categories**.

## What your agent can't do [#what-your-agent-cant-do]

Your agent can't create an API key: you create keys yourself in the web app
([Create an API key](/guides/api-keys#create-an-api-key)). It can list and revoke them.

## Disconnect an agent [#disconnect-an-agent]

1. Open the profile menu at the bottom of the sidebar, choose **Settings**, and in the settings menu choose
   **MCP server** under **Personal**: **Settings → Personal → MCP server**.
2. Under **Connected apps**, find the agent and choose **Revoke**.
3. Choose **Revoke** again to confirm.

The agent is disconnected at once. It asks for your permission again the next time it connects.

## Ask your agent [#ask-your-agent]

Once your AI agent is connected to Heuristic ([Connect an AI agent](/mcp/connect)), you can ask it to do these jobs
for you, in your own words:

- "Which apps and agents are connected to my Heuristic account?" ([who you are](/mcp/tools/get_me))
- "Disconnect the old ChatGPT connection from my Heuristic account." ([update my account](/mcp/tools/update_me))