Gemini CLI can work with NagaAI through a community fork that supports OpenRouter-style configuration. This is not the official Gemini CLI path. Use it only if you specifically want Gemini CLI and are comfortable relying on a community-maintained fork.Documentation Index
Fetch the complete documentation index at: https://docs.naga.ac/llms.txt
Use this file to discover all available pages before exploring further.
Setup
Clone the OpenRouter-compatible fork/branch
Use the OpenRouter-compatible fork or branch instead of the default upstream release:
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.
Choose a tools-capable model
If you want repo search, file edits, or command execution, choose a model that supports function calling:
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