Bring your own agent is currently free to use while in beta.
This guide is for agents that run inside Plain. To connect an external agent to support data in Plain, use the MCP server.
What you need
A machine user
Identity, public name, avatar, and API keys.
A webhook listener
HTTPS endpoint. Thread events for a support agent;
discussion.* for an internal agent.A GraphQL client
Reads and writes: threads for a support agent, discussions for an internal agent.
Support or internal
Both start with a machine user. They do not share events or mutations. Either can search knowledge sources.Build a support agent
Assigned to customer threads. Reads, replies, reports status, hands off to a user.
Build an internal agent
Answers users in Ask Sidekick. Reports status and tool calls; can wait on Approve or Deny.
Also in this section
Searching knowledge
Search Help Center articles and indexed documents.
Agent integrations
MCP, skills, and Cursor, if you are not building an in-product agent.

