# AI agent flow tree with auto layout, named branch paths and add step buttons on every connector

> LLM agent editor: cards show the app called and a last test run strip with tokens or latency, a docked inspector edits each step, copy as JSON. React Flow, ReUI IconTile, Badge, shadcn Item, Select, AlertDialog. For agent builder, AI workflow.

A paid shadcn/ui block sold by the [@reui](https://reui.io/?utm_source=shadcn.exchange) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/reui/flow-2).

- Page, with a preview: https://shadcn.exchange/r/reui/flow-2
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/reui/flow-2-light-09d1c014379891fd.png
- Listed: 2026-10-13

## Buy and install

@reui sells this block, and its code is not on shadcn.exchange. Buy it from the registry, which installs it for those who have: https://shadcn.exchange/out/reui/flow-2

## Dependencies

- npm packages: `@dagrejs/dagre`, `@xyflow/react`, `cn`, `sonner`
- Registry items: `@reui/badge`, `@reui/icon-tile`, `alert-dialog`, `avatar`, `breadcrumb`, `button`, `card`, `dropdown-menu`, `field`, `input`, `item`, `kbd`, `popover`, `select`, `separator`, `sheet`, `toggle-group`, `tooltip`
