getnao/nao

โ–ฒ 27 stars todayโ˜… 1,904โ‘‚ 282

๐Ÿ‘พ nao is an open source analytics agent. (1) Create context with nao-core cli, (2) deploy nao chat interface for everyone

About getnao/nao

getnao/nao is an open-source project on GitHub, mainly written in TypeScript. ๐Ÿ‘พ nao is an open source analytics agent. (1) Create context with nao-core cli, (2) deploy nao chat interface for everyone It currently holds 1,904 stars and 282 forks with 0 open issues, and was last pushed on an unknown date (repository created unknown).

Project Overview

AI Homed tracks it on the Today's Trending board, currently at rank #42 with 27 new stars today.

GitHub Repository Details

Repository getnao/nao ยท default branch - ยท size 0 KB ยท watchers 0 ยท source: GitHub REST API and repository README

README

https://github.com/getnao/nao/blob/HEAD/nao logo

nao

The #1 Open-Source Analytics Agent

๐ŸŒ Website ยท ๐Ÿ“š Documentation ยท ๐Ÿ’ฌ Slack


https://github.com/getnao/nao/blob/HEAD/nao Chat Interface


What is nao?

nao is a framework to build and deploy analytics agent.
Create the context of your analytics agent with nao-core cli: data, metadata, modeling, rules, etc.
Deploy a UI for anyone to chat with your agent and run analytics on your data.

Key Features

For data teams:

For business users:

โšก๏ธ Quickstart your agent in 1 minute

    pip install nao-core
    


    nao init
    

It will ask you:

๐Ÿ’ก You can skip any optional question and configure them later in your nao_config.yaml file.

This will create:


cd to the project folder and run:

    nao debug
    


    nao sync
    

This will populate your context folder with your context files (data, metadata, repos, etc.)


    nao chat
    

This will start the nao chat UI. It will open the chat interface in your browser at http://localhost:5005. From there, you can start asking questions to your agent.

Evaluation framework

Unit test your agent performance before deploying it to users. First, create a folder tests/ with questions and expected SQL in yaml. Then, measure agent's performance on examples with nao test command:

nao test

View results in tests panel:

nao test server

Commands

nao --help
Usage: nao COMMAND

โ•ญโ”€ Commands โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ โ”‚ chat Start the nao chat UI. โ”‚ โ”‚ init Initialize a new nao project. โ”‚ โ”‚ sync Sync context from your context sources (databases, repos) โ”‚ โ”‚ test Measure agent's performance on test examples. โ”‚ โ”‚ debug Debug and troubleshoot your nao setup. โ”‚ โ”‚ --help (-h) Display this message and exit. โ”‚ โ”‚ --version Display application version. โ”‚ โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

๐Ÿณ Docker

Pull the image from DockerHub:

docker pull getnao/nao:latest

Run nao chat with Docker using the example project bundled in the image:

docker run -d \
  --name nao \
  -p 5005:5005 \
  -e BETTER_AUTH_URL=http://localhost:5005 \
  getnao/nao:latest

Run nao chat with Docker using your local nao project:

docker run -d \
  --name nao \
  -p 5005:5005 \
  -e BETTER_AUTH_URL=http://localhost:5005 \
  -v /path/to/your/nao-project:/app/project \
  -e NAO_DEFAULT_PROJECT_PATH=/app/project \
  getnao/nao:latest

Access the UI at http://localhost:5005 (or at any URL you configured).

See the DockerHub page for more details.

For end-to-end self-hosted deployment (for example on Cloud Run with PostgreSQL), see the Deployment Guide.

๐Ÿงฉ Skills

Use nao skills to create your nao project and context with your favourite agent.

Install the nao skill pack:

npx skills add getnao/nao

Docs on nao skills: https://docs.getnao.io/nao-agent/context-engineering/skills

๐Ÿ‘ฉ๐Ÿปโ€๐Ÿ’ป Development

See CONTRIBUTING.md for development setup, commands, and guidelines.

Start nao locally

Prerequisites:

Run the following commands:

npm run npm:pin
npm install
npm run db:migrate -w apps/backend

Create a .env file at the root of the repository and input environment variables

Minimum variables necessary are:

BETTER_AUTH_SECRET=#run openssl rand -base64 32 to generate

Public URL of your app (used for authentication, trusted origins, and Slack redirects)

BETTER_AUTH_URL=http://localhost:3000

LLM providers

OPENAI_API_KEY=12345678

NAO_DEFAULT_PROJECT_PATH=#path to example folder

Run the following command:

npm run dev

Go to http://localhost:3000 on your browser

๐Ÿ“’ Stack

Backend

Frontend

โ›น๏ธโ€โ™€๏ธ Join the Community

๐Ÿซฐ๐Ÿป Partners

nao Labs is a proud Y Combinator company!

๐Ÿ“„ License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.

GitHub Stars & Activity

1,904Stars
282Forks
0Open issues
TypeScriptLanguage

GitHub Popularity

GitHub stars1,904
Forks282
Open issues0
Primary languageTypeScript
License-
Stars gained today27
Created-
Last pushed-

Trending History

Daily boardrank #42 ยท โ–ฒ 27 stars

Related AI Projects

1

openclaw / openclaw

TypeScriptโ˜… 391,685โ‘‚ 82,361โ–ฒ 150 stars
โ†’
2

deepseek-ai / deepseek-harness

TypeScriptโ˜… 247,451โ‘‚ 0
โ†’
3

n8n-io / n8n

TypeScriptโ˜… 207,010โ‘‚ 0
โ†’
4

firecrawl / firecrawl

TypeScriptโ˜… 190,460โ‘‚ 0
โ†’
5

langgenius / dify

TypeScriptโ˜… 158,160โ‘‚ 25,003โ–ฒ 71 stars
โ†’
6

morluto / rea

TypeScriptโ˜… 97,886โ‘‚ 21,753โ–ฒ 25,585 stars
โ†’
7

mksglu / context-mode

TypeScriptโ˜… 26,636โ‘‚ 1,915โ–ฒ 526 stars
โ†’
8

CopilotKit / OpenIntelligentUI

TypeScriptโ˜… 2,618โ‘‚ 301โ–ฒ 309 stars
โ†’

More AI Rankings