Formula runs in chat
A formula run opens in one run view: follow its steps and map, act on checks, decisions, and inputs, chat inside a step’s drawer, and cancel or restart the run.

A formula is a reusable, typed workflow: a graph of steps and gates with checked input. Each step runs as an ordinary task on the agent. You design formulas in the pack builder; watching, deciding, and cancelling happen in the run view next to the chat that started it.
Before you start#
- Formulas come from packs attached to the agent. Author them in the pack builder.
- A run starts when an agent calls a formula, when an automation runs one, or when a parent formula starts it.
- Acting on a run needs manage access on the agent. Without it, you see “You need manage access on this deployment to act.”
Steps#
- Open the run from the task that started it, or open the full-screen Formula run view. One view serves every screen size.
- Read the steps in the order they ran. The current step is expanded, and steps the run has not reached are listed after. Needs you is pinned above them when the run waits on a person.
- Use the map. When the view is wide it sits beside the steps; when narrow it is a collapsed strip. Select Expand to open it full screen, where the mouse wheel, +, and - zoom, dragging pans, and Fit returns to the whole graph. Selecting a step there opens its drawer above the map.
- Open a step to see its drawer. It has two tabs, Details and Chat. Details shows What happened, Decision, Output, Artifacts, Questions and evidence, Check, Prompt sent, and the step details. Long values show a preview with Show all. A step that ran more than once lists each visit. On a narrow screen the drawer shows a “Run > Step” breadcrumb whose Run goes back.
- Select Chat to read the step’s thread and reply. The chat fills the drawer, with one reply field at the bottom. A dot on Chat shows that the step waits for your reply, and such a step opens on Chat. A closed step’s chat is read-only. Steps that have not started yet have no chat.
- Act where the run waits for you — see the table below.
- Open run details or the technical log, with replay, from their disclosures. Select Cancel run to stop the steps still running. A failed or cancelled run can be revived with Restart run.
If a run cannot be loaded, the view says “This run could not be loaded.” with Try again.
What a run can ask you#
| Node | What you do |
|---|---|
| Check | Choose approve, revise, or reject. revise needs a note. |
| Decision | Choose one of the formula’s own routes, with a note when the route asks for one |
| Input | Write a reply to the step and select Submit |
Runs that wait on you also appear under Needs you, and notifications can tell you when “A formula needs a decision” or “A formula needs input”.
Example#
A bug-fix run reaches a human check after the agent writes a patch. You open the step’s drawer, read the diff, and choose approve. The next step starts, and its drawer is one click away. Later a flaky test fails a step; you select Restart run and the run picks up again.
Questions
- What is a formula in Nested?
- A formula is a typed workflow shipped in a pack: steps that run as agent tasks, joined by gates that route by rules or by a person.
- Why can’t I approve a formula check?
- Acting on a run needs manage access on the agent. Ask the agent’s owner, or have them act on the run.
