π§ NeuroLink The Enterprise AI SDK for Production Applications 13 Providers | 58+ MCP Tools | HITL Security | Redis Persistence Enterprise AI development platform with unified provider access, production-ready tooling, and an opinionated factory architecture. NeuroLink ships as both a TypeScript SDK and a professional CLI so teams can build, operate, and iterate on AI features quickly. NeuroLink i
Add this skill
npx mdskills install juspay/neurolinkComprehensive enterprise AI SDK with multi-provider support, but this is a README not actionable agent instructions
π§ NeuroLink The Enterprise AI SDK for Production Applications
13 Providers | 58+ MCP Tools | HITL Security | Redis Persistence
Enterprise AI development platform with unified provider access, production-ready tooling, and an opinionated factory architecture. NeuroLink ships as both a TypeScript SDK and a professional CLI so teams can build, operate, and iterate on AI features quickly.
NeuroLink is the universal AI integration platform that unifies 13 major AI providers and 100+ models under one consistent API.
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.
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.
Where we're headed: We're building for the future of AIβedge-first execution and continuous streaming architectures that make AI practically free and universally available. Read our vision β
**[Get Started in Previous Updates (Q4 2025)
gemini-3-flash-preview and gemini-3-pro-preview with extended thinkingNeuroLink includes a production-ready HITL system for regulated industries and high-stakes AI operations:
| Capability | Description | Use Case |
|---|---|---|
| Tool Approval Workflows | Require human approval before AI executes sensitive tools | Financial transactions, data modifications |
| Output Validation | Route AI outputs through human review pipelines | Medical diagnosis, legal documents |
| Confidence Thresholds | Automatically trigger human review below confidence level | Critical business decisions |
| Complete Audit Trail | Full audit logging for compliance (HIPAA, SOC2, GDPR) | Regulated industries |
import { NeuroLink } from "@juspay/neurolink";
const neurolink = new NeuroLink({
hitl: {
enabled: true,
requireApproval: ["writeFile", "executeCode", "sendEmail"],
confidenceThreshold: 0.85,
reviewCallback: async (action, context) => {
// Custom review logic - integrate with your approval system
return await yourApprovalSystem.requestReview(action);
},
},
});
// AI pauses for human approval before executing sensitive tools
const result = await neurolink.generate({
input: { text: "Send quarterly report to stakeholders" },
});
Enterprise HITL Guide | Quick Start
# 1. Run the interactive setup wizard (select providers, validate keys)
pnpm dlx @juspay/neurolink setup
# 2. Start generating with automatic provider selection
npx @juspay/neurolink generate "Write a launch plan for multimodal chat"
Need a persistent workspace? Launch loop mode with npx @juspay/neurolink loop - Learn more β
NeuroLink is a comprehensive AI development platform. Every feature below is production-ready and fully documented.
13 providers unified under one API - Switch providers with a single parameter change.
| Provider | Models | Free Tier | Tool Support | Status | Documentation |
|---|---|---|---|---|---|
| OpenAI | GPT-4o, GPT-4o-mini, o1 | β | β Full | β Production | Setup Guide |
| Anthropic | Claude 4.5 Opus/Sonnet/Haiku, Claude 4 Opus/Sonnet | β | β Full | β Production | Setup Guide |
| Google AI Studio | Gemini 3 Flash/Pro, Gemini 2.5 Flash/Pro | β Free Tier | β Full | β Production | Setup Guide |
| AWS Bedrock | Claude, Titan, Llama, Nova | β | β Full | β Production | Setup Guide |
| Google Vertex | Gemini 3/2.5 (gemini-3-*-preview) | β | β Full | β Production | Setup Guide |
| Azure OpenAI | GPT-4, GPT-4o, o1 | β | β Full | β Production | Setup Guide |
| LiteLLM | 100+ models unified | Varies | β Full | β Production | Setup Guide |
| AWS SageMaker | Custom deployed models | β | β Full | β Production | Setup Guide |
| Mistral AI | Mistral Large, Small | β Free Tier | β Full | β Production | Setup Guide |
| Hugging Face | 100,000+ models | β Free | β οΈ Partial | β Production | Setup Guide |
| Ollama | Local models (Llama, Mistral) | β Free (Local) | β οΈ Partial | β Production | Setup Guide |
| OpenAI Compatible | Any OpenAI-compatible endpoint | Varies | β Full | β Production | Setup Guide |
| OpenRouter | 200+ Models via OpenRouter | Varies | β Full | β Production | Setup Guide |
π Provider Comparison Guide - Detailed feature matrix and selection criteria π¬ Provider Feature Compatibility - Test-based compatibility reference for all 19 features across 13 providers
6 Core Tools (work across all providers, zero configuration):
| Tool | Purpose | Auto-Available | Documentation |
|---|---|---|---|
getCurrentTime | Real-time clock access | β | Tool Reference |
readFile | File system reading | β | Tool Reference |
writeFile | File system writing | β | Tool Reference |
listDirectory | Directory listing | β | Tool Reference |
calculateMath | Mathematical operations | β | Tool Reference |
websearchGrounding | Google Vertex web search | β οΈ Requires credentials | Tool Reference |
58+ External MCP Servers supported (GitHub, PostgreSQL, Google Drive, Slack, and more):
// stdio transport - local MCP servers via command execution
await neurolink.addExternalMCPServer("github", {
command: "npx",
args: ["-y", "@modelcontextprotocol/server-github"],
transport: "stdio",
env: { GITHUB_TOKEN: process.env.GITHUB_TOKEN },
});
// HTTP transport - remote MCP servers via URL
await neurolink.addExternalMCPServer("github-copilot", {
transport: "http",
url: "https://api.githubcopilot.com/mcp",
headers: { Authorization: "Bearer YOUR_COPILOT_TOKEN" },
timeout: 15000,
retries: 5,
});
// Tools automatically available to AI
const result = await neurolink.generate({
input: { text: 'Create a GitHub issue titled "Bug in auth flow"' },
});
MCP Transport Options:
| Transport | Use Case | Key Features |
|---|---|---|
stdio | Local servers | Command execution, environment variables |
http | Remote servers | URL-based, auth headers, retries, rate limiting |
sse | Event streams | Server-Sent Events, real-time updates |
websocket | Bi-directional | Full-duplex communication |
π MCP Integration Guide - Setup external servers π HTTP Transport Guide - Remote MCP server configuration
SDK-First Design with TypeScript, IntelliSense, and type safety:
| Feature | Description | Documentation |
|---|---|---|
| Auto Provider Selection | Intelligent provider fallback | SDK Guide |
| Streaming Responses | Real-time token streaming | Streaming Guide |
| Conversation Memory | Automatic context management | Memory Guide |
| Full Type Safety | Complete TypeScript types | Type Reference |
| Error Handling | Graceful provider fallback | Error Guide |
| Analytics & Evaluation | Usage tracking, quality scores | Analytics Guide |
| Middleware System | Request/response hooks | Middleware Guide |
| Framework Integration | Next.js, SvelteKit, Express | Framework Guides |
| Extended Thinking | Native thinking/reasoning mode for Gemini 3 and Claude models | Thinking Guide |
| RAG Document Processing | rag: { files } on generate/stream with 10 chunking strategies and hybrid search | RAG Guide |
17+ file categories supported (50+ total file types including code languages) with intelligent content extraction and provider-agnostic processing:
| Category | Supported Types | Processing |
|---|---|---|
| Documents | Excel (.xlsx, .xls), Word (.docx), RTF, OpenDocument | Sheet extraction, text extraction |
| Data | JSON, YAML, XML | Validation, syntax highlighting |
| Markup | HTML, SVG, Markdown, Text | OWASP-compliant sanitization |
| Code | 50+ languages (TypeScript, Python, Java, Go, etc.) | Language detection, syntax metadata |
| Config | .env, .ini, .toml, .cfg | Secure parsing |
| Media | Images (PNG, JPEG, WebP, GIF), PDFs, CSV | Provider-specific formatting |
// Process any supported file type
const result = await neurolink.generate({
input: {
text: "Analyze this data and code",
files: [
"./data.xlsx", // Excel spreadsheet
"./config.yaml", // YAML configuration
"./diagram.svg", // SVG (injected as sanitized text)
"./main.py", // Python source code
],
},
});
// CLI: Use --file for any supported type
// neurolink generate "Analyze this" --file ./report.xlsx --file ./config.json
Key Features:
π File Processors Guide - Complete reference for all file types
Production-ready capabilities for regulated industries:
| Feature | Description | Use Case | Documentation |
|---|---|---|---|
| Enterprise Proxy | Corporate proxy support | Behind firewalls | Proxy Setup |
| Redis Memory | Distributed conversation state | Multi-instance deployment | Redis Guide |
| Cost Optimization | Automatic cheapest model selection | Budget control | Cost Guide |
| Multi-Provider Failover | Automatic provider switching | High availability | Failover Guide |
| Telemetry & Monitoring | OpenTelemetry integration | Observability | Telemetry Guide |
| Security Hardening | Credential management, auditing | Compliance | Security Guide |
| Custom Model Hosting | SageMaker integration | Private models | SageMaker Guide |
| Load Balancing | LiteLLM proxy integration | Scale & routing | Load Balancing |
Security & Compliance:
π Enterprise Deployment Guide - Complete production checklist
Production-ready distributed conversation state for multi-instance deployments:
| Feature | Description | Benefit |
|---|---|---|
| Distributed Memory | Share conversation context across instances | Horizontal scaling |
| Session Export | Export full history as JSON | Analytics, debugging, audit |
| Auto-Detection | Automatic Redis discovery from environment | Zero-config in containers |
| Graceful Failover | Falls back to in-memory if Redis unavailable | High availability |
| TTL Management | Configurable session expiration | Memory management |
import { NeuroLink } from "@juspay/neurolink";
// Auto-detect Redis from REDIS_URL environment variable
const neurolink = new NeuroLink({
conversationMemory: {
enabled: true,
store: "redis", // Automatically uses REDIS_URL
ttl: 86400, // 24-hour session expiration
},
});
// Or explicit configuration
const neurolinkExplicit = new NeuroLink({
conversationMemory: {
enabled: true,
store: "redis",
redis: {
host: "redis.example.com",
port: 6379,
password: process.env.REDIS_PASSWORD,
tls: true, // Enable for production
},
},
});
// Export conversation for analytics
const history = await neurolink.exportConversation({ format: "json" });
await saveToDataWarehouse(history);
# Start Redis
docker run -d --name neurolink-redis -p 6379:6379 redis:7-alpine
# Configure NeuroLink
export REDIS_URL=redis://localhost:6379
# Start your application
node your-app.js
Redis Setup Guide | Production Configuration | Migration Patterns
15+ commands for every workflow:
| Command | Purpose | Example | Documentation |
|---|---|---|---|
setup | Interactive provider configuration | neurolink setup | Setup Guide |
generate | Text generation | neurolink gen "Hello" | Generate |
stream | Streaming generation | neurolink stream "Story" | Stream |
status | Provider health check | neurolink status | Status |
loop | Interactive session | neurolink loop | Loop |
mcp | MCP server management | neurolink mcp discover | MCP CLI |
models | Model listing | neurolink models | Models |
eval | Model evaluation | neurolink eval | Eval |
serve | Start HTTP server in foreground mode | neurolink serve | Serve |
server start | Start HTTP server in background mode | neurolink server start | Server |
server stop | Stop running background server | neurolink server stop | Server |
server status | Show server status information | neurolink server status | Server |
server routes | List all registered API routes | neurolink server routes | Server |
server config | View or modify server configuration | neurolink server config | Server |
server openapi | Generate OpenAPI specification | neurolink server openapi | Server |
rag chunk | Chunk documents for RAG | neurolink rag chunk f.md | RAG CLI |
RAG flags are available on generate and stream: --rag-files, --rag-strategy, --rag-chunk-size, --rag-chunk-overlap, --rag-top-k
π Complete CLI Reference - All commands and options
Run AI-powered workflows directly in GitHub Actions with 13 provider support and automatic PR/issue commenting.
- uses: juspay/neurolink@v1
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
prompt: "Review this PR for security issues and code quality"
post_comment: true
| Feature | Description |
|---|---|
| Multi-Provider | 13 providers with unified interface |
| PR/Issue Comments | Auto-post AI responses with intelligent updates |
| Multimodal Support | Attach images, PDFs, CSVs, Excel, Word, JSON, YAML, XML, HTML, SVG, code files to prompts |
| Cost Tracking | Built-in analytics and quality evaluation |
| Extended Thinking | Deep reasoning with thinking tokens |
π GitHub Action Guide - Complete setup and examples
NeuroLink features intelligent model selection and cost optimization:
# Cost optimization - automatically use cheapest model
npx @juspay/neurolink generate "Hello" --optimize-cost
# LiteLLM specific model selection
npx @juspay/neurolink generate "Complex analysis" --provider litellm --model "anthropic/claude-3-5-sonnet"
# Auto-select best available provider
npx @juspay/neurolink generate "Write code" # Automatically chooses optimal provider
NeuroLink's CLI goes beyond simple commands - it's a full AI development environment:
| Feature | Traditional CLI | NeuroLink Interactive |
|---|---|---|
| Session State | None | Full persistence |
| Memory | Per-command | Conversation-aware |
| Configuration | Flags per command | /set persists across session |
| Tool Testing | Manual per tool | Live discovery & testing |
| Streaming | Optional | Real-time default |
$ npx @juspay/neurolink loop --enable-conversation-memory
neurolink > /set provider vertex
β provider set to vertex (Gemini 3 support enabled)
neurolink > /set model gemini-3-flash-preview
β model set to gemini-3-flash-preview
neurolink > Analyze my project architecture and suggest improvements
β Analyzing your project structure...
[AI provides detailed analysis, remembering context]
neurolink > Now implement the first suggestion
[AI remembers previous context and implements suggestion]
neurolink > /mcp discover
β Discovered 58 MCP tools:
GitHub: create_issue, list_repos, create_pr...
PostgreSQL: query, insert, update...
[full list]
neurolink > Use the GitHub tool to create an issue for this improvement
β Creating issue... (requires HITL approval if configured)
neurolink > /export json > session-2026-01-01.json
β Exported 15 messages to session-2026-01-01.json
neurolink > exit
Session saved. Resume with: neurolink loop --session session-2026-01-01.json
| Command | Purpose |
|---|---|
/set | Persist configuration (provider, model, temperature) |
/mcp discover | List all available MCP tools |
/export json | Export conversation to JSON |
/history | View conversation history |
/clear | Clear context while keeping settings |
Interactive CLI Guide | CLI Reference
Skip the wizard and configure manually? See docs/getting-started/provider-setup.md.
neurolink CLI mirrors the SDK so teams can script experiments and codify them later.
# Discover available providers and models
npx @juspay/neurolink status
npx @juspay/neurolink models list --provider google-ai
# Route to a specific provider/model
npx @juspay/neurolink generate "Summarize customer feedback" \
--provider azure --model gpt-4o-mini
# Turn on analytics + evaluation for observability
npx @juspay/neurolink generate "Draft release notes" \
--enable-analytics --enable-evaluation --format json
# RAG: Ask questions about your docs (auto-chunks, embeds, searches)
npx @juspay/neurolink generate "What are the key features?" \
--rag-files ./docs/guide.md ./docs/api.md --rag-strategy markdown
import { NeuroLink } from "@juspay/neurolink";
const neurolink = new NeuroLink({
conversationMemory: {
enabled: true,
store: "redis",
},
enableOrchestration: true,
});
const result = await neurolink.generate({
input: {
text: "Create a comprehensive analysis",
files: [
"./sales_data.csv", // Auto-detected as CSV
"examples/data/invoice.pdf", // Auto-detected as PDF
"./diagrams/architecture.png", // Auto-detected as image
"./report.xlsx", // Auto-detected as Excel
"./config.json", // Auto-detected as JSON
"./diagram.svg", // Auto-detected as SVG (injected as text)
"./app.ts", // Auto-detected as TypeScript code
],
},
provider: "vertex", // PDF-capable provider (see docs/features/pdf-support.md)
enableEvaluation: true,
region: "us-east-1",
});
console.log(result.content);
console.log(result.evaluation?.overallScore);
// RAG: Ask questions about your documents
const answer = await neurolink.generate({
prompt: "What are the main architectural decisions?",
rag: {
files: ["./docs/architecture.md", "./docs/decisions.md"],
strategy: "markdown",
topK: 5,
},
});
console.log(answer.content); // AI searches your docs and answers
import { NeuroLink } from "@juspay/neurolink";
const neurolink = new NeuroLink();
// Use Gemini 3 with extended thinking for complex reasoning
const result = await neurolink.generate({
input: {
text: "Solve this step by step: What is the optimal strategy for...",
},
provider: "vertex",
model: "gemini-3-flash-preview",
thinkingLevel: "medium", // Options: "minimal", "low", "medium", "high"
});
console.log(result.content);
Full command and API breakdown lives in docs/cli/commands.md and docs/sdk/api-reference.md.
| Capability | Highlights |
|---|---|
| Provider unification | 13+ providers with automatic fallback, cost-aware routing, provider orchestration (Q3). |
| Multimodal pipeline | Stream images + CSV data + PDF documents across providers with local/remote assets. Auto-detection for mixed file types. |
| Quality & governance | Auto-evaluation engine (Q3), guardrails middleware (Q4), HITL workflows (Q4), audit logging. |
| Memory & context | Conversation memory, Mem0 integration, Redis history export (Q4), context summarization (Q4). |
| CLI tooling | Loop sessions (Q3), setup wizard, config validation, Redis auto-detect, JSON output. |
| Enterprise ops | Proxy support, regional routing (Q3), telemetry hooks, configuration management. |
| Tool ecosystem | MCP auto discovery, HTTP/stdio/SSE/WebSocket transports, LiteLLM hub access, SageMaker custom deployment, web search. |
| Area | When to Use | Link |
|---|---|---|
| Getting started | Install, configure, run first prompt | docs/getting-started/index.md |
| Feature guides | Understand new functionality front-to-back | docs/features/index.md |
| CLI reference | Command syntax, flags, loop sessions | docs/cli/index.md |
| SDK reference | Classes, methods, options | docs/sdk/index.md |
| RAG | Document chunking, hybrid search, reranking, rag:{} API | docs/features/rag.md |
| Integrations | LiteLLM, SageMaker, MCP, Mem0 | docs/litellm-integration.md |
| Advanced | Middleware, architecture, streaming patterns | docs/advanced/index.md |
| Cookbook | Practical recipes for common patterns | docs/cookbook/index.md |
| Guides | Migration, Redis, troubleshooting, provider selection | docs/guides/index.md |
| Operations | Configuration, troubleshooting, provider matrix | docs/reference/index.md |
Enterprise Features:
Provider Intelligence:
Middleware System:
Redis & Persistence:
Migration Guides:
Developer Experience:
docs/litellm-integration.mddocs/sagemaker-integration.mddocs/mem0-integration.mddocs/enterprise-proxy-setup.mddocs/configuration-management.mddocs/advanced/mcp-integration.mddocs/mcp-http-transport.mddocs/development/contributing.mdNeuroLink is built with β€οΈ by Juspay. Contributions, questions, and production feedback are always welcome.
Install via CLI
npx mdskills install juspay/neurolinkNeuroLink is a free, open-source AI agent skill. π§ NeuroLink The Enterprise AI SDK for Production Applications 13 Providers | 58+ MCP Tools | HITL Security | Redis Persistence Enterprise AI development platform with unified provider access, production-ready tooling, and an opinionated factory architecture. NeuroLink ships as both a TypeScript SDK and a professional CLI so teams can build, operate, and iterate on AI features quickly. NeuroLink i
Install NeuroLink with a single command:
npx mdskills install juspay/neurolinkThis downloads the skill files into your project and your AI agent picks them up automatically.
NeuroLink works with Claude Code, Claude Desktop, Cursor, Vscode Copilot, Windsurf, Continue Dev, Codex, Gemini Cli, Amp, Roo Code, Goose, Opencode, Trae, Qodo, Command Code, Factory. Skills use the open SKILL.md format which is compatible with any AI coding agent that reads markdown instructions.