When an agent plans before it works, it shows you its plan as a card of numbered steps. You can change the plan on the card before the agent starts. The agent then runs the steps exactly as you left them.

Where the card shows up

The card sits above the text box in Chat, Code, project threads and bot threads, and in Tasks → Decisions. It works the same on Desktop, on ai.allternit.com (including the phone layout) and in the m.allternit.com app. A plan shows up as a card when:
  • The agent switched to plan mode (it asks first) and finished its plan.
  • The session’s model is an installed coding CLI that hands its plan to Gizzi. See Plan mode with an installed CLI model.

Change the plan

Empty steps are dropped when you approve. A plan holds at most 50 steps, and each step holds at most 500 characters.

Approve or keep planning

  • Approve plan: the agent switches to building and runs your steps in order.
  • Approve + allow sends: the same, and the plan’s messages and file uploads go out without asking again for this task. Payments, signatures and deletions still ask.
  • Keep planning: the agent stays in plan mode. Reply with notes to revise the plan.

Open the plan in the app

When the plan is saved to your account, the card has an Open plan button. It opens the whole plan in the artifact window, docked to the right of the chat on Desktop and the web, and as a sheet on the phone layout and in the m.allternit.com app. On Desktop it never opens a browser window. The window shows the plan’s own sections and its step list. The bar at the bottom of the plan window has three buttons while the plan is waiting for you: After you answer, the bar shows the plan’s status instead of the buttons. The window’s … menu has Open in browser (only when the plan also has a plan page), Copy link and Export PDF.

Plans are saved as artifacts

Each chat has one plan artifact. When the agent finishes a plan, Gizzi saves it to your account. If the agent changes the plan and asks again, the saved plan gets a new version. It doesn’t add a second plan for that chat. A plan has a status: Plans never flood your lists. They don’t show in Recent or Everything on the Artifacts page, in the composer deck’s Artifacts list, or on iOS and Android. They show only under the Plans chip on the Artifacts page. See Artifacts. The Plans list is grouped by project and sorted with the newest first. Each row has the plan’s title, its chat, its status, its version (such as “v4”), when it was updated and Open. If you are offline or signed out, the plan isn’t saved. The card still shows the steps and the approval works as before; Open plan isn’t shown.

On iOS and Android

The plan question shows a plan card with the title, the number of steps and Open plan. The plan opens in a sheet that shows the plan and its steps with Approve, Revise and Ask a question. The sheet is read-only: you can’t edit the steps on iOS or Android, so Approve runs them as proposed.

Open the full plan page

The card shows only the steps. When the plan is also open as a plan page, the card has an Open full plan link. The page shows the whole plan with its sections, and it has the same step list to edit. You can answer on the card or on the page. The first answer counts, and the other one closes. On Desktop, the plan page doesn’t open a browser tab by itself. Open it from the card when you want it.

Watch the steps run

The approved steps become the session’s to-do list. The thread’s live plan shows each step as pending, running or done while the agent works, and the Console Plan tab in Code shows the same list. If you changed the plan, the agent is told that you edited it and runs your list in place of the plan file’s list.

For developers

  • The agent passes steps ([{ title, detail? }]) to Gizzi’s plan_exit tool. Without steps, Gizzi reads the plan file’s top-level numbered items (or bullets if nothing is numbered). Fewer than two items gives the plain question with no step list.
  • The question carries plan: { steps }. The reply to POST /api/v1/questions/{id}/reply may carry plan: [{ title, detail? }] with the edited steps. allternit-api forwards only well-formed steps within the limits above, and Gizzi checks them again.
  • POST /v1/question/{id}/plan-page with { url } on Gizzi links a pending plan question to a page that shows the same plan. Only http and https links of at most 2,000 characters are kept. The link appears as plan.page in the question list, and the card shows it as Open full plan. On ai.allternit.com, a link to 127.0.0.1 shows only in a browser on the same machine.
  • The answer-me plan bridge (a Gizzi plugin) uses this route. It shows the question’s plan.steps as an editable list on its page, and its reply carries the edited steps as plan.
  • When the plan is saved, the question also carries plan.body (the Markdown), plan.title and plan.artifact ({ id, version, persisted }). The id is art_plan_<session id>. See Artifacts API.
  • Approve (Yes) sets the plan artifact’s plan_status to approved. Gizzi sets done once every todo of the approved plan is completed, also after a restart. Keep planning leaves it open. A failed status update is logged and never blocks the turn.
  • Revise and Ask a question both send No, the same reply as Keep planning. The note or question goes in the next message.
  • Clients that don’t draw the card (bot channels, the VS Code extension) answer the same question with its options, and the agent runs the steps as proposed. In the terminal, see Open in Allternit.