A run's files on disk#
Every run writes its results and its records to files in your study folder. This page walks through that folder: where the answer is, where the agents work, and which records show what each agent did. When a result surprises you, these files let you check it yourself instead of trusting the summary.
Terms used on this page#
- Node: one agent in the run's graph, such as
strategizer,implementerorcritic. Its name appears in file names. - Delegation: a task one node gives another. Each has an id:
D001,D002, and so on. - Tenure: a period during which one node holds the job, the
responsibility for finishing the run. Tenures have ids such as
X002. - Wake: a short turn in which a node reacts to an event, such as the
critic ruling on a closed hypothesis. Wakes have ids such as
W001. - Store: the run's record of every evaluation, in
experiment_data/.
The study folder#
Before a run, your study folder holds what you wrote. After a run it also holds the agents' work and one folder per run:
my_study/
PROBLEM_STATEMENT.md what you asked (you write this)
config.yaml model, budgets, evaluator (you write this)
pipeline.ipynb the deliverable: the write-up and the code that reproduces it
workspace/ files the agents write for the study, such as evaluator.py
runs/
20261026T001440/ one folder per run, named by its start time (UTC)
pipeline.ipynb belongs to the latest run. When a new run starts, adda
renames the previous notebook to pipeline_<previous run id>.ipynb, so you
never lose one.
Runs build on earlier runs: a new run can read what earlier runs left in
workspace/ and runs/. To start from nothing, move workspace/ and runs/
out of the study folder yourself.
Inside one run#
Each run folder has two parts. experiment_data/ is the store, and debug/
holds the records. This tree comes from a real run of the example study
(minimize y = (x1-1)² + (x2+2)²), shortened:
runs/20261026T001440/
experiment_data/ every evaluation, with the delegation that ran it
debug/
run_status.json how the run ended: GATED or UNGATED, and why
run.log a readable log of the whole run
run_config.json the settings and the software versions
diagnostics.jsonl automatic checks and events, one per line
delegation_log.jsonl one row per delegation, tenure and wake
retrospectives.jsonl each node's own notes after the run closed
critic_reviews/
call_001.md review round 1: the critic sent the work back
call_002.md review round 2
call_003.md review round 3: the critic accepted
delegations/
D002/run_lhs.py a script the D002 delegation wrote and ran
X002/ W001/ work folders of a tenure and a wake
threads/
implementer.jsonl the implementer's conversation, one block per task
critic.jsonl
transcripts/ every tool call, turn by turn (only with debug on)
D002.jsonl
strategizer/turn_001.jsonl
telemetry/ tokens and cost of every model call
checkpoints.sqlite saved state, so a stopped run can be resumed
PROBLEM_STATEMENT_snapshot.md the statement exactly as this run read it
The records, in the order to read them#
Start with the outcome, then follow it back to the work:
run_status.json: the outcome.GATEDmeans the node that received the job for review accepted it and the notebook reproduces its result.terminationsays how the run ended, for exampledoneorbudget_wind_down. See Limits of a run for the values a limit produces.retrospectives.jsonl: one entry per node, written after the close. Each node reports contradictions it found in its own work, the decision it was least sure of, what was hard to use, and what blocked it. It is often the fastest way to learn why a run went the way it did.critic_reviews/call_NNN.md: one file per review round. A round either sends the work back with the critic's findings or accepts it.diagnostics.jsonl: events the run's own checks raised, one JSON object per line, such as a refused tool call, a budget notice, or a delegation killed for memory.delegation_log.jsonl: one row per delegation (D###), tenure (X###) and wake (W###): who gave the task to whom, when, and how it ended.delegations/D###/: the working folder of one delegation. It holds what that agent wrote there, such as scripts. Open it when an earlier record points you at that delegation.
Threads and transcripts#
Two kinds of files show what an agent read and did.
threads/<node>.jsonl keeps one conversation per node for the whole run.
Each line is one block: a delegation, a tenure, or a wake. A block has four
fields:
block: the id of the work, such asD002.base: how many earlier blocks the node's thread held when this work began.ts: when the block was saved.messages: the task first, then each tool call and its result, then the report. Each message has aroleand itscontent. All but the task also have akind:call,tool_resultorreport.
A later task for the same node starts from this thread, so the node remembers
its earlier work in the run. Threads are written by default; the
node_threads key in the Runtime reference turns them
off.
transcripts/ holds every turn as it streamed: each tool call with its
exact arguments, and the reasoning around it. Transcripts are large, and adda
writes them only when the debug key is on:
runtime:
debug: true
With debug off (the default), adda writes no transcripts. Every other
record on this page is still written.
Check your understanding#
- Your run ended
UNGATED. Which two files do you open first? - You want to see the exact arguments of a tool call that failed. Which key must be on before the run starts?
- Which file holds the implementer's memory of its earlier tasks?
To learn what each file means for the result, see Read a run's output.