Skip to content

Building flows

The editor has a top bar, the component palette on the left, the canvas in the middle, and a panel on the right for the Playground. The run log opens under the canvas.

The palette lists every component the server has registered (GET /api/v1/all), grouped by category.

  • Search with the box at the top. Ctrl+K jumps to it.
  • Drag a component onto the canvas, double-click it, or use its Add to canvas button.

Components from external component workers appear in the palette like built-ins. See Custom components.

Each node shows an icon tile, its name and category, a status chip after a run, and actions.

  • Input fields are on the left with their ports. Outputs are on the right, each with a port and a type label.
  • Fields use editors that match their type: text, multiline text, secrets, numbers, booleans, dropdowns, lists, dictionaries, tables, files, sliders, code and prompts.
  • Advanced fields (the sliders icon) shows the fields marked as advanced.
  • The chevron collapses a node.
  • Badges mark components flagged as beta or legacy.
  • Secret and variable fields have a Use a global variable picker. The field then stores the variable’s name, not the value.

Drag from an output port to an input port to connect them. Wires take the colour of the source’s data type.

Port colour and shape carry the data type, so you can read them without colour too:

Shape Data
Circle Data (Message, Data, DataFrame and similar)
Square Language model
Diamond Tool
Dashed circle Memory

The editor validates each connection before it accepts it:

  • The types must match. Data and JSON count as the same type, and so do DataFrame and Table.
  • An input that takes one connection cannot take a second.
  • Cycles are allowed only through loop handles.

When an output can produce more than one type, a dropdown on the output picks which one the port carries.

An agent’s model, tools and memory ports move to its bottom edge when every connected source sits below the agent’s middle, or when nothing is connected yet. Otherwise they stay on the side, which keeps imported layouts readable. Port placement is computed from node positions when the canvas is drawn. It is never stored in the flow.

Components with a tool-mode option show a wrench button, Use as a tool. In tool mode, the component’s output becomes a Tool you can wire into an agent’s tools port. A component in tool mode is drawn as a compact pill (icon, name, status chip). Show settings expands it.

Tool mode is provided by the engine for any component with a tool_mode input, for example Calculator, Current Date, API Request, URL, Regex Extractor and Message History.

Add a note in the top bar puts a note on the canvas. Notes are stored in the flow as note nodes and survive export.

Action Shortcut
Undo Ctrl+Z
Redo Ctrl+Shift+Z or Ctrl+Y
Duplicate selection Ctrl+D
Delete selection Delete
Save now Ctrl+S
Run the flow Ctrl+Enter
Search components Ctrl+K
Multi-select Shift

The editor saves automatically. The save state appears next to the flow name. Saves carry the flow’s version token (If-Match). If someone else saved the flow in the meantime, the editor shows a conflict and offers Reload latest. If a save fails, Retry sends it again.

Flow settings in the top bar has tabs for:

  • Versions: snapshots with a description. You can activate an older one.
  • Memories: memory bases that capture this flow’s conversations into a knowledge base.
  • Traces: recorded runs and their spans.
  • A2A: exposing the flow as an Agent2Agent agent.
  • Share: the public playground link. See Playground and sessions.

The studio does not have these yet: tool-call chips, freezing components from the UI, chat attachments, a command palette, auto-layout, creating groups, and an icon rail. See Status and roadmap.

Weftra is open source under Apache-2.0. Made by Liceron.