What an agent holds
- Persona — its name, role, goals, and the things it must never do.
- Language & voice — the primary language (it can mirror a caller’s language) and the voice it speaks with.
- Behavior — greeting, tone, and how it handles handoffs.
Draft vs published
Editing an agent changes its draft. The in-browser tester runs the draft, but phone and chat channels serve the last published version. Publishing freezes a version; you can roll back to a previous one at any time.In the API
| Action | Endpoint |
|---|---|
| Create an agent | POST /agents |
| Read / update | GET /agents/{id} · PATCH /agents/{id} |
| Publish a version | POST /agents/{id}/publish |
| Roll back | POST /agents/{id}/rollback |
| Test (streaming) | POST /agents/{id}/simulate |