Debug Runs

Ask Forge why a run failed, which runs went wrong, or why a tool wasn't picked — Forge reads the run evidence and explains it in plain words. Debugging only reads data: Forge never creates or changes anything while it investigates.

What Forge can investigate

Question typeWhat Forge looks atExample
Explain a runOne run, request or conversation — why it failed, answered wrongly, looped, escalated or was slow.Why did run ID_015028 fail?
Find runsRun history filtered by status, channel, trigger, AOP, tool, user or time.Show the failed runs from the last 24 hours
Run analyticsCounts and breakdowns — handled rate, failure reasons, by AOP, tool or channel, and period comparisons.How many runs failed this week and why?
Tool selectionWhy a tool was or wasn't picked, whether it was available, and how it was ranked.Why didn't the leave-balance tool get picked here?
Knowledge and workflow traceWhere a knowledge answer came from; the nodes a workflow ran, and its connector logs.Trace the workflow nodes for this run
Instance setupAI Colleagues, AOP definitions, and the orchestrator settings that often explain behaviour.Is the For-Each Loop tool enabled?

Note: If a run page is open, ask about this run and Forge uses it — you don't need to paste the ID.

Explain a single run

Give Forge a run ID, request ID or conversation ID, or open the run and ask about this run. Forge reads the run's evidence and tells you:

  • The root cause, in plain words, with the exact error the AOP or tool returned.
  • A timeline of what happened, step by step.
  • What each tool and model call did, with its inputs and result.
  • Which AOP handled the run, and whether a helper AOP it called never started.

Note: Forge reports only what the run data shows. If the evidence doesn't explain the failure, it says so rather than guessing — and it never shows raw PII values.

Other questions you can ask about a run: Explain what happened in Req_6a2c3e04b6a9916a71f24180, Why was this run escalated?, Why did this run take so long?

Find runs and run analytics

Ask Forge to search run history, or to count and break down runs. Forge answers with a table, KPI tiles or a chart, plus a link to the matching runs in Run history.

You canOptions
Filter byStatus, channel, trigger (including Workbench schedule), AOP, tool, AI Colleague, user, escalation and time window.
Break down byAOP, tool, AI Colleague, channel, schedule or failure reason.
CompareOne period against another — for example, this month versus last month.

Note: Forge uses your time zone for dates such as yesterday or this week.

Examples: How many runs failed in the last 7 days?, Handled rate this month versus last month, Break down this week's unhandled runs by AOP, Find runs by [email protected] this week.

Why runs were unhandled

Every unhandled run has exactly one reason in the Unhandled due to column of Run history, and Forge uses the same reasons in its answers.

Unhandled due toWhat it means
Out of scopeNo AOP or capability covers the request.
Knowledge gapThe knowledge base had no answer.
GuardrailA guardrail blocked the request or the answer.
Tool / AOP failureA tool or AOP ran and failed. Earlier called Skill / AOP failure.
System errorAnything that can't be attributed to the reasons above.

The detailed reason — such as the tool name and its error — is in the Unhandled reason column.

Tool selection, knowledge answers and workflow traces

Tool selection. When the AI Colleague picked the wrong tool, or no tool, Forge checks whether the tool was available to that AOP, reads its definition, and shows how it was ranked against the others for that request — for example, Why didn't the create_ticket tool run for ID_1? A vague tool name or description is a common cause; see Forge best practices for naming tips.

Knowledge answers. For an answer from the knowledge base, Forge shows which articles were used and why, so you can tell a missing article from a wrong match — for example, Why did the knowledge answer in this run cite the wrong policy?

Workflow traces. When a run called a workflow, Forge shows the path of nodes it ran, the detail of each node, and the connector logs — for example, Trace the workflow nodes for run ID_2.

From finding to fix

Forge keeps investigating and fixing separate — it changes nothing until you ask for a fix.

  1. Find the failing runs — Show the failed runs of the Payroll AOP this week.
  2. Get the root cause. Ask Forge to explain one of them, and check the evidence it shows.
  3. Ask for the fix — Fix the leave balance tool so it returns days. Forge copies the failing input and error into the fix.
  4. Approve. A small change to one AOP or Code tool runs as a quick edit. Bigger changes show a plan first.
  5. Test again. Run the same request in the Virtual Assistant, then ask Forge whether the new run succeeded.

Note: When you fix a Code tool, the AOPs that use it pick up the fix without being republished. See Build with Forge for quick edits and plans.

Tips and limits

TipWhy
Give an ID when you have oneA run, request or conversation ID gets the fastest, most exact answer.
Name the time windowLast 7 days or since Monday keeps results small. Very large results are trimmed.
One run per root causeAsk about one run when you want a root cause; use analytics questions for patterns.
Expect one questionForge may ask one clarifying question if your request could mean several runs or AOPs.
Read-onlyForge never creates or changes anything while debugging. To change something, ask for the fix.
Your instance onlyForge reads runs of the instance you have open, within your permissions.

Related pages


Did this page help you?