Skip to main content
Dash gives data teams a self-hosted agent for answering business questions against company databases. Database schemas rarely contain metric definitions, proven query patterns, or the reasons a past query failed. Dash combines that company context with live schema inspection so its SQL and explanations reflect how your organization uses its data. Agno coordinates an Analyst and Engineer, keeps curated knowledge and learned fixes available across runs, and serves the team through AgentOS. Run Dash against the included SaaS dataset, then ask it for your current MRR or highest-churn plan. Chat with Dash in Slack, the terminal, or the AgentOS UI. The code is public at agno-agi/dash.

Run locally

Confirm Dash is running at http://localhost:8000/docs. The Dash README walks through this step by step.

Connect to the AgentOS UI

  1. Open os.agno.com and log in.
  2. Click Connect OS, choose Local, and enter http://localhost:8000.
  3. Click Connect.
Dash is running locally.

How it works

Dash runs as an Agno team in coordinate mode, with a leader that routes each request to two specialists: Schema boundaries: Company data lives in the public schema; agent-created views and summary tables live in the dash schema. The Analyst connects with default_transaction_read_only=on, so PostgreSQL rejects its writes. The Engineer is instructed to write only to dash, and a SQLAlchemy event listener rejects DDL and DML that explicitly targets public. PostgreSQL enforces the Analyst boundary. The Engineer boundary depends on the application listener and model instructions.

Six layers of context

Self-learning

The Analyst searches knowledge and learnings before generating SQL. Its workflow tells it to inspect the live schema after an error and call save_learning after discovering a reusable fix. Agno’s Learning Machine makes those saved fixes available to later runs. When a churn query filters on status and should use ended_at IS NULL, Dash can save that correction for later runs to retrieve. When your team defines MRR as the sum of active subscriptions excluding trials, the rule lives in knowledge/business/ alongside the queries that use it.

Deploy to Railway

Railway deployment uses .env.production to keep production credentials separate from local dev.
1

Deploy infrastructure

This creates the Railway project, database, and app service. The app will crash-loop until the JWT key is added in the next step. That’s expected.
2

Get your JWT key

Production requires a JWT_VERIFICATION_KEY from AgentOS. You need the Railway domain from step 1 to set this up.
  1. Copy your Railway domain from the output of step 1 (e.g. dash-production-xxxx.up.railway.app).
  2. Open os.agno.com and log in.
  3. Click Connect OS, choose Live, and paste your Railway URL.
  4. Go to SettingsOS & Security and turn on Token-Based Authorization (JWT). The UI generates a key pair and shows you the public key.
  5. Add the public key to .env.production, wrapped in single quotes:
3

Push environment and redeploy

railway_env.sh reads .env.production and sets each variable on the Railway service. It handles multiline values like PEM keys and is safe to run repeatedly.
Dash is live on Railway.
The Dash README covers this flow in more detail.

Production operations

Database scripts must run inside Railway’s network. The internal hostname pgvector.railway.internal is unreachable from your local machine, so SSH into the running container:
Other operations run locally:

Connect to Slack

Dash can receive DMs, @mentions, and thread replies, and can post to channels proactively. Each Slack thread maps to one Dash session.
  1. Run Dash with a public URL (ngrok locally, or your Railway domain).
  2. Create and install the Slack app from the manifest in docs/SLACK_CONNECT.md.
  3. Set SLACK_TOKEN and SLACK_SIGNING_SECRET, then restart Dash.
  4. In Slack, confirm Event Subscriptions shows verified, then send a DM or @mention to test.
See the Slack setup guide for the manifest, ngrok commands, permissions, and troubleshooting.

Example prompts

Try these on the sample SaaS metrics dataset:
  • What’s our current MRR?
  • Which plan has the highest churn rate?
  • Show me revenue trends by plan over the last 6 months
  • Which customers are at risk of churning?

Add your own data

Dash works best when it understands how your organization talks about data: Load or update knowledge at any time:
The Dash README covers loading your own data and scheduled proactive tasks.

Run evals

Five eval categories using Agno’s eval framework:

Source

Dash is public at agno-agi/dash. The README covers the full architecture, the data model, and the security setup.