Inspiration
Most B2B distributors, wholesalers, and mid-size industrial companies still run on disconnected CSV spreadsheets, static dashboards, and manual WhatsApp/email checks. Traditional BI dashboards only report yesterday's numbers—they never detect an incoming stockout, verify a supplier's real price, or protect finance teams from ambiguous payments. Meanwhile, generic AI chatbots hallucinate financial and inventory math.
We built RAOSYNC (Rao Sync) to bridge that gap: an Agentic Business Intelligence & Operations Platform that pairs 100% deterministic SQL/Python analytics with an 8-agent AI orchestrator, live Google web research, and human-in-the-loop governance—all inside a single, zero-login operational workspace.
What it does
- Zero-Friction Command Center: Opens directly into live KPIs, Revenue Velocity, Receivables Status, and verified operational signals.
- 8-Agent AI Intelligence Workspace: A Core Orchestrator delegates across 7 specialized agents (Internal Data, Web Research, Order, Inventory, Financial, Risk & Verification, and Action & Decision) powered by Groq (
openai/gpt-oss-120b) with automatic OpenRouter (openrouter/free) fallback. Every response delivers a direct executive answer first, styled Markdown tables, citations, and a live Agent Execution Trace. - Live Market & Supplier Research: Connects to Serper Google Search to retrieve real supplier domains, clickable URLs, and transparent verification labels (Independently corroborated)—never fabricating suppliers or prices.
- Validated Data Ingestion (CSV / XLSX / PDF): Auto-detects business schemas, validates every row before touching the database (e.g.,
24 valid / 1 rejectedonnexora_industrial_customers.csv), and immediately updates live city-level credit exposure and SKU revenue charts. - Human-in-the-Loop Governance: Detects deterministic stock shortages (e.g.,
ORD-2026-1042: 100 ordered vs. 75 available → 25-unit gap) and blocks auto-marking ambiguous payments paid (e.g.,PAY-2026-8801Rs. 80,000 matching two open invoices) until a human explicitly approves.
How we built it
- Frontend: React 18, TypeScript, Vite, Tailwind CSS, Recharts, Lucide Icons, React Router, and TanStack Query—crafted in an obsidian enterprise design system across 12 unified views.
- Backend: Python, FastAPI, Pydantic, Uvicorn, HTTPX, Pandas, OpenPyXL, PyMuPDF, and BeautifulSoup4.
- Database: Supabase PostgreSQL (
supabase-py+ SQL migrations) with automatic local SQLite fallback so the platform runs smoothly on 8 GB RAM without Docker. - AI & Search: Centralized Provider Manager (Groq primary + OpenRouter automatic fallback) and Serper Google Search API.
Challenges we ran into
- Preventing AI Math Hallucinations: We separated reasoning from arithmetic—every inventory shortage, receivable total, and margin is computed strictly in deterministic Python/SQL tools before the LLM synthesizes the briefing.
- Reliable Live Web Verification: Free web scraping often returns redirect URLs or blocked datacenter responses; integrating Serper Google Search with real URL decoding and multi-domain corroboration labels solved this cleanly.
- Cross-Platform Packaging: Making the stack run effortlessly on Windows (Python 3.13/3.14) without Docker or heavy C++ build tools required clean wheel-compatible dependencies.
Accomplishments that we're proud of
- Built a full-stack, 8-agent enterprise platform with 7/7 automated backend pytest tests passing.
- Achieved live end-to-end orchestration across real CSV ingestion, dynamic Recharts analytics, live Google Search, Groq/OpenRouter AI briefings, and human-in-the-loop approvals.
- Designed a cohesive, startup-grade obsidian UI with zero login friction.
What we learned
Combining deterministic database engineering with governed multi-agent AI is far more trustworthy than pure LLM workflows—especially in B2B finance and supply-chain operations where accuracy and auditability matter most.
What's next for RAOSYNC
- One-click PDF/Excel executive report exports and WhatsApp/Email alerts for stockouts & pending approvals.
- Role-based access control (Admin, Finance, Warehouse) and live two-way connectors for QuickBooks, Odoo, Tally, and Raast/Stripe.
- Vision/OCR extraction for scanned invoices and Urdu/mixed-language receipts, plus predictive demand forecasting.
Built With
- fastapi
- groq
- openrouter
- pandas
- postgresql
- pydantic
- python
- react
- recharts
- serper
- sqlite
- supabase
- tailwindcss
- typescript
- vite
