> ## Documentation Index
> Fetch the complete documentation index at: https://www.plain.com/docs/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](/docs/product/platform/slas), [business hours](/docs/product/platform/business-hours), and handoffs to humans.
* You are not locked in. Swap agents later and your support operation stays intact.

## Where to go next

The technical detail lives in the developer docs rather than here:

<CardGroup cols={2}>
  <Card title="Building agents on Plain" icon="bot" href="/docs/agents">
    How an agent gets an identity, receives events, decides when to act, and replies.
  </Card>

  <Card title="Integration guide" icon="plug" href="/docs/agents/bring-your-own-agent">
    A step-by-step walkthrough of connecting your own agent to Plain.
  </Card>
</CardGroup>

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