- Start here
- How it works
Start here
How it works
The whole of Avalanche in one diagram.
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
| Word | Meaning |
|---|---|
| Workflow | A graph of steps, declared in one Python function. |
| Step | One unit of work: Python, agent or classifier. |
| Run | One execution of a workflow with one input. Each step’s input, output and status are kept. |
| Operator | The program that finds your workflows, runs them and serves the UI. |
| Avalanche Cloud | The hosted service that does the same, with deployments and team access. |
What happens in a run
Rendering diagram…
- The input is checked against the workflow’s input model.
- Each step starts when the steps it depends on have finished. Independent steps run at the same time.
- A step that fails is retried. A step that still fails stops the run; the finished steps keep their outputs.
- The last step’s return value is the run’s result.
Open source and Avalanche Cloud
| Open source | Avalanche Cloud | |
|---|---|---|
| What it is | The avalanche-ai Python package, MIT licensed | A hosted service |
| Runs on | Your laptop or your server | Managed for you |
| You get | The SDK, the operator, its UI and the ava command | The same workflows, plus deployments, secrets and team access |
The workflow code is the same in both.
