Key Features
Natural Language Queries
Ask questions in plain English and get instant answers
Data Visualization
Automatically generate charts and graphs from your data
Transparent Reasoning
See the SQL queries and logic behind each answer
Conversation History
Navigate through past queries and build on previous answers
How It Works
When you ask a question, the agent follows this process:Context Discovery
The agent searches and reads your context files to understand your data model, business definitions, and rules.
Query Generation
Based on the context, the agent writes an optimized SQL query tailored to your question.
Agent Tools
The nao agent comes equipped with a set of powerful tools that it uses autonomously to answer your questions:execute_sql
execute_sql
Execute SQL queries against your connected database(s) and return structured results. The agent writes optimized queries based on your context files and business logic.
- Supports multiple database connections
- Returns data with column information and row counts
- Results can be referenced by other tools (like charts)
display_chart
display_chart
Create visualizations from SQL query results. The agent automatically chooses the best chart type based on your data.Supported chart types:
- Bar charts
- Line charts
- Pie charts
search
search
Search for files matching glob patterns within your project context. Useful for discovering available context files, documentation, and data definitions.
list
list
List files and directories at a specified path in your context. Helps the agent navigate your project structure and understand available resources.
read
read
Read the contents of context files including SQL models, documentation, business definitions, and rules. This is how the agent understands your data semantics.
grep
grep
Search for text patterns across your context files using regex. Supports glob filtering, case-insensitive search, and context lines around matches.