Skip to main content

Default context

By default, nao agent has always access to your codebase info and data warehouse metadata (list of tables and their schema). You can give some more precise context:
  • Files from your repositories
  • Data warehouse tables
  • SQL Worksheets

Context Picker

The context picker is a powerful tool that helps you add relevant context to your agent conversations. Click on “Add context” in the chat area to open it.
Add context to the chat
Add context to the chat
What you can add via context picker:
  • Files: Browse and select files from your repository
  • Folders: Add entire folders to provide broader context
  • SQL Worksheets: Include saved SQL worksheets
  • Data Warehouse Tables: Add table schemas (metadata only, not data content)
  • Schemas: Select entire database schemas
Table Context Note When you add a table to context, only the table’s schema (column names, types, etc.) is sent to the agent, not the actual data. This keeps your data private while giving the agent the information it needs to write accurate SQL.
Automatic Context Addition nao automatically adds relevant context to your conversations:
  • Latest table viewed: The context picker shows the most recently viewed table - only sends their schema
  • Previewed tables: When you preview a table, its schema is automatically added to the agent context
  • Open files: Files you’re currently viewing are available to the agent

Drag and Drop context

You can drag and drop items directly into the chat to add them as context. This is a quick way to add files, tables, or other items without using the context picker.
Drag and drop items to add context

Cmd L

You can add lines of code as context to the chat as well. Select code in your worksheet that you want to add. Then click ”+ Add to Chat” when it appears, or alternatively use  + L.
Apply code
You can send query results directly to the agent context using  + L. This allows the agent to analyze your data and provide insights based on actual query results.
How to use
  1. Execute a SQL query in a worksheet or SQL file
  2. Select the results or use  + L to send them to the chat
  3. The agent receives the data and can analyze it
  4. Ask questions about the data or request visualizations
This feature is particularly useful when you want the agent to:
  • Analyze query results
  • Create visualizations from your data
  • Identify patterns or anomalies
  • Generate insights and recommendations
Privacy Note: You control what data is shared with the agent.

Infinite Chat

nao supports infinite chat conversations with no token limitations. You can have extended conversations with the agent without worrying about hitting token limits or losing context.
Benefits
  • No conversation length restrictions
  • Maintain full context throughout long conversations
  • Continue complex multi-step workflows without interruption
  • Review and reference earlier parts of the conversation seamlessly
This allows you to work on complex, multi-step projects without needing to break them into smaller conversations.
Context Window Warning When a conversation reaches the model’s context window maximum, nao will display a warning. At this point, the agent’s context may become diluted, and earlier parts of the conversation may not be fully accessible. Consider starting a new chat for best results when you see this warning.
This makes it easier to ask questions about your data without manually adding context each time.

Data security