Skip to navigation

session-tracking

Log what an AI assistant tries to do with adacli, in plain English. Each command that the assistant runs after that carries the same session ID, so Ada can connect the intent to the commands. For how AI assistants use adacli, see AI assistants.

Commands

CommandWhat it does
session-tracking startStarts a session with its first intent, and prints the session ID.
session-tracking updateRecords why the last intent ended or changed, and an optional new intent.

Examples

Start a session, and print only its ID:

adacli acme session-tracking start --intent "Fix the refund playbook" --quiet

Add the session ID to each command after that:

adacli acme playbooks list --session k3x9q2mf

Record that the intent changed:

adacli acme session-tracking update --session k3x9q2mf --reason refined \
--intent "Fix the refund playbook for EU customers only"

Record that the intent is done:

adacli acme session-tracking update --session k3x9q2mf --reason completed

Details

  • The reasons are completed, refined, new-task, blocked, abandoned, and handed-to-user.
  • An intent has a maximum of 200 characters. Notes have a maximum of 500 characters.
  • adacli sends the intent and the notes to Ada as usage data. Do not put credentials or customer data in them.
  • adacli refuses text that looks like a credential, and exits with code 2. It sends none of the refused text.
  • --session works on every command, in any position on the line.
  • adacli does not store the session ID. Each assistant keeps its own ID. A command with an ID that is not valid runs as usual, and adacli shows a warning.

For every option of a command, run it with --help, for example adacli acme session-tracking update --help.

  • skills: install the adacli skills for your AI assistant.
  • agent-context: get the whole command list as JSON.