Frontend Platform
The Next.js app owns the launch surface, tenant demos, onboarding and preview flows, dashboard helpers, production metadata, and frontend proxy routes.
Architecture Notes
Embeddable AI concierge infrastructure for small-business websites.
AI Front Desk is a full-stack product system for turning a business website into an embeddable AI front-desk experience. It combines a Next.js product frontend, standalone browser widget bundle, tenant demo flows, and a Flask backend for tenant onboarding, website ingestion, generated business profile review, widget runtime, usage limits, and billing integration.
The interesting work is the product system around the assistant: onboarding, ingestion, review, tenant configuration, runtime limits, and a widget that can live on another website.
Many small businesses have websites that answer only static questions. AI Front Desk explores a product architecture where a business can onboard from its website URL, generate a structured business profile from crawled content, review or publish that profile, and expose an embeddable AI widget to visitors. The hard part is not just chat with a website; it is the product surface around tenant setup, ingestion jobs, profile review, widget configuration, runtime limits, billing hooks, and a demo experience that makes the system understandable.
The Next.js app owns the launch surface, tenant demos, onboarding and preview flows, dashboard helpers, production metadata, and frontend proxy routes.
A workspace package builds /widget.js. Client sites install it with a script tag that carries tenant configuration such as client id, API URL, preview token, and position.
The Flask service owns tenant onboarding, crawl jobs, draft/live profile state, widget config and messages, usage logging, rate limits, Stripe billing, and Postgres persistence.
Tenant facts, official links, allowed domains, preview tokens, quotas, and widget limits remain server-owned instead of being trusted from client code.
System Flow
Visitor or owner submits a business website URL.Backend validates the URL and enqueues an ingestion or resync crawl job.A draft business profile is generated for review, editing, and publication.The published profile powers tenant-aware widget config and message runtime.Usage events, rate limits, billing status, and install checks keep the runtime bounded.AI Front Desk is framed as an AI product system, not a chatbot demo. Website content moves through ingestion, profile generation, review, and publication before it becomes runtime context. That intermediate profile gives the product a safer control point: trusted facts, official links, tone, quick actions, quotas, allowed origins, and widget behavior are represented as tenant configuration rather than left to free-form visitor chat.
The product intentionally avoids deep transactional workflows inside the assistant. The spec keeps bookings, payments, and broad CRM behavior outside the current runtime, routing visitors toward official systems instead. That keeps the architecture focused on onboarding, profile control, widget delivery, and bounded runtime behavior before expanding into higher-risk integrations.
AI Front Desk demonstrates full-stack product engineering around an AI-native SaaS concept. It shows I can think beyond a prompt box: onboarding, crawling, tenant state, embeddable distribution, billing, rate limits, usage controls, frontend demos, backend workers, and governance checks.