Skip to navigation

changesets

Stage a group of edits to your AI Agent in a change set, test them, and promote or revert them as one unit. The dashboard shows each change set on the Change sets page.

Commands

CommandWhat it does
changesets listLists change sets, the most recent first.
changesets get <id>Shows a change set and its staged changes.
changesets stageStages the changes in a JSON file, in a new change set or in an existing one.
changesets remove <changeset_id> <baseline_id>Removes one staged change from a change set.
changesets promote <id>Shows a preview of the promotion. With --yes, makes the changes live.
changesets revert <id>Creates a new change set that undoes a promoted change set.
changesets delete <id>Shows a preview of the deletion. With --yes, deletes a change set that is in testing.
changesets set-rollout <id>Sends a percentage of new conversations to a change set that is in testing.
changesets stop-rollout <id>Stops the rollout of a change set.
changesets compare <id>Compares the performance of a change set with the live configuration over a date range.
changesets test start <changeset_id>Runs the test cases of a metric on the change set and on the live AI Agent.
changesets test get <test_id>Shows the result of each test case on each side.
changesets objective draft <description...>Drafts objectives from a description of good behavior. It saves nothing.
changesets objective createCreates an objective and pins it to a change set.
changesets objective evaluate <changeset_id>Starts a job that scores the objective of a change set on up to 500 conversations.

Examples

Stage the changes in a file in a new change set:

adacli acme changesets stage --name "Refund policy updates" --file changes.json

Show the live value and the staged value of each changed field:

adacli acme changesets get <changeset-id> --diff

Promote a change set. The preview prints the confirm command, with a warnings token when there are warnings:

adacli acme changesets promote <changeset-id>
adacli acme changesets promote <changeset-id> --yes --token <warnings-token>

Send 10% of new conversations to a change set, up to 500 conversations:

adacli acme changesets set-rollout <changeset-id> --percent 10 --max-conversations 500

Undo a promoted change set. Review the new change set, then promote it:

adacli acme changesets revert <changeset-id> --name "Restore refund policy"
adacli acme changesets get <new-changeset-id> --diff

Details

  • An AI Agent has at most 20 change sets in testing. A change set holds at most 20 changes.
  • stage takes --name for a new change set, or --changeset for an existing one. All changes in one file stage together, or none stage.
  • You cannot edit an imported Knowledge article in a change set.
  • promote shows an untested warning when no test ran on the change set. A test run on the change set removes the warning. A chat does not.
  • revert changes nothing live. The new change set undoes the changes when you promote it.
  • In set-rollout, --percent is 1 to 90. The total of all active rollouts on the Agent must not be more than 90. Promotion ends the rollout.
  • test start uses Ada’s improvement quota. It runs at most 20 test cases, takes minutes, and prints a test ID at once.

For every option of a command, run it with --help, for example adacli acme changesets stage --help.

  • testing: pin test runs to a change set.
  • chat: chat with a change set before you promote it.
  • loop: print the improvement loop that stages and tests each fix in a change set.