Step 1: Install nao-core package
Step 2: Initialize a nao project
- To name your project
- If you want to connect a database (optional)
- If you want to add a repo in agent context (optional)
- To add an LLM key (optional)
- If you want to setup a Slack connection (optional)
You can skip any optional question and configure them later in your
nao_config.yaml file.- A new folder with your project name
- An architecture for your context files
- A
nao_config.yamlconfiguration file - A
RULES.mdfile
Step 3: Verify your setup
cd to the project folder and run:Step 4: Synchronize your context
Step 5: Launch the chat and ask questions
You have two options to access the chat UI:Option 1: Using nao chat command
http://localhost:5005.
Option 2: Using Docker
Instead ofnao chat, you can use Docker to run the UI:
With built-in example:
http://localhost:5005 and add your LLM API key in the settings.
From there, you can start asking questions to your agent!
Step 6: Evaluate your agent
First, create a folder tests/ with questions and expected SQL in yaml. Then, mesure agent’s performance on examples with nao test command:Evaluation Guide
Learn how to build comprehensive test suites and evaluate your agent