playbooks
Read and change the Playbooks of your AI Agent. A v1 Playbook holds Markdown. A v2 Playbook holds structured steps in JSON.
Commands
Examples
Create a v2 Playbook from a JSON steps file. The new Playbook is off:
Edit the steps of a v2 Playbook. Export the steps, change the file, then send it back:
Turn on a Playbook:
Keep the AI Agent in the Playbook when the end user asks for a human at one Ask step, then check the result:
Draft a Playbook from a policy document:
Details
createmakes an inactive Playbook unless you pass--active. An inactive Playbook does not run in conversations.- The name has a maximum of 128 characters. The description has a maximum of 512 characters.
--referenced-articlestakes a maximum of 5 article IDs. --filereads a.mdfile as v1 Markdown and a.jsonfile as v2 steps. An update with JSON steps makes the Playbook v2.- Start each steps update from
export-steps <id> --sections. The export keeps the reasoning level and the images of each step. upload-imageaccepts a PNG, JPEG, or GIF file of 5 MB or less. Save a Playbook that uses the image within 24 hours, or the upload expires.update-steptakesinheritto clear an override. The step then follows the Playbook default.deletefails while another Playbook references the Playbook. Before you turn off or delete a Playbook, runstart-triggers list --playbook <id>.- In
--rules,v()takes a variable ID fromadacli acme variables list, not a variable name.
For every option of a command, run it with --help, for example adacli acme playbooks create --help.
Related commands
start-triggers: run a Playbook when a conversation starts on a channel.api-tools: manage the API tools that a Playbook runs.changesets: stage and test Playbook changes before they go live.