1. Local
  2. Operator

The operator is the program behind ava dev. It reads your workflow files, runs them when asked, keeps every run, and serves a UI in the browser.

uv run ava dev            # operator + UI, opens the browser
uv run ava operator       # the same, without opening a browser
Rendering diagram…

​
Where it looks for workflows

In the folders named in pyproject.toml, or the paths you pass.

pyproject.toml
[tool.avalanche]
flow_targets = ["src"]
uv run ava dev src/invoices/flow.py

When you save a Python file, the operator reloads it. Point it at your workflow folders, not at a whole repository: it imports the Python files it finds.

​
The UI

The operator UI with a finished run

A workflow, its runs, and the steps of the selected run.

AreaWhat you do there
Explorer (left)Pick a workflow. Integrations is at the bottom.
GraphSee the steps. Click one to inspect it. The inputs dot opens the input form.
Run controlsRun, Cancel run, and the Run on schedule switch
Runs panelEvery run of the workflow, with its status. Select one to see it on the graph.
Inspector (right)A step’s code, definition, inputs and outputs, trace and evaluations
Logs and Timeline (bottom)What a selected run printed, and what happened in order

​
What it keeps

Everything is in .avalanche/operator/ in the folder where you started it: runs, step inputs and outputs, logs, traces, results and schedules.

After a restart
KeptRun history, logs, traces, results, schedules, connected accounts
ContinuesState machines that were waiting, and runs waiting on another workflow
LostA run that was in the middle of a step: it is marked failed. Rerun it.

​
The command line

The UI and the ava command do the same things.

DoCommand
Start a runava run process_invoice --input '{...}'
List runsava run list
Get a resultava result RUN_ID --json
Cancelava run cancel RUN_ID
List workflowsava flow list

Every command is in the ava CLI reference.