Quick start
1
Install Claude Code
Official docs: https://code.claude.com/docs/en/overview
- Native install (macOS/Linux/WSL)
- Windows PowerShell
- npm
2
Point Claude Code to NagaAI
Claude Code reads Anthropic-compatible environment variables. Configure:
- Base URL:
https://api.naga.ac - Auth token: your NagaAI API key
- Ensure the default Anthropic API key is explicitly empty (prevents conflicts)
- (Optional) Override Claude Code’s default model aliases (Haiku/Sonnet/Opus) to specific NagaAI models
- Shell (macOS/Linux/WSL)
- Windows PowerShell
- Project settings file
Need an API key? Get one from the NagaAI dashboard: https://naga.ac/dashboard (API Keys section). Also see our Quickstart.
You can replace the example model IDs above with any model that supports function calling (tools). See models with tools support.
3
Start Claude Code
In your project directory:Your requests will be routed through NagaAI’s Anthropic-compatible endpoint (Messages API at
/v1/messages).4
Verify
Inside Claude Code, run:You should see:
Try it
- “Summarize this project: key folders, build system, and entry points.”
- “Find where X is implemented and list the relevant files.”
- “Run tests and fix the first failing test.”
- “Refactor: extract helper Y and update all call sites.”