A multi-tenant AI agent built for Trust Angle that automatically generates and presents database reports for each restaurant tenant — designed from the ground up to be reused as a general-purpose database representation and reporting tool.
The Jigsaw AI Reporting Agent is a conversational reporting tool embedded inside the Jigsaw platform — Trust Angle's large-scale food ordering and management system. Each restaurant (tenant) gets its own isolated agent context, allowing them to ask questions like "What are my top 5 most ordered products?" and receive instant bar charts, summaries, and data insights without touching the admin panel. The agent architecture was built to be decoupled from Jigsaw, making it reusable as a standalone reporting engine for any database-driven application.
A core design goal was reusability. Rather than hard-coding report types for restaurants, the agent uses a dynamic tool layer that maps natural language intent to parameterized database queries. Adding a new tenant type — or a completely different domain — requires only defining new tools, with zero changes to the core agent logic. This makes it a genuine general-purpose reporting infrastructure, not just a one-off feature.