Skip to main content

Jazz CLI

Before you start

You need a Divyam account and an API key. If you don't have them yet, follow Getting Started first.

Replace the shortened divyam-sw-v1-... shown in examples with your complete API key.

The examples use divyam-as/gpt-6-sol. For another model, select its current ID in your harness or copy it from Models and pricing, and check its context limit and supported features.

1. Install Jazz CLI​

Install Jazz CLI using its official instructions. Open your project folder in a terminal.

2. Create the Divyam agent​

Replace divyam-sw-v1-... with your complete Divyam API key and open the setup wizard:

JAZZ_HOME="$HOME/.jazz-divyam" \
VLLM_BASE_URL="https://api.preview.divyam.ai/v1" \
VLLM_API_KEY="divyam-sw-v1-..." \
jazz agent create

Choose vLLM as the provider.

divyam-as/

Model ID: divyam-as/gpt-6-sol. Context window: 1,050,000 tokens. Models and pricing

Choose divyam-as/gpt-6-sol. If Jazz asks How hard should it think?, choose off. Choose the coder persona, name the agent Divyam, and confirm creation. Jazz adds the coder tools for you.

Connection scope

The Divyam agent uses Jazz's built-in vllm adapter, with the endpoint and key from these launch commands. Jazz saves the agent in the separate ~/.jazz-divyam profile. Keep using that profile and these launch values to open the agent.

3. Start an interactive session​

Replace the key placeholder and run:

JAZZ_HOME="$HOME/.jazz-divyam" \
VLLM_BASE_URL="https://api.preview.divyam.ai/v1" \
VLLM_API_KEY="divyam-sw-v1-..." \
jazz agent chat Divyam

Review file changes and shell requests before approving them.

In Jazz CLI's composer
Hello, what are your capabilities?
Paste this message, then send it.

Check your requests​

Open the Divyam console and select Logs. Your requests appear there within a few seconds, newest first, with their status, token counts and latency. Usage and Credits & Billing catch up within a few minutes.

Local cost estimates

Some clients display zero when model prices are missing. Check Credits & Billing for Divyam charges. Local dollar limits depend on the client's price and usage data.

For filters, cached-token counts and the requested-versus-routed view, see Logs and usage.