@juspay/neurolink 9.62.0 β†’ 9.63.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## [9.63.0](https://github.com/juspay/neurolink/compare/v9.62.0...v9.63.0) (2026-05-09)
2
+
3
+ ### Features
4
+
5
+ - **(proxy):** configurable primary (home) account via routing.primaryAccount ([c0bde2f](https://github.com/juspay/neurolink/commit/c0bde2f65b1cb8b686d3f528652122a12acb07d0))
6
+
1
7
  ## [9.62.0](https://github.com/juspay/neurolink/compare/v9.61.2...v9.62.0) (2026-05-07)
2
8
 
3
9
  ### Features
package/README.md CHANGED
@@ -26,9 +26,9 @@ for await (const chunk of result.stream) {
26
26
 
27
27
  ## 🧠 What is NeuroLink?
28
28
 
29
- **NeuroLink is the universal AI integration platform that unifies 17 major AI providers and 100+ models under one consistent API.**
29
+ **NeuroLink is the universal AI integration platform that unifies 21+ AI providers and 100+ models under one consistent API.**
30
30
 
31
- Extracted from production systems at Juspay and battle-tested at enterprise scale, NeuroLink provides a production-ready solution for integrating AI into any application. Whether you're building with OpenAI, Anthropic, Google, AWS Bedrock, Azure, or any of our 13 supported providers, NeuroLink gives you a single, consistent interface that works everywhere.
31
+ Extracted from production systems at Juspay and battle-tested at enterprise scale, NeuroLink provides a production-ready solution for integrating AI into any application. Whether you're building with OpenAI, Anthropic, Google, AWS Bedrock, Azure, or any of our 21+ supported providers, NeuroLink gives you a single, consistent interface that works everywhere.
32
32
 
33
33
  **Why NeuroLink?** Switch providers with a single parameter change, leverage 64+ built-in tools and MCP servers, deploy with confidence using enterprise features like Redis memory and multi-provider failover, and optimize costs automatically with intelligent routing. Use it via our professional CLI or TypeScript SDKβ€”whichever fits your workflow.
34
34
 
@@ -40,63 +40,63 @@ Extracted from production systems at Juspay and battle-tested at enterprise scal
40
40
 
41
41
  ## What's New (Q1 2026)
42
42
 
43
- | Feature | Version | Description | Guide |
44
- | ----------------------------------- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------ |
45
- | **Multi-Provider Voice (TTS/STT)** | unreleased | 4 TTS providers (OpenAI TTS, ElevenLabs, Google TTS, Azure TTS) + 4 STT providers (Whisper, Deepgram, Azure STT, Google STT) + 2 realtime APIs (OpenAI Realtime, Gemini Live). CLI `--tts` / `--stt` flags. | [TTS Guide](docs/features/tts.md) \| [STT Guide](docs/features/audio-input.md) |
46
- | **Gemini 3 Multi-turn Tool Fix** | v9.49.0 | Fixed multi-step agentic tool calling on Vertex AI Gemini 3 models. Correct `thoughtSignature` replay, `stepIndex` parallel-call grouping, `executionId` session isolation, 5-min timeout, silent-timeout surfacing. | [Vertex AI Guide](docs/getting-started/providers/google-vertex.md) |
47
- | **AutoResearch** | v9.17.0 | Autonomous AI experiment engine: proposes code changes, runs experiments, evaluates metrics, keeps improvements β€” unattended for hours. | [AutoResearch Guide](docs/features/autoresearch.md) |
48
- | **MCP Enhancements** | v9.16.0 | Advanced MCP features: tool routing, result caching, request batching, annotations, elicitation, custom server base, multi-server management | [MCP Enhancements Guide](docs/features/mcp-enhancements.md) |
49
- | **Memory** | v9.12.0 | Per-user condensed memory that persists across conversations. LLM-powered condensation with S3, Redis, or SQLite backends. | [Memory Guide](docs/features/memory.md) |
50
- | **Context Window Management** | v9.2.0 | 4-stage compaction pipeline with auto-detection, budget gate at 80% usage, per-provider token estimation | [Context Compaction Guide](docs/features/context-compaction.md) |
51
- | **Tool Execution Control** | v9.3.0 | `prepareStep` and `toolChoice` support for per-step tool enforcement in multi-step agentic loops. API-level control over tool calls. | [API Reference](docs/api/type-aliases/GenerateOptions.md#preparestep) |
52
- | **File Processor System** | v9.1.0 | 17+ file type processors with ProcessorRegistry, security sanitization, SVG text injection | [File Processors Guide](docs/features/file-processors.md) |
53
- | **RAG with generate()/stream()** | v9.2.0 | Pass `rag: { files }` to generate/stream for automatic document chunking, embedding, and AI-powered search. 10 chunking strategies, hybrid search, reranking. | [RAG Guide](docs/features/rag.md) |
54
- | **External TracerProvider Support** | v8.43.0 | Integrate NeuroLink with existing OpenTelemetry instrumentation. Prevents duplicate registration conflicts. | [Observability Guide](docs/features/observability.md) |
55
- | **Server Adapters** | v8.43.0 | Multi-framework HTTP server with Hono, Express, Fastify, Koa support. Full CLI for server management with foreground/background modes. | [Server Adapters Guide](docs/guides/server-adapters/index.md) |
56
- | **Title Generation Events** | v8.38.0 | Emit `conversation:titleGenerated` event when conversation title is generated. Supports custom title prompts via `NEUROLINK_TITLE_PROMPT`. | [Conversation Memory Guide](docs/conversation-memory.md) |
57
- | **Video Generation with Veo** | v8.32.0 | Video generation using Veo 3.1 (`veo-3.1`). Realistic video generation with many parameter options | [Video Generation Guide](docs/features/video-generation.md) |
58
- | **Image Generation with Gemini** | v8.31.0 | Native image generation using Gemini 2.0 Flash Experimental (`imagen-3.0-generate-002`). High-quality image synthesis directly from Google AI. | [Image Generation Guide](docs/image-generation-streaming.md) |
59
- | **HTTP/Streamable HTTP Transport** | v8.29.0 | Connect to remote MCP servers via HTTP with authentication headers, automatic retry with exponential backoff, and configurable rate limiting. | [HTTP Transport Guide](docs/mcp-http-transport.md) |
60
-
61
- - **Multi-Provider Voice (TTS/STT)** – Full voice pipeline with 4 TTS providers (OpenAI TTS, ElevenLabs, Google TTS, Azure TTS), 4 STT providers (Whisper, Deepgram, Azure STT, Google STT), and 2 realtime APIs (OpenAI Realtime, Gemini Live). Pass `--tts` / `--stt` flags in the CLI or configure via `tts` / `stt` in the SDK. β†’ [TTS Guide](docs/features/tts.md) | [STT Guide](docs/features/audio-input.md) | [Realtime Guide](docs/features/real-time-services.md)
62
- - **AutoResearch** – Autonomous AI experiment engine inspired by Karpathy's autoresearch. Phase-gated tool access, git-backed safety, deterministic metric evaluation, and TaskManager integration for continuous unattended research. 12 research tools, 10 typed events, 9 CLI subcommands. β†’ [AutoResearch Guide](docs/features/autoresearch.md)
63
- - **Memory** – Per-user condensed memory that persists across all conversations. Automatically retrieves and stores memory on each `generate()`/`stream()` call. Supports S3, Redis, and SQLite storage with LLM-powered condensation. β†’ [Memory Guide](docs/features/memory.md)
64
- - **External TracerProvider Support** – Integrate NeuroLink with applications that already have OpenTelemetry instrumentation. Supports auto-detection and manual configuration. β†’ [Observability Guide](docs/features/observability.md)
65
- - **Claude Proxy Telemetry** – Bootstrap a local OpenObserve + OTEL collector stack with `neurolink proxy telemetry setup`, import the maintained NeuroLink Proxy Observability dashboard, and inspect proxy logs, traces, metrics, cache reuse, and routing behavior. β†’ [Claude Proxy Guide](docs/features/claude-proxy.md) | [Proxy Observability Guide](docs/features/claude-proxy-observability.md)
66
- - **Server Adapters** – Deploy NeuroLink as an HTTP API server with your framework of choice (Hono, Express, Fastify, Koa). Full CLI support with `serve` and `server` commands for foreground/background modes, route management, and OpenAPI generation. β†’ [Server Adapters Guide](docs/guides/server-adapters/index.md)
67
- - **Title Generation Events** – Emit real-time events when conversation titles are auto-generated. Listen to `conversation:titleGenerated` for session tracking. β†’ [Conversation Memory Guide](docs/conversation-memory.md#title-generation-events)
68
- - **Custom Title Prompts** – Customize conversation title generation with `NEUROLINK_TITLE_PROMPT` environment variable. Use `${userMessage}` placeholder for dynamic prompts. β†’ [Conversation Memory Guide](docs/conversation-memory.md#customizing-the-title-prompt)
69
- - **Video Generation** – Transform images into 8-second videos with synchronized audio using Google Veo 3.1 via Vertex AI. Supports 720p/1080p resolutions, portrait/landscape aspect ratios. β†’ [Video Generation Guide](docs/features/video-generation.md)
70
- - **PPT Generation** – Create professional PowerPoint presentations from text prompts with 35 slide types (title, content, charts, timelines, dashboards, composite layouts), 5 themes, and optional AI-generated images. Works with Vertex AI, OpenAI, Anthropic, Google AI, Azure, and Bedrock. β†’ [PPT Generation Guide](docs/features/ppt-generation.md)
71
- - **Image Generation** – Generate images from text prompts using Gemini models via Vertex AI or Google AI Studio. Supports streaming mode with automatic file saving. β†’ [Image Generation Guide](docs/image-generation-streaming.md)
72
- - **RAG with generate()/stream()** – Just pass `rag: { files: ["./docs/guide.md"] }` to `generate()` or `stream()`. NeuroLink auto-chunks, embeds, and creates a search tool the AI can invoke. 10 chunking strategies, hybrid search, 5 reranker types. β†’ [RAG Guide](docs/features/rag.md)
73
- - **HTTP/Streamable HTTP Transport for MCP** – Connect to remote MCP servers via HTTP with authentication headers, retry logic, and rate limiting. β†’ [HTTP Transport Guide](docs/mcp-http-transport.md)
74
- - 🧠 **Gemini 3 Native Multi-turn Tool Calling** β€” Fixed multi-step agentic tool calling for Gemini 3 models on Vertex AI. The native `@google/genai` path now correctly replays `thoughtSignature` as a sibling field on each `functionCall` part, groups parallel tool calls by `stepIndex`, enforces a 5-minute default timeout on the generate path, and surfaces silent timeouts as proper `TimeoutError` instead of empty responses. Multi-execution session overlap (where `continueOrchestratorWorkflow` restarts the loop on the same `sessionId`) is addressed by an `executionId` per invocation as a composite grouping key β€” this prevents tool calls from two different executions colliding into the same Gemini model turn and causing the model to return 0 function calls.
75
- - 🧠 **Gemini 3 Preview Support** - Full support for gemini-3-flash-preview and gemini-3-pro-preview with extended thinking capabilities
76
- - 🎯 **Tool Execution Control** – Use `prepareStep` to enforce specific tool calls, change the LLM models per step in multi-step agentic executions. Prevents LLMs from skipping required tools. Use `toolChoice` for static control, or `prepareStep` for dynamic per-step logic. β†’ [GenerateOptions Reference](docs/api/type-aliases/GenerateOptions.md#preparestep)
77
- - **Structured Output with Zod Schemas** – Type-safe JSON generation with automatic validation using `schema` + `output.format: "json"` in `generate()`. β†’ [Structured Output Guide](docs/features/structured-output.md)
78
- - **CSV File Support** – Attach CSV files to prompts for AI-powered data analysis with auto-detection. β†’ [CSV Guide](docs/features/multimodal-chat.md#csv-file-support)
79
- - **PDF File Support** – Process PDF documents with native visual analysis for Vertex AI, Anthropic, Bedrock, AI Studio. β†’ [PDF Guide](docs/features/pdf-support.md)
80
- - **50+ File Types** – Process Excel, Word, RTF, JSON, YAML, XML, HTML, SVG, Markdown, and 50+ code languages with intelligent content extraction. β†’ [File Processors Guide](docs/features/file-processors.md)
81
- - **LiteLLM Integration** – Access 100+ AI models from all major providers through unified interface. β†’ [Setup Guide](docs/litellm-integration.md)
82
- - **SageMaker Integration** – Deploy and use custom trained models on AWS infrastructure. β†’ [Setup Guide](docs/sagemaker-integration.md)
83
- - **OpenRouter Integration** – Access 300+ models from OpenAI, Anthropic, Google, Meta, and more through a single unified API. β†’ [Setup Guide](docs/getting-started/providers/openrouter.md)
84
- - **Human-in-the-loop workflows** – Pause generation for user approval/input before tool execution. β†’ [HITL Guide](docs/features/hitl.md)
85
- - **Guardrails middleware** – Block PII, profanity, and unsafe content with built-in filtering. β†’ [Guardrails Guide](docs/features/guardrails.md)
86
- - **Context summarization** – Automatic conversation compression for long-running sessions. β†’ [Summarization Guide](docs/context-summarization.md)
87
- - **MCP Enhancements** – 14 production-grade modules: tool routing (6 strategies), result caching (LRU/FIFO/LFU), request batching, tool annotations with auto-inference, middleware chain, elicitation protocol, multi-server management, and more. β†’ [MCP Enhancements Guide](docs/features/mcp-enhancements.md)
88
- - **Redis conversation export** – Export full session history as JSON for analytics and debugging. β†’ [History Guide](docs/features/conversation-history.md)
43
+ | Feature | Version | Description | Guide |
44
+ | ---------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------- |
45
+ | **Multi-Provider Voice (TTS/STT)** | v9.62.0 | 4 TTS providers (OpenAI TTS, ElevenLabs, Google TTS, Azure TTS) + 4 STT providers (Whisper, Deepgram, Azure STT, Google STT) + 2 realtime APIs (OpenAI Realtime, Gemini Live). | [TTS Guide](docs/features/tts.md) \| [STT Guide](docs/features/audio-input.md) \| [Realtime Guide](docs/features/real-time-services.md) |
46
+ | **4 New Providers** | v9.60.0 | DeepSeek (V3/R1), NVIDIA NIM (400+ catalog), LM Studio (local), llama.cpp (GGUF local). | [Provider Setup](docs/getting-started/provider-setup.md) |
47
+ | **ModelAccessDeniedError** | v9.59.0 | Typed `ModelAccessDeniedError` + `sdk.checkCredentials()` API for proactive credential validation before first call. | [Error Reference](docs/reference/troubleshooting.md) |
48
+ | **Provider Fallback Policy** | v9.58.0 | `providerFallback` callback + `modelChain` config for centralized multi-provider fallback logic. | [Advanced Guide](docs/advanced/index.md) |
49
+ | **Per-Request Credentials** | v9.52.0 | Pass credentials per-call or per-instance for all providers. Per-call overrides instance; instance overrides env vars. | [Credentials Guide](docs/features/per-request-credentials.md) |
50
+ | **AutoResearch** | v9.53.0 | Autonomous AI experiment engine: proposes code changes, runs experiments, evaluates metrics β€” unattended for hours. | [AutoResearch Guide](docs/features/autoresearch.md) |
51
+ | **Gemini 3 Multi-turn Tool Fix** | v9.49.0 | Fixed multi-step agentic tool calling on Vertex AI Gemini 3. Correct `thoughtSignature` replay, `stepIndex` grouping, `executionId` session isolation, 5-min timeout. | [Vertex AI Guide](docs/getting-started/providers/google-vertex.md) |
52
+ | **MCP Enhancements** | v9.16.0 | Tool routing (6 strategies), result caching (LRU/FIFO/LFU), request batching, annotations, elicitation protocol, multi-server management. | [MCP Enhancements Guide](docs/features/mcp-enhancements.md) |
53
+ | **Memory** | v9.12.0 | Per-user condensed memory across conversations. LLM-powered condensation with S3, Redis, or SQLite. | [Memory Guide](docs/features/memory.md) |
54
+ | **Context Window Management** | v9.2.0 | 4-stage compaction pipeline with budget gate at 80% usage, per-provider token estimation. | [Context Compaction Guide](docs/features/context-compaction.md) |
55
+ | **Tool Execution Control** | v9.3.0 | `prepareStep` and `toolChoice` for per-step tool enforcement in multi-step agentic loops. | [API Reference](docs/api/type-aliases/GenerateOptions.md#preparestep) |
56
+ | **File Processor System** | v9.1.0 | 17+ file type processors with ProcessorRegistry, security sanitization, SVG text injection. | [File Processors Guide](docs/features/file-processors.md) |
57
+ | **RAG with generate()/stream()** | v9.2.0 | Pass `rag: { files }` for automatic document chunking, embedding, and AI-powered search. 10 chunking strategies, hybrid search, reranking. | [RAG Guide](docs/features/rag.md) |
89
58
 
90
59
  ```typescript
91
- // Image Generation with Gemini (v8.31.0)
92
- const image = await neurolink.generate({
93
- input: { text: "A futuristic cityscape" },
94
- provider: "google-ai",
95
- model: "imagen-3.0-generate-002",
60
+ // Multi-Provider Voice (v9.62.0) β€” TTS + STT
61
+ // Voice is configured via the `tts` / `stt` options on generate() / stream(),
62
+ // not via dedicated synthesizeSpeech / transcribeAudio methods.
63
+
64
+ // Text in, audio out (TTS)
65
+ const result = await neurolink.generate({
66
+ input: { text: "Hello from NeuroLink" },
67
+ provider: "vertex",
68
+ tts: {
69
+ enabled: true,
70
+ voice: "en-US-Neural2-C",
71
+ format: "mp3",
72
+ output: "./output.mp3", // optional: save to disk
73
+ provider: "elevenlabs", // optional override: openai-tts | elevenlabs | google-ai | vertex | azure-tts
74
+ },
75
+ });
76
+ // result.audio: { buffer: Buffer, format: "mp3", ... }
77
+
78
+ // Audio in (STT), text out
79
+ const transcript = await neurolink.generate({
80
+ input: { text: "Transcribe and summarize" },
81
+ provider: "openai",
82
+ stt: {
83
+ enabled: true,
84
+ audio: audioBuffer, // Buffer of the audio file
85
+ provider: "whisper", // whisper | deepgram | google-stt | azure-stt
86
+ language: "en-US",
87
+ },
96
88
  });
97
- console.log(image.imageOutput?.base64); // Base64-encoded image
98
89
 
99
- // AutoResearch β€” autonomous experiment loop (v9.17.0)
90
+ // Real-time bidirectional voice (OpenAI Realtime / Gemini Live)
91
+ import { RealtimeProcessor } from "@juspay/neurolink";
92
+
93
+ await RealtimeProcessor.connect(
94
+ "openai-realtime",
95
+ { provider: "openai-realtime", model: "gpt-4o-realtime-preview" },
96
+ { onAudio, onTranscript, onError, onFunctionCall },
97
+ );
98
+
99
+ // AutoResearch β€” autonomous experiment loop (v9.53.0)
100
100
  import { resolveConfig, ResearchWorker } from "@juspay/neurolink/autoresearch";
101
101
 
102
102
  const config = resolveConfig({
@@ -113,29 +113,51 @@ const worker = new ResearchWorker(config);
113
113
  await worker.initialize("experiment-1");
114
114
  const result = await worker.runExperimentCycle("Try lower learning rate");
115
115
 
116
- // HTTP Transport for Remote MCP (v8.29.0)
117
- await neurolink.addExternalMCPServer("remote-tools", {
118
- transport: "http",
119
- url: "https://mcp.example.com/v1",
120
- headers: { Authorization: "Bearer token" },
121
- retries: 3,
122
- timeout: 15000,
116
+ // Provider Fallback Policy (v9.58.0) β€” fires only on ModelAccessDeniedError
117
+ import { NeuroLink, ModelAccessDeniedError } from "@juspay/neurolink";
118
+
119
+ const neurolink = new NeuroLink({
120
+ // Async callback. Single error arg. Return null to give up,
121
+ // or { provider?, model? } to retry with a substitute.
122
+ providerFallback: async (error) => {
123
+ if (
124
+ error instanceof ModelAccessDeniedError &&
125
+ error.allowedModels?.length
126
+ ) {
127
+ return { model: error.allowedModels[0] };
128
+ }
129
+ return null;
130
+ },
131
+ // Sugar over providerFallback: if no callback is set, NeuroLink walks this list
132
+ // on each access denial. modelChain is `string[]` only (model names; same provider).
133
+ modelChain: ["claude-opus-4-7", "claude-sonnet-4-6", "gpt-4o"],
123
134
  });
124
135
  ```
125
136
 
126
137
  ---
127
138
 
128
139
  <details>
129
- <summary><strong>Previous Updates (Q4 2025)</strong></summary>
130
-
131
- - **Image Generation** – Generate images from text prompts using Gemini models via Vertex AI or Google AI Studio. β†’ [Guide](docs/image-generation-streaming.md)
132
- - **Gemini 3 Preview Support** - Full support for `gemini-3-flash-preview` and `gemini-3-pro-preview` with extended thinking
133
- - **Structured Output with Zod Schemas** – Type-safe JSON generation with automatic validation. β†’ [Guide](docs/features/structured-output.md)
134
- - **CSV & PDF File Support** – Attach CSV/PDF files to prompts with auto-detection. β†’ [CSV](docs/features/multimodal-chat.md#csv-file-support) | [PDF](docs/features/pdf-support.md)
135
- - **LiteLLM & SageMaker** – Access 100+ models via LiteLLM, deploy custom models on SageMaker. β†’ [LiteLLM](docs/litellm-integration.md) | [SageMaker](docs/sagemaker-integration.md)
136
- - **OpenRouter Integration** – Access 300+ models through a single unified API. β†’ [Guide](docs/getting-started/providers/openrouter.md)
137
- - **HITL & Guardrails** – Human-in-the-loop approval workflows and content filtering middleware. β†’ [HITL](docs/features/hitl.md) | [Guardrails](docs/features/guardrails.md)
138
- - **Redis & Context Management** – Session export, conversation history, and automatic summarization. β†’ [History](docs/features/conversation-history.md)
140
+ <summary><strong>Previous Updates (Q3–Q4 2025)</strong></summary>
141
+
142
+ - **Sharp image compression** (v9.50.0) – Automatic image compression for AI providers via the sharp library; reduces upload bandwidth and bypasses provider size limits.
143
+ - **Redis URL/TLS** (v9.49.0) – Redis URL-based connections with TLS support for secure conversation memory in production.
144
+ - **TaskManager** (v9.41.0) – Scheduled and self-running AI tasks; cron-style execution with state checkpointing.
145
+ - **Multi-user memory retrieval** (v9.40.0) – Per-user memory storage and retrieval with customizable prompts.
146
+ - **Evaluation Scoring (14 scorers)** (v9.37.0) – Modular evaluation system with 14 scorers, pipelines, and CLI for offline quality assessment.
147
+ - **Browser-compatible bundle** (v9.34.0) – Client-side SDK bundle for browser use; no Node.js dependency for the core API.
148
+ - **Per-call memory control** (v9.33.0) – Read/write memory control per `generate()` and `stream()` call.
149
+ - **Server Adapters** (v8.43.0) – HTTP server with Hono, Express, Fastify, Koa. Foreground/background modes, route management, OpenAPI generation. β†’ [Guide](docs/guides/server-adapters/index.md)
150
+ - **External TracerProvider** (v8.43.0) – Integrate NeuroLink with existing OpenTelemetry setups. β†’ [Guide](docs/features/observability.md)
151
+ - **Title Generation Events** (v8.38.0) – `conversation:titleGenerated` event + `NEUROLINK_TITLE_PROMPT` custom titles. β†’ [Guide](docs/conversation-memory.md)
152
+ - **Video Generation with Veo** (v8.32.0) – Video generation via Google Veo 3.1 on Vertex AI. 720p/1080p, portrait/landscape. β†’ [Guide](docs/features/video-generation.md)
153
+ - **Image Generation** (v8.31.0) – Native image generation with Gemini and Imagen models. β†’ [Guide](docs/image-generation-streaming.md)
154
+ - **HTTP/Streamable HTTP Transport** (v8.29.0) – Remote MCP servers via HTTP with auth headers, retry, rate limiting. β†’ [Guide](docs/mcp-http-transport.md)
155
+ - **PPT Generation** – 35 slide types, 5 themes, optional AI-generated images. Works across all major providers. β†’ [Guide](docs/features/ppt-generation.md)
156
+ - **Structured Output with Zod** – Type-safe JSON via `schema` + `output.format: "json"`. β†’ [Guide](docs/features/structured-output.md)
157
+ - **CSV & PDF File Support** – Attach CSV/PDF with auto-detection. PDF: native visual analysis on Vertex, Anthropic, Bedrock, AI Studio. β†’ [CSV](docs/features/multimodal-chat.md#csv-file-support) | [PDF](docs/features/pdf-support.md)
158
+ - **LiteLLM, SageMaker & OpenRouter** – 100+ models via LiteLLM, custom endpoints on SageMaker, 300+ via OpenRouter. β†’ [LiteLLM](docs/litellm-integration.md) | [SageMaker](docs/sagemaker-integration.md)
159
+ - **HITL & Guardrails** – Human-in-the-loop approval workflows and content filtering. β†’ [HITL](docs/features/hitl.md) | [Guardrails](docs/features/guardrails.md)
160
+ - **Redis Conversation Export** – Export full session history as JSON for analytics and audit. β†’ [Guide](docs/features/conversation-history.md)
139
161
 
140
162
  </details>
141
163
 
@@ -197,7 +219,7 @@ npx @juspay/neurolink --help
197
219
 
198
220
  ### Configuration
199
221
 
200
- NeuroLink works with 17+ AI providers. You'll need at least one API key to get started:
222
+ NeuroLink works with 21+ AI providers. You'll need at least one API key to get started:
201
223
 
202
224
  **Option 1: Interactive Setup (Recommended)**
203
225
 
@@ -384,7 +406,7 @@ const result = await neurolink.generate({
384
406
  ### Next Steps
385
407
 
386
408
  - **[Complete Documentation](https://docs.neurolink.ink)** - Comprehensive guides and API reference
387
- - **[Provider Setup Guide](docs/getting-started/provider-setup.md)** - Configure all 17 providers
409
+ - **[Provider Setup Guide](docs/getting-started/provider-setup.md)** - Configure all 21+ providers
388
410
  - **[SDK API Reference](docs/sdk/api-reference.md)** - Full TypeScript API documentation
389
411
  - **[CLI Command Reference](docs/cli/commands.md)** - Complete CLI documentation
390
412
  - **[Example Projects](docs/examples/index.md)** - Real-world integration examples
@@ -416,34 +438,34 @@ NeuroLink is a comprehensive AI development platform. Every feature below is pro
416
438
 
417
439
  ### πŸ€– AI Provider Integration
418
440
 
419
- **17 providers unified under one API** - Switch providers with a single parameter change.
420
-
421
- | Provider | Models | Free Tier | Tool Support | Status | Documentation |
422
- | --------------------- | -------------------------------------------------- | --------------- | ------------ | ------------- | ----------------------------------------------------------------------------------------------------------------------------- |
423
- | **OpenAI** | GPT-4o, GPT-4o-mini, o1 | ❌ | βœ… Full | βœ… Production | [Setup Guide](docs/getting-started/provider-setup.md#openai) |
424
- | **Anthropic** | Claude 4.5 Opus/Sonnet/Haiku, Claude 4 Opus/Sonnet | ❌ | βœ… Full | βœ… Production | [Setup Guide](docs/getting-started/provider-setup.md#anthropic) \| [Subscription Guide](docs/features/claude-subscription.md) |
425
- | **Google AI Studio** | Gemini 3 Flash/Pro, Gemini 2.5 Flash/Pro | βœ… Free Tier | βœ… Full | βœ… Production | [Setup Guide](docs/getting-started/provider-setup.md#google-ai) |
426
- | **AWS Bedrock** | Claude, Titan, Llama, Nova | ❌ | βœ… Full | βœ… Production | [Setup Guide](docs/getting-started/provider-setup.md#bedrock) |
427
- | **Google Vertex** | Gemini 3/2.5 (gemini-3-\*-preview) | ❌ | βœ… Full | βœ… Production | [Setup Guide](docs/getting-started/provider-setup.md#vertex) |
428
- | **Azure OpenAI** | GPT-4, GPT-4o, o1 | ❌ | βœ… Full | βœ… Production | [Setup Guide](docs/getting-started/provider-setup.md#azure) |
429
- | **LiteLLM** | 100+ models unified | Varies | βœ… Full | βœ… Production | [Setup Guide](docs/litellm-integration.md) |
430
- | **AWS SageMaker** | Custom deployed models | ❌ | βœ… Full | βœ… Production | [Setup Guide](docs/sagemaker-integration.md) |
431
- | **Mistral AI** | Mistral Large, Small | βœ… Free Tier | βœ… Full | βœ… Production | [Setup Guide](docs/getting-started/provider-setup.md#mistral) |
432
- | **Hugging Face** | 100,000+ models | βœ… Free | ⚠️ Partial | βœ… Production | [Setup Guide](docs/getting-started/provider-setup.md#huggingface) |
433
- | **Ollama** | Local models (Llama, Mistral) | βœ… Free (Local) | ⚠️ Partial | βœ… Production | [Setup Guide](docs/getting-started/provider-setup.md#ollama) |
434
- | **OpenAI Compatible** | Any OpenAI-compatible endpoint | Varies | βœ… Full | βœ… Production | [Setup Guide](docs/getting-started/provider-setup.md#openai-compatible) |
435
- | **OpenRouter** | 200+ Models via OpenRouter | Varies | βœ… Full | βœ… Production | [Setup Guide](docs/getting-started/providers/openrouter.md) |
436
- | **DeepSeek** | deepseek-chat (V3), deepseek-reasoner (R1) | ❌ | βœ… Full | βœ… Production | [Setup Guide](docs/getting-started/provider-setup.md#deepseek) |
437
- | **NVIDIA NIM** | Llama 3.3 70B, 400+ catalog models | ❌ | βœ… Full | βœ… Production | [Setup Guide](docs/getting-started/provider-setup.md#nvidia-nim) |
438
- | **LM Studio** | Any model loaded in LM Studio (local) | βœ… Free (Local) | βœ… Full | βœ… Production | [Setup Guide](docs/getting-started/provider-setup.md#lm-studio) |
439
- | **llama.cpp** | Any GGUF model served by llama-server (local) | βœ… Free (Local) | βœ… Full | βœ… Production | [Setup Guide](docs/getting-started/provider-setup.md#llamacpp) |
440
- | **OpenAI TTS** | TTS-1, TTS-1-HD, GPT-4o Audio | ❌ | N/A | βœ… Production | [Setup Guide](docs/getting-started/provider-setup.md#openai-tts) |
441
- | **ElevenLabs** | Multilingual v2, Turbo v2.5, Flash v2.5 | βœ… Free Tier | N/A | βœ… Production | [Setup Guide](docs/getting-started/provider-setup.md#elevenlabs) |
442
- | **Deepgram** | Nova-3, Nova-2, Enhanced, Base (STT) | βœ… Free Tier | N/A | βœ… Production | [Setup Guide](docs/getting-started/provider-setup.md#deepgram) |
443
- | **Azure Speech** | Azure Cognitive Services TTS + STT | ❌ | N/A | βœ… Production | [Setup Guide](docs/getting-started/provider-setup.md#azure-speech) |
441
+ **21+ providers unified under one API** - Switch providers with a single parameter change.
442
+
443
+ | Provider | Models | Free Tier | Tool Support | Status | Documentation |
444
+ | --------------------- | -------------------------------------------------------------------------- | --------------- | ------------ | ------------- | ----------------------------------------------------------------------------------------------------------------------------- |
445
+ | **OpenAI** | GPT-4o, GPT-4o-mini, o1 | ❌ | βœ… Full | βœ… Production | [Setup Guide](docs/getting-started/provider-setup.md#openai) |
446
+ | **Anthropic** | Claude 4.6 Opus/Sonnet, Claude 4.5 Opus/Sonnet/Haiku, Claude 4 Opus/Sonnet | ❌ | βœ… Full | βœ… Production | [Setup Guide](docs/getting-started/provider-setup.md#anthropic) \| [Subscription Guide](docs/features/claude-subscription.md) |
447
+ | **Google AI Studio** | Gemini 3 Flash/Pro, Gemini 2.5 Flash/Pro | βœ… Free Tier | βœ… Full | βœ… Production | [Setup Guide](docs/getting-started/provider-setup.md#google-ai) |
448
+ | **AWS Bedrock** | Claude, Titan, Llama, Nova | ❌ | βœ… Full | βœ… Production | [Setup Guide](docs/getting-started/provider-setup.md#bedrock) |
449
+ | **Google Vertex** | Gemini 3/2.5 (gemini-3-\*-preview) | ❌ | βœ… Full | βœ… Production | [Setup Guide](docs/getting-started/provider-setup.md#vertex) |
450
+ | **Azure OpenAI** | GPT-4, GPT-4o, o1 | ❌ | βœ… Full | βœ… Production | [Setup Guide](docs/getting-started/provider-setup.md#azure) |
451
+ | **LiteLLM** | 100+ models unified | Varies | βœ… Full | βœ… Production | [Setup Guide](docs/litellm-integration.md) |
452
+ | **AWS SageMaker** | Custom deployed models | ❌ | βœ… Full | βœ… Production | [Setup Guide](docs/sagemaker-integration.md) |
453
+ | **Mistral AI** | Mistral Large, Small | βœ… Free Tier | βœ… Full | βœ… Production | [Setup Guide](docs/getting-started/provider-setup.md#mistral) |
454
+ | **Hugging Face** | 100,000+ models | βœ… Free | ⚠️ Partial | βœ… Production | [Setup Guide](docs/getting-started/provider-setup.md#huggingface) |
455
+ | **Ollama** | Local models (Llama, Mistral) | βœ… Free (Local) | ⚠️ Partial | βœ… Production | [Setup Guide](docs/getting-started/provider-setup.md#ollama) |
456
+ | **OpenAI Compatible** | Any OpenAI-compatible endpoint | Varies | βœ… Full | βœ… Production | [Setup Guide](docs/getting-started/provider-setup.md#openai-compatible) |
457
+ | **OpenRouter** | 200+ Models via OpenRouter | Varies | βœ… Full | βœ… Production | [Setup Guide](docs/getting-started/providers/openrouter.md) |
458
+ | **DeepSeek** | deepseek-chat (V3), deepseek-reasoner (R1) | ❌ | βœ… Full | βœ… Production | [Setup Guide](docs/getting-started/provider-setup.md#deepseek) |
459
+ | **NVIDIA NIM** | Llama 3.3 70B, 400+ catalog models | ❌ | βœ… Full | βœ… Production | [Setup Guide](docs/getting-started/provider-setup.md#nvidia-nim) |
460
+ | **LM Studio** | Any model loaded in LM Studio (local) | βœ… Free (Local) | βœ… Full | βœ… Production | [Setup Guide](docs/getting-started/provider-setup.md#lm-studio) |
461
+ | **llama.cpp** | Any GGUF model served by llama-server (local) | βœ… Free (Local) | βœ… Full | βœ… Production | [Setup Guide](docs/getting-started/provider-setup.md#llamacpp) |
462
+ | **OpenAI TTS** | TTS-1, TTS-1-HD, GPT-4o Audio | ❌ | N/A | βœ… Production | [Setup Guide](docs/getting-started/provider-setup.md#openai-tts) |
463
+ | **ElevenLabs** | Multilingual v2, Turbo v2.5, Flash v2.5 | βœ… Free Tier | N/A | βœ… Production | [Setup Guide](docs/getting-started/provider-setup.md#elevenlabs) |
464
+ | **Deepgram** | Nova-3, Nova-2, Enhanced, Base (STT) | βœ… Free Tier | N/A | βœ… Production | [Setup Guide](docs/getting-started/provider-setup.md#deepgram) |
465
+ | **Azure Speech** | Azure Cognitive Services TTS + STT | ❌ | N/A | βœ… Production | [Setup Guide](docs/getting-started/provider-setup.md#azure-speech) |
444
466
 
445
467
  **[πŸ“– Provider Comparison Guide](docs/reference/provider-comparison.md)** - Detailed feature matrix and selection criteria
446
- **[πŸ”¬ Provider Feature Compatibility](docs/reference/provider-feature-compatibility.md)** - Test-based compatibility reference for all 19 features across 13 providers
468
+ **[πŸ”¬ Provider Feature Compatibility](docs/reference/provider-feature-compatibility.md)** - Test-based compatibility reference for all 19 features across 21+ providers
447
469
 
448
470
  ---
449
471
 
@@ -599,7 +621,7 @@ const result = await neurolink.generate({
599
621
  - **ProcessorRegistry** - Priority-based processor selection with fallback
600
622
  - **OWASP Security** - HTML/SVG sanitization prevents XSS attacks
601
623
  - **Auto-detection** - FileDetector identifies file types by extension and content
602
- - **Provider-agnostic** - All processors work across all 17 AI providers
624
+ - **Provider-agnostic** - All processors work across all 21+ AI providers
603
625
 
604
626
  **[πŸ“– File Processors Guide](docs/features/file-processors.md)** - Complete reference for all file types
605
627
 
@@ -729,7 +751,7 @@ node your-app.js
729
751
 
730
752
  ### πŸ€– GitHub Action
731
753
 
732
- Run AI-powered workflows directly in GitHub Actions with 13 provider support and automatic PR/issue commenting.
754
+ Run AI-powered workflows directly in GitHub Actions with 21+ provider support and automatic PR/issue commenting.
733
755
 
734
756
  ```yaml
735
757
  - uses: juspay/neurolink@v1
@@ -741,7 +763,7 @@ Run AI-powered workflows directly in GitHub Actions with 13 provider support and
741
763
 
742
764
  | Feature | Description |
743
765
  | ---------------------- | ----------------------------------------------------------------------------------------- |
744
- | **Multi-Provider** | 17 providers with unified interface |
766
+ | **Multi-Provider** | 21+ providers with unified interface |
745
767
  | **PR/Issue Comments** | Auto-post AI responses with intelligent updates |
746
768
  | **Multimodal Support** | Attach images, PDFs, CSVs, Excel, Word, JSON, YAML, XML, HTML, SVG, code files to prompts |
747
769
  | **Cost Tracking** | Built-in analytics and quality evaluation |
@@ -767,7 +789,7 @@ NeuroLink features intelligent model selection and cost optimization:
767
789
  npx @juspay/neurolink generate "Hello" --optimize-cost
768
790
 
769
791
  # LiteLLM specific model selection
770
- npx @juspay/neurolink generate "Complex analysis" --provider litellm --model "anthropic/claude-3-5-sonnet"
792
+ npx @juspay/neurolink generate "Complex analysis" --provider litellm --model "anthropic/claude-sonnet-4-6"
771
793
 
772
794
  # Auto-select best available provider
773
795
  npx @juspay/neurolink generate "Write code" # Automatically chooses optimal provider
@@ -934,12 +956,13 @@ Full command and API breakdown lives in [`docs/cli/commands.md`](docs/cli/comman
934
956
 
935
957
  | Capability | Highlights |
936
958
  | ------------------------ | ------------------------------------------------------------------------------------------------------------------------ |
937
- | **Provider unification** | 17+ providers with automatic fallback, cost-aware routing, provider orchestration (Q3). |
959
+ | **Provider unification** | 21+ providers with automatic fallback, cost-aware routing, `providerFallback` policy, `modelChain` config. |
938
960
  | **Multimodal pipeline** | Stream images + CSV data + PDF documents across providers with local/remote assets. Auto-detection for mixed file types. |
939
- | **Quality & governance** | Auto-evaluation engine (Q3), guardrails middleware (Q4), HITL workflows (Q4), audit logging. |
940
- | **Memory & context** | Conversation memory, Redis history export (Q4), context summarization (Q4). |
941
- | **CLI tooling** | Loop sessions (Q3), setup wizard, config validation, Redis auto-detect, JSON output. |
942
- | **Enterprise ops** | Proxy support, regional routing (Q3), telemetry hooks, local OpenObserve dashboard setup, configuration management. |
961
+ | **Voice pipeline** | TTS (4 providers) + STT (4 providers) + realtime voice APIs (OpenAI Realtime, Gemini Live). |
962
+ | **Quality & governance** | Auto-evaluation engine (14 scorers), guardrails middleware, HITL workflows, audit logging. |
963
+ | **Memory & context** | Per-user condensed memory (S3/Redis/SQLite), Redis session export, 4-stage context compaction. |
964
+ | **CLI tooling** | Loop sessions, setup wizard, config validation, Redis auto-detect, JSON output, TTS/STT flags. |
965
+ | **Enterprise ops** | Claude proxy, OTLP observability, OpenObserve dashboard, regional routing, credential management. |
943
966
  | **Tool ecosystem** | MCP auto discovery, HTTP/stdio/SSE/WebSocket transports, LiteLLM hub access, SageMaker custom deployment, web search. |
944
967
 
945
968
  ## Documentation Map