Inspiration

Working with complex databases and custom analytics often requires building specialized ETL pipelines from scratch. We were inspired to create a universal solution that could automatically understand any database schema and provide intelligent, AI-driven analysis without requiring domain-specific configuration or hardcoded logic.

What it does

Sailo is a universal AI-driven ETL pipeline that automatically adapts to any SQL database schema and provides intelligent data analysis through natural language queries. Users can:

  • Connect to any database table with automatic schema detection
  • Ask natural language questions like "find high volatility stocks" or "identify unusual trading patterns"
  • Get AI-powered insights with anomaly detection and actionable recommendations
  • Receive real-time alerts via Slack integration when anomalies are detected
  • Monitor data continuously with customizable analysis schedules

The system features a beautiful, minimal dashboard with full dark/light mode support and works across any domain - from financial data to e-commerce metrics to IoT sensor readings.

How we built it

Frontend:

  • React + TypeScript + Vite for a modern, responsive UI
  • Supabase integration for database connectivity
  • Custom dark mode implementation with CSS variables
  • Clean, minimal design focused on usability

Backend:

  • Modal serverless platform for scalable deployment
  • Phi-4 LLM integration for intelligent data analysis
  • FastAPI endpoints for seamless frontend communication
  • Universal analysis engine that adapts to any database schema

AI Pipeline:

  • Dynamic prompt engineering based on user queries and data structure
  • Randomized analysis with unique seeding for varied, query-specific results
  • Schema-agnostic anomaly detection that works across different data types
  • JSON-structured responses with business impact assessments

Challenges we ran into

  1. Schema Agnosticism: Creating a truly universal system that works with any database structure without hardcoded assumptions
  2. LLM Consistency: Ensuring different user queries produce meaningfully different results rather than generic responses
  3. Deployment Complexity: Managing Modal serverless deployments with proper dependency management
  4. UI/UX Balance: Creating a minimal, beautiful interface while preserving all essential functionality

Accomplishments that we're proud of

  • True Universality: Works with any SQL database schema without configuration
  • Intelligent Differentiation: AI provides genuinely different insights for different queries (e.g., "high volatility" vs "low volatility" stocks)
  • Beautiful UX: Polished dark/light mode interface with smooth transitions
  • Production Ready: Fully functional with Slack integration, error handling, and scalable architecture
  • Schema Agnostic: Dynamically adapts to any table structure and column types

What we learned

  • The importance of proper prompt engineering for consistent AI behavior
  • How to build truly schema-agnostic systems that adapt to any data structure
  • Balancing AI creativity (randomization) with consistency and reliability
  • Creating beautiful, accessible UIs that work across different themes and devices
  • Serverless deployment strategies for AI-powered applications

What's next for Sailo

  • Multi-database Support: Extend beyond SQL to NoSQL databases (MongoDB, Elasticsearch)
  • Advanced Visualizations: Interactive charts and graphs for analysis results
  • Collaborative Features: Team sharing and collaborative analysis workflows
  • Custom Model Training: Fine-tune models on specific domain data for better insights
  • Enterprise Integration: SSO, audit logs, and enterprise-grade security features
  • Real-time Streaming: Live data analysis for streaming data sources

Built With

Share this project:

Updates