Developers can ask typed questions through the Decisions API. When an agent needs you to make a call with real consequences (an incident, a spend, a deal), it can ask the question as a decision tree. The ask sits on the left. Lines run out to each option, and each option branches again to its follow-up question or to what happens if you pick it. You see the whole decision before you choose.

Where decisions show up

Answering in either place answers the agent. The other place drops the question.

Reading a tree

  • Risk (High, Medium or Low) sits above the ask, with the agent’s name and the facts behind the question.
  • Agent’s pick marks the option the agent would choose.
  • A highlighted line under an option is a cost or a risk, for example “Skips 1,284 tests”.
  • A grey box after an option says what happens if you pick it. An option with a follow-up question shows that question and its choices instead.

Answering

  • Click an option, or press its number (1–9). An option with a follow-up moves you to that follow-up: pick one of its choices the same way. Esc goes back.
  • You can also click a follow-up choice directly.
  • Other… takes your own words. Press Enter to send them.
  • The arrow keys move the highlight and Enter picks it.
The other branches fade back as you choose. When the answer is sent, a Sent node closes the path and the agent’s next turn starts. The agent receives the path you chose, for example “Roll back to #481 → Post on the status page”, or what you typed. On a phone, or in a narrow window, the tree stacks into an indented list with the same lines, numbers and keys.

In the gizzi terminal

The gizzi terminal asks the same decision one step at a time:
  • The question shows its risk in colour (HIGH RISK, MEDIUM RISK or LOW RISK) with the facts beside it.
  • The agent’s pick reads ”· Agent’s pick”. A cost shows after the option’s description with a ⚠ sign. An option with a follow-up shows “then:” and the follow-up question.
  • Pick an option with a follow-up, and the follow-up opens next as a Then tab. Its title says which option led to it.
  • ← and → (or Tab) move between the steps. If you go back and pick a different option, its own follow-up replaces the old one.
The agent gets the same path as in the app, for example “Roll back to #481 → No notice”. In the terminal, the agent asks with the AskUserQuestion tool, which takes the same fields as the table below.

Asks that do not block

When you are away, an agent can use ask_user_later instead. It asks up to 3 questions and keeps working on a stated assumption. These asks show in the thread dock with an Assumed: line, Answer and Dismiss, and in the Decisions deck on iOS. Your answer starts a new turn. See ask_user_later. To ask you to sign a PDF, an agent uses request_signature, described on the same page; see Review and sign.

For agents

Decision trees use the question tool’s optional fields: A question with any of these draws as a tree. The answer comes back as one label per level, joined with ” → ”. Agents on CLI brains get the same fields through the session’s tool bridge. Related: Composer, replies and questions, Glance lines.