bagofwords

bagofwords

Deploy chat-with-your-data AI agents in minutes

Stars: 58

Visit
 screenshot

Bag of words is an open-source AI platform that helps data teams deploy and manage chat-with-your-data agents in a controlled, reliable, and self-learning environment. It enables users to create charts, tables, and dashboards by chatting with their data, capture AI decisions and user feedback, automatically improve AI quality, integrate with various data sources and APIs, and ensure governance and integrations. The platform supports self-hosting in VPC via VMs, Docker/Compose, or Kubernetes, and offers additional integrations for AI Analyst in Slack, Excel, Google Sheets, and more. Users can start in minutes and scale to org-wide analytics.

README:

Bag of words

Deploy chat-with-your-data AI agents in minutes

Website Docs Docker e2e tests

Bag of words is an open-source AI platform that helps data teams deploy and manage chat-with-your-data agents in a controlled, reliable, and self-learning environment.

  • Chat: Create charts, tables, and full dashboards by chatting with your data—powered by an agentic loop for tool use, reflection, and reasoning.
  • Observability: Capture AI decisions, traces, user feedback, latency; analyze quality and usage in the console.
  • Self-learning: Automatically improve AI quality with optimized instructions from feedback and usage patterns.
  • Data sources: Snowflake, BigQuery, Postgres, and more. Enrich context with dbt, LookML, docs, and code.
  • LLM integration: Bring your own API key (OpenAI, Anthropic, or any OpenAI-compatible API).
  • Governance & integrations: Users and orgs, RBAC, audit logs, SSO (Google), SMTP. *Deployment: Self-host in your VPC via VMs, Docker/Compose, or Kubernetes.

Additional integrations to offer an AI Analyst in Slack, Excel, Google Sheets, and more. Get started in minutes, scale to org-wide analytics

Bag of words
Dashboard Split Product Dashboard Revenue Churn List Cloud Spend

Quick Start

Docker (Recommended)

# Run with SQLite (default)
docker run -p 3000:3000 bagofwords/bagofwords

Run with PostgreSQL

docker run -p 3000:3000 \
  -e BOW_DATABASE_URL=postgresql://user:password@localhost:5432/dbname \
  bagofwords/bagofwords

Custom deployments

For more advanced deployments, see the docs.



Local Development

Prerequisites

  • Python 3.12+
  • Node.js 18+
  • Yarn

Backend Setup

# Setup Python environment
cd backend
python3 -m venv venv
source venv/bin/activate  # or `venv\Scripts\activate` on Windows
pip install -r requirements_versioned.txt

# Run migrations
alembic upgrade head

# Start server
python main.py  # Available at http://localhost:8000

Frontend Setup

cd frontend
yarn install
yarn dev      # Regular mode

Links

License

AGPL-3.0

For Tasks:

Click tags to check more tools for each tasks

For Jobs:

Alternative AI tools for bagofwords

Similar Open Source Tools

For similar tasks

For similar jobs