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.Non-interactive mode
For CI pipelines or agentic workflows (Claude Code, Cursor, Codex), runnao init without any prompts:
| Flag | Description |
|---|---|
--yes / -y / --no-tty | Skip all prompts and use defaults |
--name / -n | Set the project name from the CLI |
--yes mode:
- If
nao_config.yamlalready exists, it is reused as-is and only the folder structure is scaffolded. - If no config exists, a minimal one is created with the project name (from
--nameor the current directory name). - Databases, LLM, and integrations are not configured. Edit
nao_config.yamlafterward or use thesetup-contextskill.
- A new folder with your project name
- An architecture for your context files
- A
nao_config.yamlconfiguration file - A
RULES.mdfile - A
tests/folder with a startertest_example.ymltest file
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
nao init scaffolds a starter test file at tests/basic_arithmetic.yml. You can add more test files with questions and expected SQL in YAML format, then measure your agent’s performance:
Evaluation Guide
Learn how to build comprehensive test suites and evaluate your agent
What’s Next?
Skills
Install five published skills to let your agentic CLI automate setup, rules, tests, and audits
Context Builder
Learn how to build and customize your agent’s context
Self-Hosting
Deploy your agent in production
Chat Interface
Explore the chat interface features
nao Cloud
Use our managed cloud service