Documentation

Everything you need to build with NRS.

Getting Started

Sign up with email/password or SSO, generate an API key from the dashboard, then call /v1/chat/completions with your token. Start with a low token budget, then scale using tier-aware controls in your organization settings.

REST API Reference

Endpoints support deterministic, probabilistic, and hybrid reasoning workflows with explicit metadata on mode selection and confidence scores.

Python SDK

Install via pip install nrs and initialize with your API key for typed chat completions and usage telemetry.

Swift SDK

Use the Swift package with async calls for background-safe prompts, streaming responses, and secure token storage in keychain-backed clients.

Kotlin SDK

Consume NRS APIs from Android and JVM workloads with coroutine support and configurable retry policy for high-throughput batch jobs.

NRSIP Protocol

Signed packets, hop-chain validation, and tier gating are enforced end-to-end across chat, tool calls, and memory operations.

Domain-Specific Guides

Medical Domain

Drug interaction queries, clinical pathways, FDA compliance.

Financial Domain

Risk modeling, SEC compliance, portfolio analysis.

Legal Domain

Contract review, case law, regulatory compliance.

Engineering Domain

Structural analysis, optimization, materials science.

API Reference

MethodEndpointDescription
POST/v1/chat/completionsSubmit a chat completion request to the public NRS API.
GET/v1/modelsList available public models.
POST/auth/signupCreate a user account for the web application.
POST/auth/loginExchange email/password for a web session token.
GET/usage/summaryReturn 30-day token and cost usage for the signed-in user.
POST/keysCreate an API key for direct access to the NRS API.
DELETE/keys/:idRevoke an API key.