Skip to main content
Like chat completions - except the model is your trained agent. A playbook + a small model trained on your use case, or any third-party model, served as one OpenAI-compatible endpoint. Text in, text out.

How it connects

Go live in 3 steps

1. Get an endpoint

Build and publish a playbook in the Playground, then open Deploy as Endpoint → Manage API Keys. You get the endpoint, a model id (public:PB_...), and prefilled snippets. See Publish & Share.

2. Point your stack at it

Any OpenAI-compatible SDK works - swap base URL, key, and model. user is your session id, so the conversation stays stateful across calls.

3. Test it

curl the endpoint, or talk to the same agent in the Playground Preview. Same brain, same behaviour.

Go deeper

Chat API reference

Full request/response reference.

Build a playbook

Describe the job; the playbook writes itself.

Embedding guides

LiveKit, Pipecat, FastAPI, CLI.

What is a playbook?

Persona, checkpoints, slots - the format.