Setup
1
Clone the OpenRouter-compatible fork/branch
Use the OpenRouter-compatible fork or branch instead of the default upstream release:
2
Configure environment variables for NagaAI
Point the fork at NagaAI’s OpenAI-compatible endpoint:
Need an API key? Create one in the NagaAI Dashboard, then see Quickstart if you want a first working request.
3
Choose a tools-capable model
If you want repo search, file edits, or command execution, choose a model that supports function calling:
4
Install dependencies and start the CLI
Requirements: Node.js 18+
5
Verify the setup
Ask the CLI to inspect the current project or explain a file. If it answers normally and can use tools when needed, the NagaAI connection is working.
Try it
- “Summarize the project structure and key modules.”
- “Find the code responsible for X and explain how it works.”
- “Propose a refactor plan for module Y and list the files to change.”
Notes
- Base URL:
https://api.naga.ac/v1 - Auth: standard NagaAI API key
- This setup may drift as the community fork changes