How It Works
Dash retrieves relevant context at query time via hybrid search, generates grounded SQL, executes it, and delivers insights.The Six Layers of Context
| Layer | Purpose | Source |
|---|---|---|
| Table Usage | Schema, columns, relationships | knowledge/tables/*.json |
| Human Annotations | Metrics, definitions, business rules | knowledge/business/*.json |
| Query Patterns | SQL that is known to work | knowledge/queries/*.sql |
| Institutional Knowledge | Docs, wikis, external references | MCP (optional) |
| Learnings | Error patterns and discovered fixes | Agno LearningMachine |
| Runtime Context | Live schema changes | introspect_schema tool |
Self-Learning
Dash improves without retraining or fine-tuning through two complementary systems:| System | Stores | How it evolves |
|---|---|---|
| Knowledge | Validated queries, table schemas, business rules | Curated by your team and refined by Dash |
| Learnings | Error patterns, column quirks, team conventions | Managed automatically by the Learning Machine |
position is TEXT and not INTEGER, Dash saves that. Next time, it knows. When your team is focused on IPO prep, Dash learns that “revenue” means ARR, not bookings, and that the board wants cohort retention broken out by enterprise vs SMB.
Insights, Not Just Rows
Dash reasons about what makes an answer useful, not just technically correct. Question: Who won the most races in 2019?| Typical SQL Agent | Dash |
|---|---|
Hamilton: 11 | Lewis Hamilton dominated 2019 with 11 wins out of 21 races, more than double Bottas’s 4 wins. This performance secured his sixth world championship. |
Run Locally
http://localhost:8000/docs.
Connect to the control plane
- Open os.agno.com and sign in
- Click Add OS → Local
- Enter
http://localhost:8000
Deploy to Railway
- Open os.agno.com
- Click Add OS → Live
- Enter your Railway domain
Example Prompts
Try these on the sample F1 dataset:- Who won the most F1 World Championships?
- How many races has Lewis Hamilton won?
- Compare Ferrari vs Mercedes points 2015-2020
Adding Your Own Data
Dash works best when it understands how your organization talks about data. The knowledge base lives in three directories:knowledge/tables/ for table metadata: schema descriptions, column meanings, data quality notes.
knowledge/queries/ for validated SQL patterns that are known to work.
knowledge/business/ for metric definitions, business rules, and common gotchas.
Load or update knowledge at any time: