Back to Systems
Next.jsFastAPIReact FlowCeleryPostgreSQL

AI Automation Studio

Visual Node-Based Orchestration

Visual node-based orchestration platform for building and deploying intelligent agent workflows without writing complex code.

1,200+Active Workflows
150+Nodes Available
DynamicExecution Time

The Problem

Non-technical operators needed to chain complex AI tasks (OCR -> LLM Parsing -> DB Insert), but existing tools lacked deep AI integration and required Python scripts.

Architecture

Built a React Flow frontend for visual drag-and-drop orchestration. The backend uses a Directed Acyclic Graph (DAG) executor built in Python with Celery for distributed task execution.

Decision Log

"Separated the frontend canvas state from the backend execution state. Next.js handles the canvas and UI, while a dedicated Python/FastAPI backend handles the heavy AI inference workloads."

Performance

Optimization

Implemented aggressive state debouncing on the frontend canvas to maintain 60fps even with 500+ nodes. Task execution is chunked and parallelized where the DAG allows.

Scaling Logic

Celery workers can be dynamically spun up based on queue length. Heavy AI nodes are routed to dedicated GPU-backed worker queues.

Challenges

Ensuring fault tolerance in long-running workflows. Implemented robust state-checkpoints so failed workflows can resume from the exact node of failure without re-running expensive prior steps.

Final Impact

Empowered marketing and operations teams to automate 10,000+ hours of manual data entry and processing monthly.