dash

Self-learning data agent for grounded SQL answers

Overview

Dash is a self-learning data agent that answers plain-language questions about company data by grounding its responses in multiple layers of context rather than generating SQL blind. It runs as a coordinated team of agents, with an Analyst that reads company data and an Engineer that manages a dedicated schema of agent-maintained views, and it exposes itself through a FastAPI service, Slack, and the AgentOS web interface.

The core problem Dash targets is that raw language models writing queries struggle because schemas lack meaning, types mislead, undocumented knowledge is missing, and results arrive without interpretation. Dash addresses this by combining table-usage documentation, human-written metric and business-rule annotations, known-good query patterns, optional external references, accumulated error learnings, and live schema introspection.

What sets Dash apart is the self-learning loop: validated queries are saved into a knowledge base and discovered error patterns and fixes are retained, so the system builds on each interaction instead of starting fresh. A read-only data path for analysis and a separate write path for schema management keep the two responsibilities distinct, and access is governed through AgentOS authentication and role-based controls.

Best for

  • Data analysts
  • Analytics engineers
  • Business intelligence practitioners
  • Data platform engineers
  • Operations and finance analysts
  • SaaS

How to use

  1. Clone the Dash repository and move into the project directory.
  2. Copy the example environment file and add your OpenAI API key.
  3. Start the system with Docker Compose in detached build mode.
  4. Run the sample data generation script inside the API container.
  5. Run the knowledge loading script inside the API container.
  6. Confirm the service is responding by visiting the API documentation endpoint.

What it can do

Multi-layer grounded context

Answers are built from six documented context layers: table usage, human annotations, query patterns, institutional knowledge, accumulated learnings, and live runtime schema changes. This lets the agent reason about what tables mean and which metrics matter, not just what columns exist.

Self-learning from every query

Validated queries are written into a knowledge base and error patterns with their fixes are retained as learnings. Over time the agent draws on this stored experience when answering new questions, so repeated problem areas are less likely to recur.

Coordinated Analyst and Engineer agents

An Analyst works in read-only mode against company data and saves validated queries, while an Engineer has full access to the agent-managed schema and updates knowledge when schema changes occur. A team leader coordinates the two in a collaborative mode.

Multi-channel access

Users can interact with Dash through Slack direct messages, mentions, and thread replies, through the terminal, or through the AgentOS web interface. Each Slack thread maps to its own session so conversations keep their context.

Read-only SQL enforcement

Query tools on the Analyst side are restricted to read access, while write operations are confined to the separate schema that the Engineer manages. This separation is described as part of the system's security engineering layer.

Schema introspection

Both agents can inspect the current state of the schemas they use, allowing the system to account for live schema changes as part of runtime context rather than relying only on stale documentation.

Slack message tooling

An optional set of Slack tools lets the team leader send messages, post in threads, list and inspect channels, retrieve thread history, look up user information, and search messages. This supports both reactive answers and proactive posting of scheduled results.

Scheduled and traced operation

The AgentOS application is configured with scheduling and tracing enabled, and it handles event verification for incoming Slack traffic. Database scripts for generating sample data and loading knowledge are run through documented commands.

How it works

Dash requires an OpenAI API key and is started through Docker Compose, with helper scripts to generate sample data and load knowledge into the system. It can run locally or be deployed to Railway, where production credentials live in a separate environment file and a JWT verification key from AgentOS is required; database scripts in production must run inside the Railway network. Slack integration is optional and activates only when both a bot token and signing secret are provided, with the app handling event verification and routing mentions, direct messages, and channel messages to the team leader.

Humans remain in the loop at key points. People write the business annotations, metric definitions, and known-good query patterns that ground answers, and they approve and configure access through AgentOS authentication and role-based controls. The agent proposes and stores validated queries and learnings, but the underlying business rules and schema management decisions come from the people maintaining the knowledge sources.

Supervised

Dash runs multi-step analysis tasks across coordinated agents but relies on human-authored business rules and AgentOS role-based access controls, with writes confined to a separate schema.

Where it fits

  • Ask for the current monthly recurring revenue figure for the business.
  • Identify which subscription plan has the highest churn rate.
  • Review revenue trends broken down by plan across recent months.
  • Flag customers who appear at risk of churning.

Good fit

  • Teams that want to ask business questions in plain English and get explanations rather than raw SQL results
  • Organizations using Slack that want a data assistant reachable through DMs, @mentions, and threads
  • Groups seeking a data agent that stores validated queries, error patterns, and fixes to improve over time
  • Teams comfortable self-hosting a Docker-based system and managing their own API keys

Not a fit

  • Anyone without technical resources to run Docker Compose or deploy to Railway
  • Slack-only workflows that cannot provide a public URL for event delivery

How to evaluate

  1. Confirm you can supply an OpenAI API key and run Docker Compose or a Railway deployment
  2. Review how the six context layers map to your own schemas, metrics, and business rules
  3. Check whether read-only SQL enforcement for the public schema and full access to the agent-managed schema fit your security needs
  4. Verify that public URL setup for Slack event subscriptions works in your environment
  5. Decide whether the knowledge and learnings tables being agent-managed matches your governance expectations

Our take

Dash is positioned as a data agent that grounds answers in several context layers and refines itself as queries accumulate. Its architecture separates an Analyst limited to read-only access of company data from an Engineer that can write to an agent-managed schema. It supports Slack, terminal, and AgentOS interfaces, but getting started requires cloning a repository, adding an OpenAI key, and running Docker commands. Self-hosting and credential management are part of the deal rather than optional extras.

Alternatives

AgentPricingAutonomyBest for
ragflow—SupervisedAI developers, RAG engineers, Data engineers, Knowledge managers, Platform engineers
deer-flow—SupervisedSoftware developers, AI and agent engineers, Research engineers, Technical teams building agent workflows, Data pipeline builders
anything-llm—SupervisedIT administrators managing private AI instances, Developers building custom integrations, Teams evaluating local versus cloud model providers, Knowledge workers querying internal documents, Operations staff scheduling recurring agent tasks
Vane—AssistantPrivacy-conscious researchers, AI developers testing local models, Technical writers and documentation specialists, Students doing academic research, Data analysts comparing model outputs
FrontierAgent—SupervisedResearch analysts, Developers building agent workflows, Benchmark and evaluation engineers, Data and file-processing specialists, Technical operations staff
Sidekick—SupervisedResearchers, Students, Writers and editors, Software developers, Knowledge workers, Analysts

FAQ

What is Dash?
Dash is a self-hosted data agent that retrieves grounded context and stored learnings to answer data questions. It runs on its own infrastructure and can be reached through Slack, a terminal, or the AgentOS web interface.
How does Dash improve over time?
Analyst agents can save validated queries into the knowledge base, while the system records error patterns and fixes as learnings. Each query can draw on those stored materials along with live schema introspection.
What data sources does Dash work with?
The documents describe SQL tools for a company data schema and an agent-managed schema, plus optional institutional knowledge through MCP. Sample knowledge files cover table usage, human annotations, and known-working query patterns.
Can Dash connect to Slack?
Yes. The Slack interface activates only when both a bot token and a signing secret are configured. Each thread maps to its own session, and replies in a thread retain context.
What access controls are described?
Dash documentation cites AgentOS authentication, role-based access control, and read-only SQL enforcement. The Analyst agent reads the company schema, while write access to the agent-managed schema is reserved for the Engineer agent.
How do I set up Dash?
The quick start involves cloning the repository, copying the example environment file and setting an OpenAI API key, then starting services with Docker Compose and running data and knowledge scripts. Slack use also requires a public URL and app credentials.
Can I deploy Dash to a cloud platform?
The documentation describes a Railway deployment path with production environment variables, a JWT verification key from AgentOS, and scripts to push environment values and redeploy. Database scripts then run inside the container over SSH.
What are the limitations to consider?
Setup assumes comfort with Docker, environment files, and API credentials, and Slack requires a reachable public endpoint. Institutional knowledge through MCP is described as optional, so teams must supply that integration themselves.

Comments

No comments yet.

Embed a listing badge

Featured on AI Agents Marketplace
<a href="https://aiagentsmarketplace.dev/agents/dash"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
See badge options