Watching a run#
A run is autonomous, not silent. While it works you can see what every agent is doing, steer it, and answer the questions it asks. This page covers the live viewer and the ways the run reaches you.
Neither is required. A run with nobody watching behaves the same, and a question nobody answers times out, after which the agent proceeds on its own judgment.
Start the viewer#
The viewer is a web page that reads a study's runs/ directory. It ships as
an optional extra.
uv pip install "adda-f3dasm[viewer] @ git+https://github.com/bessagroup/adda.git"
python -m adda.viewer my_study
Open the http://…/session?token=… URL it prints. Anyone who can reach the
port can read the runs. Only a browser that opened that URL once (it sets a
cookie) can write: answer a question, send a note, start or stop a run, commit
a study edit. Another web page cannot write on your behalf. Without the cookie
the page is read-only: every control that writes is grayed out, and hovering
over it says why.
To browse every study in one folder, start it with --studies-root:
python -m adda.viewer --studies-root studies/
Each study is served at /s/<name>/ui, and a Study menu at the top of
the run list switches between them. It shows each study's newest run and its status.
One session URL covers every study.
The viewer binds the loopback interface only, because it can start and stop
runs. To serve it on a network, pass --allow-network. Do this only on a
network you trust.
python -m adda.viewer my_study --host 0.0.0.0 --port 9000 --allow-network
From the command line, the viewer is a separate process from the run, so
start it in its own terminal. It reads each run's debug/ directory. It works the same on a
finished run, without the streaming.
If you already have the AgenticRun object, serve it from Python:
run = AgenticRun(study_dir="my_study")
run.serve_viewer() # blocking; run it in a separate process from execute()
serve_viewer() passes the viewer this run's live Graph object. The command
line has no in-memory graph, so it recovers one from the study's own
build_graph() and falls back to the default graph.
From a notebook#
In a notebook, start the viewer in the background so the kernel stays free:
viewer = run.serve_viewer(background=True) # returns at once; click the link it shows
run.execute() # the viewer follows the run live
viewer.stop() # when you are done
The viewer keeps serving after you close the browser tab, until you call
viewer.stop() or the kernel exits. Calling serve_viewer(background=True)
again on the same port returns the same viewer. Pass open_browser=True to
open the page for you. To view a study without an AgenticRun, use
adda.viewer.start("my_study").
The page#
The left rail lists the study's runs, newest first, each with its status: running, gated, ungated, failed, stopped, halted, crashed, or unapproved. A closed run that did not pass the critic shows as "Closed · ungated." A dot on a run marks a question that waits for you.
The header shows the vitals of the selected run:
- Wall clock against the run's wall-clock budget, as the run recorded it at start, so a budget passed in Python shows too. The bar spans the budget, with marks at 75% (first budget notice), 90% (no new delegations) and 100% (the wind-down begins).
- Cost, summed over metered calls. Each call counts with the cost the SDK reported, or else its list-price estimate. When the total includes an estimate it starts with the sign ≈, and the tooltip says for how many calls. A call with neither is counted separately ("+3 calls without cost data"), because an unknown price is not a free call.
- Delegations, done, and running. While a run is running, it names the delegation it waits on and when that delegation last wrote anything.
- Best row, the best counted row by the study's declared objective. It is not the run's headline claim. Click it to open the row. Without a declared objective the field shows a dash.
Below the header, seven views share one pane. Selecting a delegation, hypothesis or data row opens an inspector beside the pane. Esc closes it. The address bar follows your selection, so you can share a link to a view or an item.

On a narrow screen the run list folds away and the header stacks.
Timeline#
The timeline draws the run from top to bottom.
- Each card is one delegation, on a column for its worker slot. The number
of columns is the run's real peak concurrency. A card shows the node, the
duration and, when it is tall enough, the task, a
falsifychip for a falsification attempt, the hypotheses it carries, and its evaluation count. - A hatched strip beside a card is the time the delegation waited for a free slot.
- A gate mark is an acceptance review of the deliverable from a run recorded before review by handoff, with its verdict. A delegation to the critic for feedback appears as a card.
- A band replaces any stretch of 30 minutes or more with no delegation running.
- A tenure card (
X###) is one node's hold of the job, from the moment the job was handed to it until it handed the job on or closed the run. - A wake card (
W###) is one wake of a subscriber: a node that an event of the run woke, such as a closed hypothesis. - Follow live keeps the view at the newest card while the run is open.
When a run has more than one kind of row, buttons above the timeline show or hide delegations, tenures, and wakes. Your choice persists in your browser.
The inspector for a delegation shows its cost, output tokens and evaluations,
the task, the report it returned, the hypotheses it carries, the critic's
review and the files it changed. For a tenure, the task is the handoff message
that passed the job in, and the review is the one the closing node wrote in
that tenure, with its outcome (handed back or accepted) from the run's
close record.

Tenures and delegations on one Timeline. The inspector shows a tenure's handoff message.

A selected delegation opens its inspector beside the Timeline.
Graph#
The view draws the run's graph: one box per node, and one arrow from each node to each node it may delegate to. The entry node is marked "talks to you." A box shows how many delegations that node ran. The arrows are permissions, not the order in which the nodes ran.
A dashed arrow is a handoff edge: its source may pass the job to its target
with Handoff. A solid arrow is a delegation edge. The box with the thick
border is the node that holds the job, or the node that held it last when the
run is closed.

Dashed arrows are handoff edges. The thick border marks the job's holder.
The inspector for a node lists its delegations, tenures, and wakes. When the
node has a thread (debug/threads/<node>.jsonl), a Thread section lists
its blocks in the order they finished. Expand a block to read its messages.

A node's thread: the blocks it remembers.

The Graph view: who may delegate to whom, and how often each node ran.
Hypotheses#
The view lists each hypothesis the strategizer stated, with its verdict, its belief bar and the delegations that tested it. Filter by all, open, closed or retracted. A retraction is a verdict the strategizer later withdrew.
The inspector shows the statement, the falsification criterion, the
prediction and the status history. Each entry in the history carries its
belief, its evidence and every note a node attached to the verdict with
HypothesisAnnotate, each labeled with its author.
Data#
The view shows the oracle's store: every real evaluation, as it is recorded.
- Best so far plots the best counted value against the evaluation number or against elapsed time. You choose the x axis. The y axis is linear. When every counted value is positive and they span two or more decades, a log option appears, and it is the default when the best-so-far line spans two decades. A dot is filled when its row counts and hollow when it does not. Points outside the range are ticks at the edge. Hover a dot for its values and click it to open the row.
- The chart needs an
objective:block inconfig.yaml. Without one, the view says so and draws nothing, because the viewer does not choose a direction for you. Reference lines and the display unit come from the same block. - Stage funnel counts the designs that survive each 0/1 output you list
under
funnel:. Without that list the view shows the 0/1 columns as independent flags. - Store is a sortable table of the rows. The column picker hides or shows columns, and the choice persists in your browser. When the run has several namespaces, buttons switch the store in focus.
The inspector for a row shows its objective value, why it does or does not count, the delegation that produced it, and its inputs, outputs, and notes.
Deliverable#
The view renders pipeline.ipynb as a reader sees it, with the headline
result first. Show code reveals the cells' code. The row of buttons
downloads the notebook, the store tables (as a zip) or the whole debug/
folder (as a zip).
Re-execute runs the notebook again against a copy of the run's ledger and streams the log into a drawer, then marks the result passed or failed. After a re-execution, a switch shows either the stored notebook or the last re-execution. A run that never wrote a notebook shows nothing here, and that is itself a finding about the run.
Logs#
The view tails one file at a time, live while the run is open. Pause stops the tail. The sources are:
- Run log, the run's own log.
- Monitor, the science monitor's diagnostics.
- Watchdog, only for a run this viewer started.
- Tool calls, one line per tool call with its agent and outcome. It needs the run's transcripts, so it is empty on a run that recorded none.
- Delegation output, a menu of each delegation's stdout log.
- Wake messages, the final message of each subscriber wake in full, with the events that woke it and the hypotheses they concern. It appears only in a run with wakes.

The Logs view tails one source at a time.
Study#
The view opens on the rendered problem statement. Edit opens an editor for the study's two input files.
The editor edits the study's two input files, PROBLEM_STATEMENT.md and
config.yaml, in a text buffer. It shows a diff against the committed file,
and for config.yaml it validates the file as you type. A run sees only what
is committed, so Commit writes the buffer to git with the message you
give, and it commits that one file and nothing else. The history below lists
each commit that touched the file, and you can open one for its diff.
The viewer refuses a commit when config.yaml has validation errors, when the
message is empty, when the committed file changed since you opened the editor,
or when other files in the study have uncommitted changes.
Start, stop, and steer a run#
All of these need the /session?token=… cookie.
Start a run#
For a closed run, Re-run study opens the start sheet. The sheet shows the
model and the budget, read from the committed config.yaml, and warns when
either file has edits that are not committed. It then runs the pre-flight
checks. Each check is pass, blocked or your call: a blocked check stops
the start, and a check that needs a judgment, such as whether the problem
statement states the success criteria, is left to you. Start run launches
the run under the watchdog, in the same way as python -m adda.watchdog.
A study with a launch: block in config.yaml starts through its own
launcher instead, and the sheet shows the launcher's output and the captured
job id.
Stop a run#
Stop opens a popover. Stop gracefully asks the run to finish its current step, write its retrospectives, and close. Kill now ends the run's processes at once, writes no retrospectives, and leaves the run unclosed. The Kill now button is offered only for a run this viewer started.
Send a note#
Note to run queues a note: a correction, a constraint you forgot to write down, a note such as "stop chasing that branch." By default it goes to the entry node. You can address it to one running delegation instead. The agent reads the note on its next tool call, marked as coming from the operator rather than from a tool. Notes are one way and asynchronous: you cannot know when the agent reads one, only that it does read it, and the note lands in the run record.
Answer a question#
A node that holds FollowUp can ask the operator one clarifying question per
delegation. The shipped strategizer holds it; a plain Agent entry must list
"FollowUp" in its tools. When it does, the run blocks until it gets an answer or
times out. The timeout is runtime: followup_wait_s, ten minutes by default.
After the timeout the agent proceeds with its best judgment, and an unanswered
question is not a failure.
A banner at the top of the viewer shows the question and who asked it. When you send an answer, the viewer holds it for 10 seconds with an Undo button, then posts it. You can answer from either place, whichever gets there first:
- the terminal, if the run is attached to a TTY: type the answer;
- the viewer, through the banner.
Both write to the same on-disk channel in the run's debug/ directory, so what
was asked, what was answered and what went unanswered all end up in the run
record.
A headless run is never deaf, because the viewer still reaches it. With no TTY
and no viewer, every FollowUp waits out its timeout. To turn the prompting off
for an unattended run, set interactive=False on AgenticRun.
The viewer also sends a heartbeat that says a human is looking, and the run uses it to tell a pending answer from a stall.
Other controls#
- New study creates a study next to this one, blank, or copied from an existing study, and commits it with the message you give. It prints the command that opens the new study in a viewer.
- Docs searches these user docs. Start from a suggested question, or type
your own; a result opens its section in place. The ? next to a header
tile opens the section that explains it. For developers keeps the
adda-docslookup of adda's code, and Show source adds the source of the match. - Keys. Press ? for the list:
jandkmove through delegations,gthent,h,d,lorsswitches view, and Esc closes the inspector.
Agents talking to each other#
You see this in transcripts, so it helps to know. Agents also message each
other mid-flight with SendMessage. The strategizer uses it to steer a
delegation that is already running, instead of waiting for a wrong result and
re-delegating. A running delegation gets the message prefixed onto its next
tool result. An idle node's message waits until that node next checks in.
You do not drive this. It explains messages in a transcript that the agent never asked for.
Next#
- Understanding a run's output: what to read once a run finishes.
- Run integrity: the checks a run has to pass before it can close.