Frontend as product shell
Next.js is used as the polished product shell for the builder, documentation, onboarding, and future authenticated views.
Architecture
Agent Zero separates the presentation layer from the orchestration layer so the builder can grow without turning the frontend into runtime infrastructure.
This split is intentional: a fast, expressive frontend and a Python backend built for workflow execution.
Next.js is used as the polished product shell for the builder, documentation, onboarding, and future authenticated views.
FastAPI exposes the content, contact, and future workflow runtime endpoints that the UI can call directly.
The next product step is a real builder surface: draggable nodes, saved workflows, execution history, and authenticated workspaces tied to backend runtime APIs.