Deployments
Deploying an Agent
Publish an agent for external end-user chat with managed limits and origin controls.
February 15, 2026
7 min read
Agent deployments let you expose one of your agents to end users outside the AffinityBots app.
What You Get
- Public runtime endpoint for custom frontends
- Hosted page at
/deploy/{public_key} - Embeddable widget script
- Per-deployment origin allowlists
- Per-deployment rate and concurrency limits
Create a Deployment
- Open your agent page.
- Click Deployments.
- Create a deployment with a name, allowed origins, and runtime limits.
- Set status to active when ready.
Statuses
draft: not publicly callableactive: live and callablepaused: temporarily disabledrevoked: permanently disabled for its current key
Memory Behavior
By default, deployed chat uses external_user_id to persist conversation continuity.
- If you provide
external_user_id, the deployment reuses a mapped thread. - If omitted, each session is treated as anonymous.