AWEL Flow
Build AI workflows visually using the AWEL Flow editor â a drag-and-drop interface for composing LLM pipelines without writing code.
What is AWEL Flow?â
AWEL Flow is the visual editor for AWEL (Agentic Workflow Expression Language). It lets you:
- Drag and drop operators onto a canvas
- Connect them into a DAG (Directed Acyclic Graph)
- Configure each operator's parameters
- Test and deploy workflows
AWEL workflows can be built both in Python code and visually in the Flow editor. The Flow editor generates the same underlying DAG structure.
Getting startedâ
Step 1 â Open the Flow editorâ
- Navigate to Flow in the sidebar
- Click Create to start a new workflow
Step 2 â Add operatorsâ
The left panel shows available operators organized by category:
| Category | Examples |
|---|---|
| Trigger | HTTP Trigger, Schedule Trigger |
| LLM | LLM Operator, Streaming LLM |
| RAG | Knowledge Retriever, Reranker |
| Agent | Agent Operator, Planning |
| Data | Database Query, File Reader |
| Transform | Text Splitter, JSON Parser |
| Output | Response, Stream Response |
Drag an operator from the palette onto the canvas.
Step 3 â Connect operatorsâ
Click and drag from an operator's output port to another operator's input port to create a connection. Data flows along these connections.
Step 4 â Configure operatorsâ
Click on any operator to open its configuration panel. Set parameters like:
- Model name
- Prompt templates
- Database connections
- Chunk sizes
- Custom logic
Step 5 â Test and saveâ
- Click Run to test your workflow with sample input
- Review the output at each stage
- Click Save to persist the workflow
Example: Simple RAG workflowâ
A basic RAG workflow connects these operators:
- HTTP Trigger â Receives the user's question
- Knowledge Retriever â Searches the knowledge base for relevant chunks
- Prompt Builder â Combines the question with retrieved context
- LLM Operator â Generates the answer
- Stream Response â Returns the streaming response
Using flows in appsâ
Created workflows can be used as the backend for applications:
- Save your workflow in the Flow editor
- Go to Apps â Create
- Select the saved flow as the app's execution engine
- The app inherits the flow's inputs and outputs
Managing flowsâ
| Action | How |
|---|---|
| Edit | Open a flow and modify operators/connections |
| Duplicate | Create a copy of an existing flow |
| Export | Download the flow definition as JSON |
| Import | Upload a flow definition JSON file |
| Delete | Remove a flow from the list |
Installing community operatorsâ
Community operators from the dbgpts repository automatically appear in the Flow editor after installation:
dbgpts install <operator-package>
Next stepsâ
| Topic | Link |
|---|---|
| AWEL concepts | AWEL |
| AWEL Python tutorial | AWEL Tutorial |
| AWEL cookbook | AWEL Cookbook |
| Community operators | dbgpts |