Quickstart Overview
AVAILABLEWelcome to Naagmani! In this quickstart guide, you will learn how to get up and running with Naagmani in under 5 minutes.
Rendering diagram...
graph LR
S1["1. Create API Key"] --> S2["2. Send Request"] --> S3["3. Stream SSE"] --> S4["4. Inspect Trace"]
Prerequisites #
Before starting, ensure you have:
- Access to the Naagmani Developer Portal (Local:
http://localhost:3000, Hosted:https://developer.naagmani.app). - An active Organization and Project.
curl, Node.js (>= 18), Python (>= 3.9), or Go (>= 1.21) installed.
Quickstart Steps #
- Create an API Key: Generate a scoped credential for your application.
- Send Your First Request: Execute a standard OpenAI-compatible chat completion.
- Stream Responses: Receive token-by-token responses using Server-Sent Events (SSE).
- Inspect Execution Traces: View real-time provider latency, tokens, and failover telemetry.
[!TIP] Zero SDK Migration Required
Because Naagmani is 100% wire-compatible with the OpenAI API specification, you can use official OpenAI SDKs simply by changing thebaseURL.