OmniCaravan OS
Global e-commerce, WMS, and B2AI platform.
A vertically integrated operating system for an AI-first retail operation — orders, inventory, payments, marketing, and external AI agents on a single Next.js + Supabase spine. The capability surface below is mapped across the architecture documents in docs/.
Capability surface
Vision & Goals
AI-first transformation of a replica manufacturer into a global, vertically integrated operation across 60 countries.
Business Architecture
Six revenue pillars: factory-direct WMS, multi-storefront B2C, B2B wholesale, dropshipping APIs, affiliate networks, marketplace syndication.
Tech Stack & Data
Vercel edge compute, Supabase Postgres, Redis inventory locks, BigQuery analytics, and edge-cached ISR for sub-100 ms responses.
Multi-Domain Architecture
One codebase serves 60+ storefronts with JSON-driven UI, edge compliance gates, and per-region modifications without redeploys.
Payments & Settlements
Smart multi-provider routing (Stripe, Adyen, PayU), multi-currency dynamic pricing, DDP imports, and Stripe Connect partner payouts.
API-First Architecture
Headless platform exposing every capability via scoped API keys, OAuth, and automated B2B dropshipping flows.
AI & Guardrails
AIPE automates pricing and marketing campaigns inside hard financial limits and NLP sanitizers to prevent policy violations.
ChatOps Management
Slack and Discord interfaces for approvals, orchestration, and competitor monitoring built into the platform.
Global Marketplace
Unified inventory across Amazon, Temu, eBay with dynamic allocation rules and partner account delegation for zero-touch fulfilment.
B2AI Architecture
External AI agents access real-time inventory and shipping quotes via MCP servers — storefronts as AI-native data sources.
Security Architecture
Supabase Auth + MFA, Postgres RLS, AES-256 at rest, TLS 1.3 in transit, secret management, and AI guardrails.
Privacy & Compliance
GDPR right-to-erasure, UKARA / 18+ gates, German F-mark automation, DPAs with AI providers, 7-year financial audit trails.
Non-Functional Requirements
99.9% uptime SLA, sub-50 ms TTFB, <200 ms API latency, 10× spike capacity, 100M+ BigQuery events per month.
WMS Integration
One order lifecycle across B2C, B2B, marketplace and MCP channels — unified state machine from pending to delivered.
Data Model
Canonical Store → Product → SKU → Inventory → Order graph with row-level security isolation.
Authentication & Authorization
Supabase Auth for customers, scoped API keys with CIDR restrictions for partners, MCP keys for external agents, 1-hour JWTs.
Integration Architecture
Event-driven webhooks linking order sources through payment, inventory, and fulfilment engines.
Process Mining
Chrome extension capturing DOM and network events plus self-service forms to auto-generate per-employee SOPs without screen recording.
Chat & AI Runtime
Vercel AI SDK and AI Gateway for provider-agnostic, streaming model calls and tool-loop agents.
Customer Management
Operator-facing CRM unifying customers, contacts, partners, tasks, and orders in a single surface.