How flowiseai/flowise works
Flowise is a visual AI-agent and LLM application builder. Users author flows in the browser, configure nodes and connections, then use the resulting agents and integrations; the repository also includes execution observation and enterprise account/workspace capabilities. The README documents the product modules, while sampled source confirms Agentflow state/validation and UI input composition. Several runtime handoffs and unsampled feature internals are therefore omitted or shown only as unverified dashed links.
Main entry points: canvas Flow canvas · engine Query engines · App.jsx Web UI · nodes Model and tool nodes
Components 24
Flow Authoring
- Web UI
packages/ui/src/App.jsx - Flow canvas
packages/agentflow/src/features/canvas - Node editor
packages/agentflow/src/features/node-editor - Node palette
packages/agentflow/src/features/node-palette - Input controls
packages/agentflow/src/atoms/NodeInputHandler.tsx - Flow state
packages/agentflow/src/infrastructure/store/agentflowReducer.ts - Flow validation
packages/agentflow/src/core/validation - Flow generator
packages/agentflow/src/features/generator
Agent Runtime
- API server
packages/server/src/Interface.ts - Execution queues
packages/server/src/queue/QueueManager.ts - Agentflow nodes
packages/components/nodes/agentflow - Model and tool nodes
packages/components/nodes - Query engines
packages/components/nodes/engine - Evaluation tracing
packages/components/evaluation/EvaluationRunTracerLlama.ts
Execution Observation
- Execution viewer
packages/observe/src/features/executions - Observation API client
packages/observe/src/infrastructure/api/client.ts
Server Platform
- Identity manager
packages/server/src/IdentityManager.ts - Subscription and quotas
packages/server/src/StripeManager.ts - Usage cache
packages/server/src/UsageCacheManager.ts
Enterprise Access
- Workspace management
packages/server/src/enterprise/controllers/workspace.controller.ts - Organization roles
packages/server/src/enterprise/database/entities/role.entity.ts
Other components
- Flow builder
- AI model services
- Data and tool services
Connections 24
- Flow builder → Web UI: opens
- Web UI → Flow canvas: authors flows
- Flow canvas → Node editor: edits nodes
- Flow canvas → Node palette: adds nodes
- Node editor → Input controls: renders controls
- Input controls → Flow state: updates state
- Flow canvas → Flow state: handles flow state
- Flow state → Flow validation: validates via
- Flow builder → Flow generator: requests flow
- Web UI → API server: uses API
- API server → Execution queues: dispatches work
packages/server/src/queue/QueueManager.ts - Execution queues → Agentflow nodes: runs flows
- Agentflow nodes → Model and tool nodes: uses components
- Model and tool nodes → AI model services: calls models
- Model and tool nodes → Data and tool services: connects services
- Query engines → AI model services: queries models
- Query engines → Data and tool services: retrieves data
- Query engines → Evaluation tracing: injects evaluation metadata
packages/components/nodes/engine/SubQuestionQueryEngine/SubQuestionQueryEngine.ts - Flow builder → Execution viewer: inspects runs
- Execution viewer → Observation API client: loads execution data
- Identity manager → AI model services: verifies license
- Subscription and quotas → Usage cache: reads quotas
packages/server/src/StripeManager.ts - Workspace management → Organization roles: uses role records
packages/server/src/enterprise/controllers/workspace.controller.ts - Workspace management → Identity manager: checks plan features