1. Get started
  2. Quickstart

You need Python 3.13, uv and git. The starter workflow has one agent step, so you also need a model key; it uses OpenAI by default.

1

Create a project

mkdir my-workflows && cd my-workflows
uvx avalanche-ai@latest init

This creates a ready project: a starter workflow, the Avalanche skill for your coding agent, and the dependencies.

2

Start Avalanche

export OPENAI_API_KEY=...
uv run ava dev

The operator starts and the UI opens at http://127.0.0.1:7435.

3

Run the workflow

Select start_flow, then Run. Watch each step turn green, and click a step to see its input, its output and, for the agent step, its trace.

​
What you just ran

src/start_flow/flow.py
import avalanche as ava


@ava.source
def create_topic() -> str:
    return "hello world"


@ava.step
def prepare_request(topic: str) -> str:
    return f"Write a greeting about {topic}."


@ava.agent_step(
    ava.Signature("request: str -> greeting: str", "Answer the request with one friendly sentence."),
    runtime=ava.runtimes.PredictRLM(lm="openai/gpt-5.5", sub_lm="openai/gpt-5.5", max_iterations=5),
)
async def write_greeting(request: str, *, agent: ava.Agent) -> str:
    return (await agent(request=request)).outputs.greeting


@ava.dest
def print_greeting(greeting: str) -> str:
    print(greeting)
    return greeting


@ava.workflow
def start_flow():
    return create_topic() >> prepare_request() >> write_greeting() >> print_greeting()
Rendering diagram…

Two Python steps, one agent step, one destination, connected in a workflow.

​
What is in the project

PathWhat it is
src/start_flow/flow.pyThe starter workflow
pyproject.tomlDependencies, and [tool.avalanche] flow_targets = ["src"]: where Avalanche looks for workflows
.agent/skills/avalanche/The skill that teaches your coding agent to write workflows
AGENTS.md, README.mdNotes for your agent and for you

​
Add Avalanche to an existing project

uv add 'avalanche-ai[agents]'
uv run ava dev path/to/flows
ExtraAdds
agentsAgent steps on PredictRLM
claudeThe ClaudeAgent runtime
openaiThe OpenAIAgent runtime and the OpenAI classifier
typesafeClassifier steps on TypeSafe
geminiThe Gemini classifier
integrationsMCP servers and browser sign-in for integrations

​
Next