Documentation

Flow

Understand Flows — the core abstraction in NebFlow.

Flow

A Flow is a directed acyclic graph (DAG) that defines how multiple agents collaborate to accomplish a task.

Anatomy of a Flow

  • Nodes — Each node represents an Agent
  • Edges — Directed connections that define data flow between agents
  • Input — The entry point where data enters the flow
  • Output — The final result after all agents have processed

Creating a Flow

Flows are created in the visual DAG editor. You can:

  1. Start from scratch
  2. Use a template from the Flow Library
  3. Fork an existing flow

Flow Execution

When a flow runs:

  1. Input data is passed to the entry node(s)
  2. Each agent processes its input and produces output
  3. Output flows along edges to downstream agents
  4. Final results are collected at the output node(s)

Example

[Input: Topic]
    → [Researcher] → [Analyzer]
                          → [Writer] → [Output: Report]