Multi-tenant platform for designing AI agents and assembling them into reviewable workflow pipelines. Workflows are graph-based — with nodes for agent interaction, human review, API calls, routing, and safety gates — and execute through a server-side engine that tracks per-instance field state, vote outcomes, and per-tenant audit trails. Ships with tenant branding, RBAC, scheduled runs, webhooks, and a Prompt Library backed by an AI assistant.
// features
- Visual workflow builder with React Flow node graph
- Per-tenant subdomains, theming, RBAC, and rate limits
- Workflow engine with vote-based human and agent reviews
- Scheduled runs, webhook subscriptions, and audit events
- Prompt Library with locking and AI-assisted drafting
- Billing module with usage records, price lists, and invoices
- OAuth / OIDC provider config plus local auth with password policy
// interesting details
- Workflow engine classifies nodes into auto-close vs user-task sets with conditional types (safety, information, routing) and caps loop iterations at 5.
- Swagger docs are gated in production by verifying a superuser JWT before the docs middleware runs.
- Per-tenant security knobs (max upload MB, RPM rate limit, body size, encryption salt) live on the Tenant row and are enforced by a global TenantLimitsInterceptor.
- Tenant-scoped audit compliance modes (Standard, SOC2, GDPR) tune what the AuditInterceptor records.
// tech stack
TypeScript
NestJS 11
Next.js 16 (React 19)
Prisma 7 + PostgreSQL
Passport (JWT, local, custom)
@xyflow/react
Zustand
Tailwind 4
Helmet, class-validator
PM2 + Nginx
Want to collaborate on qubicflow?
The repo is private — drop a note and tell us what brought you here.