Categories
Self-Hosted AI Agents MCP Business Intelligence Dashboards Text-to-SQL AI Data Analyst Agentic AnalyticsStars
Forks
Watchers
Developer links
Bag of Words
Bag of Words, now branded BOW, is an open-source analytics platform where AI agents answer questions about your databases, build dashboards, and investigate incidents using the LLM you choose and only the data each agent may see. Ask in chat and an agent plans its work, queries sources in parallel, checks the findings, and returns charts, reports, or a dashboard you can share and refresh on a schedule. One prompt can also build an interactive data app with search, filters, ratings, and comments. Connect PostgreSQL, Snowflake, BigQuery, ClickHouse, MongoDB, Salesforce, Google Drive, and dozens more sources, plus any MCP server or custom API. Each agent has its own tables, files, tools, instructions, and members, so every team stays inside its scope. Training mode inspects your schema, verifies joins, and proposes instructions as tracked changes to accept or reject, while eval suites with rules and an LLM judge catch regressions. Scheduled tasks, webhooks, and event triggers run analyses unattended and deliver results to Slack, Microsoft Teams, Google Chat, WhatsApp, email, Excel, or MCP clients such as Claude Code. Monitoring records each run's plan, tool calls, latency, cost, and feedback, with filters for errors, slow runs, and negative ratings. Optional sandboxes run agent-written Python, Node, Go, or shell code in isolated containers. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. AGPL-3.0 licensed, apart from enterprise components under the separate BOW Enterprise License.
Benefits
- Any LLM, Any Data Source
- Use OpenAI, Azure OpenAI, Gemini, Anthropic, AWS Bedrock, or any OpenAI-compatible endpoint such as Ollama, then point agents at databases, files, MCP servers, or custom APIs without copying data into a warehouse.
- Scoped Agents With Governed Access
- Agents see only the tables, columns, files, and tools you grant them, tools can require approval before running, and single sign-on covers OIDC, SAML 2.0, Entra ID, and Google.
- Evals That Catch Regressions
- Test cases combine deterministic rules with an LLM judge, and a failed eval can trigger drafted instruction fixes that are re-run, then wait for your approval or promote automatically.
- Answers Where Your Team Works
- Ask from Slack, Microsoft Teams, Google Chat, WhatsApp, email, or an Excel add-in, and let Claude Code or any other MCP client call the same agents with a token or OAuth app.
Features
- Chat, Reports, and Dashboards
- Questions become queries, charts, and reports, while dashboards add parameterized filters for dates, categories, or countries that viewers can adjust, share, and refresh on a schedule.
- Interactive Data Apps
- From one prompt the agent builds data apps with search, filters, and forms; viewers can post ratings and comments that persist as resources, and an AI button summarizes them.
- Eval Suites With Judge Rules
- Each case combines rules such as a tables-list check with an LLM judge, then reports pass, fail, or error along with the judge's written reasoning for the answer.
- Training Mode and Instructions
- Training mode inspects tables, verifies every join against the data, and proposes instructions with confidence scores as tracked changes; Git sync versions shared business definitions.
- Run Traces and Monitoring
- Monitoring traces each run's plan, tool calls, latency, cost, and feedback, with quick filters for errors, failed queries, low confidence, slow, expensive, or retried runs.
- Docker, Compose, and Helm
- One docker run command starts BOW on port 3000 with SQLite; Docker Compose adds PostgreSQL and Caddy TLS, and a Helm chart plus air-gapped bundles cover Kubernetes and offline hosts.