Categories
Self-Hosted AI Agents Dashboard Data Visualization Business Intelligence Reporting Text-to-SQL ClaudeDeveloper links
Pulse AI Reporting Assistant
Eight KPI tiles show what moved last month; Pulse explains why, answering plain-English questions with a chart, a result table, and the exact SQL behind every number. Questions such as which region grew fastest, or why churn jumped, send an LLM agent to inspect the schema, write a query, and answer with a headline figure and its drivers. A failed query sends its database error back to the model, which fixes the statement and retries. Answers show their working: a step-by-step trace, an editable SQL tab to tweak and re-run, and buttons to copy the query or export CSV. Charts are chosen from the shape of each result. Three independent guards keep everything read-only: a validator that admits one SELECT, a read-only connection, and an authorizer that denies everything except reads. The overview adds sparklines, month-over-month deltas, a category mix, and a regional scorecard, and any tile can launch a question. Follow-ups keep their context, and saved chats can be reopened, deleted, or rated thumbs up or down. Add an Anthropic API key and Claude takes over; without one, a built-in offline engine still turns common KPI questions into real SQL. A sample warehouse spans 24 months, five regions, and 12 products, plus light and dark themes, a phone layout, and a CLI. Numbers come only from queries. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. MIT licensed.
Benefits
- Every answer shows its SQL
- Each reply carries the chart, the result table, the exact query, and a step-by-step trace of the agent's tool calls, letting a finance lead verify a figure instead of trusting it.
- Read-only through three separate guards
- A static validator, a read-only database connection, and an authorizer all block writes, while a five-second default timeout and a 5,000-row cap stop runaway queries from hurting the warehouse.
- Works offline without an API key
- With no Anthropic key, a deterministic engine parses common KPI question shapes into real SQL, runs them through the same guarded executor, and writes each answer from the results.
- Failed queries fix themselves
- When a query errors, the database message returns to the model as a tool error, and it rewrites the statement and retries, within a cap of ten steps per question.
Features
- Agentic text-to-SQL
- A Claude tool-use loop calls list_tables, describe_table, run_sql, and present_results with strict schemas, adaptive thinking, configurable effort, and automatic prompt caching.
- KPI overview dashboard
- Eight KPI tiles with month-over-month deltas and sparklines sit above charts for revenue by region, category mix, trend, churn, and top products, plus a regional scorecard, drawn with Chart.js.
- Guarded SQL execution
- Only a single SELECT or WITH statement passes the validator, then runs on a SQLite connection opened read-only, with an authorizer, a five-second default timeout, and a 5,000-row cap.
- Editable, exportable answers
- Each answer offers Chart, Table, SQL, and Steps tabs, an editable query with a Run button, copy and CSV export, thumbs ratings, and multi-turn conversations stored in SQLite.
- Sample KPI warehouse
- A deterministic generator builds 24 months of data with 5 regions, 12 products, about 3,800 customers, and roughly 60,000 orders, documented in an in-app data dictionary view.
- REST API and CLI
- FastAPI endpoints stream chat as NDJSON and serve dashboard, schema, SQL, CSV, and history; a terminal CLI, Docker image, and 74 automated tests ship alongside.