> ## Documentation Index
> Fetch the complete documentation index at: https://plain-docs-orca-916-agent-docs-restructure.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Bring your own agent

> Plain is API-first, so any agent you build or buy runs inside it with the same identity, tools, and audit trail as your team.

Plain is built API-first. There are no limitations in what can be done via our API versus the app, so an agent you bring gets the same identity, the same tools, and the same audit trail as anyone on your team.

That makes Plain a good home for an agent you want to own:

* Your agent gets a machine user identity, so everything it does is attributable and permissioned like a user's.
* Plain keeps running the infrastructure around it: routing, queues, [SLAs](/product/platform/slas), [business hours](/product/platform/business-hours), and handoffs to humans.
* You are not locked in. Swap agents later and your support operation stays intact.

There are two places an agent you bring can work, and they are independent. Bring one, the other, or both.

<CardGroup cols={2}>
  <Card title="Support agent" icon="headset" href="/product/agents/bring-your-own-agent/support-agent">
    Your agent works customer threads alongside your team, with its own identity and reporting.
  </Card>

  <Card title="Internal agent" icon="message-circle" href="/product/agents/bring-your-own-agent/internal-agent">
    Your team asks your agent questions inside Plain, where they ask Sidekick.
  </Card>
</CardGroup>

If you would rather not build one, several [third-party agents](/product/agents/third-party) already integrate with Plain.
