AI & Automation
2022 — Present Featured Cadences.app
AI-Powered Project Management Platform
764K+ line edge-native SaaS platform with 293 API endpoints, 220 React components, and a Smart AI Router across 10+ providers. Combines a 28-type visual workflow engine, dual-architecture WhatsApp, real-time voice agents (Twilio ↔ Durable Object ↔ ElevenLabs), IoT hub, and 8 deployable storefronts — all on Cloudflare edge.
Year
2022 — Present
Role
Founder & Lead Architect
Tech Stack
9 technologies
The Challenge
Businesses need AI automation that works in production — not demos.
- No platform unifies workflow orchestration, voice agents, WhatsApp, IoT, and CMS in a single tool
- Multi-provider AI means managing cost, fallback, rate limits, and model health across 10+ APIs
- Edge computing requires rethinking state management — no central server, no traditional databases
The Approach
Edge-native SaaS built from scratch on Cloudflare's full stack:
- Cloudflare Workers — 293 serverless API endpoints across 90+ route groups
- D1 — 106 migrations, ~194 database tables covering billing, orgs, AI, medical, IoT, and more
- R2 — 3 storage buckets for medical imaging (DICOM), media, and storefronts
- Durable Objects — 2 real-time bridges: WorkflowExecutionSession (live WebSocket logs) and ElevenLabsMediaStream (Twilio ↔ AI voice bidirectional audio)
- Modular monolith: every feature — views, AI, workflows, DATA_TABLE, storefronts, IoT — shares the same auth, billing, and org layer
The Solution
A complete operations platform spanning 764K+ lines of code:
- Smart AI Router — cost-optimized routing across 10+ providers (Gemini, Claude, GPT-4o, DeepSeek, Groq, Cloudflare AI, xAI, HuggingFace + custom) with health-based failover and per-request cost tracking
- 28-type Workflow Engine — visual canvas combining AI agents, phone calls, WhatsApp, FHIR medical resources, SQL queries, ML predictions, web scraping, email, and sub-workflow composition
- Dual WhatsApp — Cloud API for instant messaging + local Playwright agent with human-like behavior, anti-detection, and AI-powered SmartPipelineService for autonomous responses
- Voice Agents — Twilio ↔ Durable Object ↔ ElevenLabs real-time audio bridge for autonomous phone calls with LLM-driven conversation
- DATA_TABLE — schema-driven dynamic tables with 9 field types, cross-table references, multi-step form builders, public embeddable forms, and AI-generated schemas
- Autonomous Agents — decision engine with confidence thresholds, planning, goal tracking, cron scheduling, and inter-agent communication
- 8 Storefronts — deployable templates (medical CIMAD, restaurant, travel, festival, Codex, Nexus, imaging clinic, Void game) with CMS, CRM, and AI backoffice
Key Features
- Smart AI Router: 10+ providers with cost-optimized routing, health-based failover
- Visual Workflow Engine: 28 node types — AI, voice, WhatsApp, FHIR, ML, scraping
- DATA_TABLE: schema-driven tables, cross-references, form builders, AI schemas
- Voice Agents: autonomous calls via Twilio ↔ Durable Object ↔ ElevenLabs bridge
- Dual WhatsApp: Cloud API + Playwright local agent with SmartPipelineService
- Autonomous Agents: planning engine, goal tracking, confidence-based decisions
- IoT Hub: MQTT, Serial, HTTP with automations, scenes, cameras
- 8 Storefronts: medical, restaurant, travel, festival, Codex, Nexus, imaging, game
Key Results
- 764K+ lines of code — 220 React components, 293 API endpoints, 106 DB migrations
- 10+ AI providers with Smart Router: cost optimization, health failover, per-request logging
- 28-type visual workflow engine with AI agents, voice, WhatsApp, FHIR, ML, and sub-workflows
- Dual WhatsApp: Cloud API + local Playwright agent with AI SmartPipeline
- Real-time voice: Twilio ↔ Durable Object ↔ ElevenLabs bidirectional audio bridge
- Multi-org with 4-tier billing (Free → Business), Google OAuth, API keys
- IoT Hub: MQTT + Serial + HTTP with automations, scenes, and camera integration
- 8 deployable storefront templates with CMS/CRM/AI backoffice
Tech Stack
React 18 Cloudflare Workers D1 R2 Durable Objects Gemini 2.5 ElevenLabs Twilio MQTT
$ cat project.json
{
"name": "Cadences.app",
"status": "production",
"stack": [9],
"url": "cadences.app",
"results": [8]
}