Members-Only
Recent Talks & Demos are for members only
You must be an AI Tinkerers active member to view these talks and demos.
Building a Multi-Tenant AI Chatbot with Dynamic Tool Calling
Learn how to design a multi‑tenant chatbot that dynamically generates API tool schemas, extracts parameters, chains calls, handles authentication, caching, and confidence‑based handoff.
We built Vantage, a multi-tenant SaaS chatbot platform that enables businesses to deploy AI-powered chat widgets with a powerful twist: each tenant can connect their own external APIs—like shipping, inventory, or CRM—and the AI automatically knows when and how to call them. The biggest technical challenge was creating a dynamic tool system that allows non-technical users to define API connections through a no-code UI, while the system generates tool schemas that AI Models understand. From there, the agent intelligently decides when to invoke these tools during conversations. The platform automatically manages authentication, parameter extraction, response parsing, caching, and error fallback, delivering a seamless developer and user experience. I’ll demonstrate how I architected the tool orchestration layer using the ApiExecutor, ParameterExtractor, and ResponseFormatter services; how the multi-step tool chaining system works for tasks like “check availability” followed by “book appointment”; and how real-time agent handoff is triggered based on AI confidence scoring. The system also supports WebSocket-based live conversations via Laravel Reverb and a multi-tenant architecture with complete data isolation. The tech stack includes Laravel 12, React 19, Inertia.js, xAI Grok API, MySQL, Redis, and WebSockets.
AI-powered support utilizes Grok, n8n webhooks, REST APIs, and smart agent handoff.
Compose Email
Loading recent emails...