1. Start here
  2. How it works

You write workflows in Python. Something runs them and records every run: the operator on your own machine or server, or Avalanche Cloud.

Rendering diagram…

​
The words

WordMeaning
WorkflowA graph of steps, declared in one Python function.
StepOne unit of work: Python, agent or classifier.
RunOne execution of a workflow with one input. Each step’s input, output and status are kept.
OperatorThe program that finds your workflows, runs them and serves the UI.
Avalanche CloudThe hosted service that does the same, with deployments and team access.

​
What happens in a run

Rendering diagram…
  1. The input is checked against the workflow’s input model.
  2. Each step starts when the steps it depends on have finished. Independent steps run at the same time.
  3. A step that fails is retried. A step that still fails stops the run; the finished steps keep their outputs.
  4. The last step’s return value is the run’s result.

​
Open source and Avalanche Cloud

Open sourceAvalanche Cloud
What it isThe avalanche-ai Python package, MIT licensedA hosted service
Runs onYour laptop or your serverManaged for you
You getThe SDK, the operator, its UI and the ava commandThe same workflows, plus deployments, secrets and team access

The workflow code is the same in both.