Claude Code CLI Integration Guide
Autonomous CLI coding agent operating directly in your local terminal. Route requests through Naranta gateway with environment variable overrides.
Connection Parameters
Step-by-Step Configuration
Install Claude Code CLI
Ensure Claude Code is installed globally via npm (npm install -g @anthropic-ai/claude-code).
Export Environment Variables
Add the proxy endpoint and your Naranta API key to your shell session or profile (~/.zshrc or ~/.bashrc).
export CLAUDE_CODE_API_URL="https://api.naranta.my.id/api/v1"
Launch the Agent
Run "claude" in your project directory. The agent automatically executes through the Naranta gateway.
Configuration Snippet
export CLAUDE_CODE_API_URL="https://api.naranta.my.id/api/v1"
export ANTHROPIC_API_KEY="YOUR_NARANTA_API_KEY"Why Connect Claude Code CLI with Naranta AI?
Frequently Asked Questions
Does Claude Code work on Windows, macOS, and Linux?
Yes, Claude Code runs in Node.js across all major desktop operating systems.
Explore Other Integrations
Hermes Agent
Autonomous AI coding agent by Nous Research, configured via hermes model CLI wizard or config.yaml.
Agent FrameworkOpenClaw
An autonomous and model-agnostic AI agent framework, configured via a local openclaw.json schema.
AI Code EditorCursor IDE
The premier AI-first code editor. Override the OpenAI Base URL to route code completions and Composer agents through Naranta with instant model fallback.