Skip to main content
Add Git repositories to your agent context to give it access to dbt repo, semantic layers (Cube, LookML, etc.), documentation, or anything else.

Why Add Repositories?

Adding repositories to your context allows your agent to:
  • Access dbt model definitions and documentation
  • Access your semantic layer repository
  • Reference internal documentation

Adding a Repository

When you run nao init, you can add a repository interactively:
nao init
Or add repositories in your nao_config.yaml:
repositories:
  - name: dbt_project
    url: https://github.com/your-org/dbt-project

Context Files

Synchronisation Sync your repositories to pull the latest content:
nao sync
This will:
  1. Clone or pull the repository
  2. Extract relevant files from the specified path
  3. Index the content for the agent
  4. Make it searchable
Context Output The output will be a full clone of your git repository in the repos/ folder. After syncing, repositories are stored in:
context/
└── repos/
    └── dbt_project/