npm package: @neuroslink/neurolink
Description: Universal AI Development Platform with working MCP integration, multi-provider support, and professional CLI. Built-in tools operational, 58+ external MCP servers discoverable. Connect to filesystem, GitHub, database operations, and more. Build, test, and
Author: NeurosLink AI
Latest version: 7.51.4

# 🧠 NeuroLink

[![NPM Version](https://img.shields.io/npm/v/@neuroslink/neurolink)](https://www.npmjs.com/package/@neuroslink/neurolink)
[![Downloads](https://img.shields.io/npm/dm/@neuroslink/neurolink)](https://www.npmjs.com/package/@neuroslink/neurolink)
[![GitHub Stars](https://img.shields.io/github/stars/NeurosLink/neurolink)](https://github.com/NeurosLink/neurolink/stargazers)
[![License](https://img.shields.io/npm/l/@neuroslink/neurolink)](https://github.com/NeurosLink/neurolink/blob/release/LICENSE)
[![TypeScript](https://img.shields.io/badge/TypeScript-Ready-blue)](https://www.typescriptlang.org/)
[![CI](https://github.com/NeurosLink/neurolink/workflows/CI/badge.svg)](https://github.com/NeurosLink/neurolink/actions)

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.

## 🧠 What is NeuroLink?

**NeuroLink is the universal AI integration platform that unifies 12 major AI providers and 100+ models under one consistent API.**

Extracted from production systems at NeurosLink AI 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 12 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 →](https://docs.neuroslink.com/about/vision)**

**[Get Started in <5 Minutes →](https://docs.neuroslink.com/getting-started/quick-start)**

---

## What's New (Q4 2025)

- **CSV File Support** – Attach CSV files to prompts for AI-powered data analysis with auto-detection. → [CSV Guide](https://docs.neuroslink.com/features/multimodal-chat#csv-file-support)
- **PDF File Support** – Process PDF documents with native visual analysis for Vertex AI, Anthropic, Bedrock, AI Studio. → [PDF Guide](https://docs.neuroslink.com/features/pdf-support)
- **LiteLLM Integration** – Access 100+ AI models from all major providers through unified interface. → [Setup Guide](https://docs.neuroslink.com/LITELLM-INTEGRATION)
- **SageMaker Integration** – Deploy and use custom trained models on AWS infrastructure. → [Setup Guide](https://docs.neuroslink.com/SAGEMAKER-INTEGRATION)
- **Human-in-the-loop workflows** – Pause generation for user approval/input before tool execution. → [HITL Guide](https://docs.neuroslink.com/features/hitl)
- **Guardrails middleware** – Block PII, profanity, and unsafe content with built-in filtering. → [Guardrails Guide](https://docs.neuroslink.com/features/guardrails)
- **Context summarization** – Automatic conversation compression for long-running sessions. → [Summarization Guide](https://docs.neuroslink.com/CONTEXT-SUMMARIZATION)
- **Redis conversation export** – Export full session history as JSON for analytics and debugging. → [History Guide](https://docs.neuroslink.com/features/conversation-history)

> **Q3 highlights** (multimodal chat, auto-evaluation, loop sessions, orchestration) are now in [Platform Capabilities](#platform-capabilities-at-a-glance) below.

## Get Started in Two Steps

```bash
# 1. Run the interactive setup wizard (select providers, validate keys)
pnpm dlx @neuroslink/neurolink setup

# 2. Start generating with automatic provider selection
npx @neuroslink/neurolink generate "Write a launch plan for multimodal chat"
```

Need a persistent workspace? Launch loop mode with `npx @neuroslink/neurolink loop` - [Learn more →](https://docs.neuroslink.com/features/cli-loop-sessions)

## 🌟 Complete Feature Set

NeuroLink is a comprehensive AI development platform. Every feature below is production-ready and fully documented.

### 🤖 AI Provider Integration

**12 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](https://docs.neuroslink.com/getting-started/provider-setup#openai)            |
| **Anthropic**         | Claude 3.5/3.7 Sonnet, Opus    | ❌              | ✅ Full      | ✅ Production | [Setup Guide](https://docs.neuroslink.com/getting-started/provider-setup#anthropic)         |
| **Google AI Studio**  | Gemini 2.5 Flash/Pro           | ✅ Free Tier    | ✅ Full      | ✅ Production | [Setup Guide](https://docs.neuroslink.com/getting-started/provider-setup#google-ai)         |
| **AWS Bedrock**       | Claude, Titan, Llama, Nova     | ❌              | ✅ Full      | ✅ Production | [Setup Guide](https://docs.neuroslink.com/getting-started/provider-setup#bedrock)           |
| **Google Vertex**     | Gemini via GCP                 | ❌              | ✅ Full      | ✅ Production | [Setup Guide](https://docs.neuroslink.com/getting-started/provider-setup#vertex)            |
| **Azure OpenAI**      | GPT-4, GPT-4o, o1              | ❌              | ✅ Full      | ✅ Production | [Setup Guide](https://docs.neuroslink.com/getting-started/provider-setup#azure)             |
| **LiteLLM**           | 100+ models unified            | Varies          | ✅ Full      | ✅ Production | [Setup Guide](https://docs.neuroslink.com/LITELLM-INTEGRATION)                              |
| **AWS SageMaker**     | Custom deployed models         | ❌              | ✅ Full      | ✅ Production | [Setup Guide](https://docs.neuroslink.com/SAGEMAKER-INTEGRATION)                            |
| **Mistral AI**        | Mistral Large, Small           | ✅ Free Tier    | ✅ Full      | ✅ Production | [Setup Guide](https://docs.neuroslink.com/getting-started/provider-setup#mistral)           |
| **Hugging Face**      | 100,000+ models                | ✅ Free         | ⚠️ Partial   | ✅ Production | [Setup Guide](https://docs.neuroslink.com/getting-started/provider-setup#huggingface)       |
| **Ollama**            | Local models (Llama, Mistral)  | ✅ Free (Local) | ⚠️ Partial   | ✅ Production | [Setup Guide](https://docs.neuroslink.com/getting-started/provider-setup#ollama)            |
| **OpenAI Compatible** | Any OpenAI-compatible endpoint | Varies          | ✅ Full      | ✅ Production | [Setup Guide](https://docs.neuroslink.com/getting-started/provider-setup#openai-compatible) |

**[📖 Provider Comparison Guide](https://docs.neuroslink.com/reference/provider-comparison)** - Detailed feature matrix and selection criteria

---

### 🔧 Built-in Tools & MCP Integration

**6 Core Tools** (work across all providers, zero configuration):

| Tool                 | Purpose                  | Auto-Available          | Documentation                                             |
| -------------------- | ------------------------ | ----------------------- | --------------------------------------------------------- |
| `getCurrentTime`     | Real-time clock access   | ✅                      | [Tool Reference](https://docs.neuroslink.com/sdk/custom-tools#getCurrentTime) |
| `readFile`           | File system reading      | ✅                      | [Tool Reference](https://docs.neuroslink.com/sdk/custom-tools#readFile)       |
| `writeFile`          | File system writing      | ✅                      | [Tool Reference](https://docs.neuroslink.com/sdk/custom-tools#writeFile)      |
| `listDirectory`      | Directory listing        | ✅                      | [Tool Reference](https://docs.neuroslink.com/sdk/custom-tools#listDirectory)  |
| `calculateMath`      | Mathematical operations  | ✅                      | [Tool Reference](https://docs.neuroslink.com/sdk/custom-tools#calculateMath)  |
| `websearchGrounding` | Google Vertex web search | ⚠️ Requires credentials | [Tool Reference](https://docs.neuroslink.com/sdk/custom-tools#websearch)      |

**58+ External MCP Servers** supported (GitHub, PostgreSQL, Google Drive, Slack, and more):

```typescript
// Add any MCP server dynamically
await neurolink.addExternalMCPServer("github", {
  command: "npx",
  args: ["-y", "@modelcontextprotocol/server-github"],
  transport: "stdio",
  env: { GITHUB_TOKEN: process.env.GITHUB_TOKEN },
});

// Tools automatically available to AI
const result = await neurolink.generate({
  input: { text: 'Create a GitHub issue titled "Bug in auth flow"' },
});
```

**[📖 MCP Integration Guide](https://docs.neuroslink.com/advanced/mcp-integration)** - Setup external servers

---

### 💻 Developer Experience Features

**SDK-First Design** with TypeScript, IntelliSense, and type safety:

| Feature                     | Description                    | Documentation                                         |
| --------------------------- | ------------------------------ | ----------------------------------------------------- |
| **Auto Provider Selection** | Intelligent provider fallback  | [SDK Guide](https://docs.neuroslink.com/sdk/index#auto-selection)         |
| **Streaming Responses**     | Real-time token streaming      | [Streaming Guide](https://docs.neuroslink.com/advanced/streaming)         |
| **Conversation Memory**     | Automatic context management   | [Memory Guide](https://docs.neuroslink.com/sdk/index#memory)              |
| **Full Type Safety**        | Complete TypeScript types      | [Type Reference](https://docs.neuroslink.com/sdk/api-reference)           |
| **Error Handling**          | Graceful provider fallback     | [Error Guide](https://docs.neuroslink.com/reference/troubleshooting)      |
| **Analytics & Evaluation**  | Usage tracking, quality scores | [Analytics Guide](https://docs.neuroslink.com/advanced/analytics)         |
| **Middleware System**       | Request/response hooks         | [Middleware Guide](https://docs.neuroslink.com/CUSTOM-MIDDLEWARE-GUIDE)   |
| **Framework Integration**   | Next.js, SvelteKit, Express    | [Framework Guides](https://docs.neuroslink.com/sdk/framework-integration) |

---

### 🏢 Enterprise & Production Features

**Production-ready capabilities for regulated industries:**

| Feature                     | Description                        | Use Case                  | Documentation                                               |
| --------------------------- | ---------------------------------- | ------------------------- | ----------------------------------------------------------- |
| **Enterprise Proxy**        | Corporate proxy support            | Behind firewalls          | [Proxy Setup](https://docs.neuroslink.com/ENTERPRISE-PROXY-SETUP)               |
| **Redis Memory**            | Distributed conversation state     | Multi-instance deployment | [Redis Guide](https://docs.neuroslink.com/getting-started/provider-setup#redis) |
| **Cost Optimization**       | Automatic cheapest model selection | Budget control            | [Cost Guide](https://docs.neuroslink.com/advanced/index)                        |
| **Multi-Provider Failover** | Automatic provider switching       | High availability         | [Failover Guide](https://docs.neuroslink.com/advanced/index)                    |
| **Telemetry & Monitoring**  | OpenTelemetry integration          | Observability             | [Telemetry Guide](https://docs.neuroslink.com/TELEMETRY-GUIDE)                  |
| **Security Hardening**      | Credential management, auditing    | Compliance                | [Security Guide](https://docs.neuroslink.com/advanced/enterprise)               |
| **Custom Model Hosting**    | SageMaker integration              | Private models            | [SageMaker Guide](https://docs.neuroslink.com/SAGEMAKER-INTEGRATION)            |
| **Load Balancing**          | LiteLLM proxy integration          | Scale & routing           | [Load Balancing](https://docs.neuroslink.com/LITELLM-INTEGRATION)               |

**Security & Compliance:**

- ✅ SOC2 Type II compliant deployments
- ✅ ISO 27001 certified infrastructure compatible
- ✅ GDPR-compliant data handling (EU providers available)
- ✅ HIPAA compatible (with proper configuration)
- ✅ Hardened OS verified (SELinux, AppArmor)
- ✅ Zero credential logging
- ✅ Encrypted configuration storage

**[📖 Enterprise Deployment Guide](https://docs.neuroslink.com/advanced/enterprise)** - Complete production checklist

---

### 🎨 Professional CLI

**15+ commands** for every workflow:

| Command    | Purpose                            | Example                    | Documentation                             |
| ---------- | ---------------------------------- | -------------------------- | ----------------------------------------- |
| `setup`    | Interactive provider configuration | `neurolink setup`          | [Setup Guide](https://docs.neuroslink.com/cli/index)          |
| `generate` | Text generation                    | `neurolink gen "Hello"`    | [Generate](https://docs.neuroslink.com/cli/commands#generate) |
| `stream`   | Streaming generation               | `neurolink stream "Story"` | [Stream](https://docs.neuroslink.com/cli/commands#stream)     |
| `status`   | Provider health check              | `neurolink status`         | [Status](https://docs.neuroslink.com/cli/commands#status)     |
| `loop`     | Interactive session                | `neurolink loop`           | [Loop](https://docs.neuroslink.com/cli/commands#loop)         |
| `mcp`      | MCP server management              | `neurolink mcp discover`   | [MCP CLI](https://docs.neuroslink.com/cli/commands#mcp)       |
| `models`   | Model listing                      | `neurolink models`         | [Models](https://docs.neuroslink.com/cli/commands#models)     |
| `eval`     | Model evaluation                   | `neurolink eval`           | [Eval](https://docs.neuroslink.com/cli/commands#eval)         |

**[📖 Complete CLI Reference](https://docs.neuroslink.com/cli/commands)** - All commands and options

## 💰 Smart Model Selection

NeuroLink features intelligent model selection and cost optimization:

### Cost Optimization Features

- **💰 Automatic Cost Optimization**: Selects cheapest models for simple tasks
- **🔄 LiteLLM Model Routing**: Access 100+ models with automatic load balancing
- **🔍 Capability-Based Selection**: Find models with specific features (vision, function calling)
- **⚡ Intelligent Fallback**: Seamless switching when providers fail

```bash
# Cost optimization - automatically use cheapest model
npx @neuroslink/neurolink generate "Hello" --optimize-cost

# LiteLLM specific model selection
npx @neuroslink/neurolink generate "Complex analysis" --provider litellm --model "anthropic/claude-3-5-sonnet"

# Auto-select best available provider
npx @neuroslink/neurolink generate "Write code" # Automatically chooses optimal provider
```

## ✨ Interactive Loop Mode

NeuroLink features a powerful **interactive loop mode** that transforms the CLI into a persistent, stateful session. This allows you to run multiple commands, set session-wide variables, and maintain conversation history without restarting.

### Start the Loop

```bash
npx @neuroslink/neurolink loop
```

### Example Session

```bash
# Start the interactive session
$ npx @neuroslink/neurolink loop

neurolink » set provider google-ai
✓ provider set to google-ai

neurolink » set temperature 0.8
✓ temperature set to 0.8

neurolink » generate "Tell me a fun fact about space"
The quietest place on Earth is an anechoic chamber at Microsoft's headquarters in Redmond, Washington. The background noise is so low that it's measured in negative decibels, and you can hear your own heartbeat.

# Exit the session
neurolink » exit
```

### Conversation Memory in Loop Mode

Start the loop with conversation memory to have the AI remember the context of your previous commands.

```bash
npx @neuroslink/neurolink loop --enable-conversation-memory
```

Skip the wizard and configure manually? See [`https://docs.neuroslink.com/getting-started/provider-setup`](https://docs.neuroslink.com/getting-started/provider-setup).

## CLI & SDK Essentials

`neurolink` CLI mirrors the SDK so teams can script experiments and codify them later.

```bash
# Discover available providers and models
npx @neuroslink/neurolink status
npx @neuroslink/neurolink models list --provider google-ai

# Route to a specific provider/model
npx @neuroslink/neurolink generate "Summarize customer feedback" \
  --provider azure --model gpt-4o-mini

# Turn on analytics + evaluation for observability
npx @neuroslink/neurolink generate "Draft release notes" \
  --enable-analytics --enable-evaluation --format json
```

```typescript
import { NeuroLink } from "@neuroslink/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
    ],
  },
  provider: "vertex", // PDF-capable provider (see https://docs.neuroslink.com/features/pdf-support)
  enableEvaluation: true,
  region: "us-east-1",
});

console.log(result.content);
console.log(result.evaluation?.overallScore);
```

Full command and API breakdown lives in [`https://docs.neuroslink.com/cli/commands`](https://docs.neuroslink.com/cli/commands) and [`https://docs.neuroslink.com/sdk/api-reference`](https://docs.neuroslink.com/sdk/api-reference).

## Platform Capabilities at a Glance

| Capability               | Highlights                                                                                                               |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------ |
| **Provider unification** | 12+ 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, LiteLLM hub access, SageMaker custom deployment, web search.                                         |

## Documentation Map

| Area            | When to Use                                     | Link                                                             |
| --------------- | ----------------------------------------------- | ---------------------------------------------------------------- |
| Getting started | Install, configure, run first prompt            | [`https://docs.neuroslink.com/getting-started/index`](https://docs.neuroslink.com/getting-started/index) |
| Feature guides  | Understand new functionality front-to-back      | [`https://docs.neuroslink.com/features/index`](https://docs.neuroslink.com/features/index)               |
| CLI reference   | Command syntax, flags, loop sessions            | [`https://docs.neuroslink.com/cli/index`](https://docs.neuroslink.com/cli/index)                         |
| SDK reference   | Classes, methods, options                       | [`https://docs.neuroslink.com/sdk/index`](https://docs.neuroslink.com/sdk/index)                         |
| Integrations    | LiteLLM, SageMaker, MCP, Mem0                   | [`https://docs.neuroslink.com/LITELLM-INTEGRATION`](https://docs.neuroslink.com/LITELLM-INTEGRATION)     |
| Operations      | Configuration, troubleshooting, provider matrix | [`https://docs.neuroslink.com/reference/index`](https://docs.neuroslink.com/reference/index)             |
| Visual demos    | Screens, GIFs, interactive tours                | [`https://docs.neuroslink.com/demos/index`](https://docs.neuroslink.com/demos/index)                     |

## Integrations

- **LiteLLM 100+ model hub** – Unified access to third-party models via LiteLLM routing. → [`https://docs.neuroslink.com/LITELLM-INTEGRATION`](https://docs.neuroslink.com/LITELLM-INTEGRATION)
- **Amazon SageMaker** – Deploy and call custom endpoints directly from NeuroLink CLI/SDK. → [`https://docs.neuroslink.com/SAGEMAKER-INTEGRATION`](https://docs.neuroslink.com/SAGEMAKER-INTEGRATION)
- **Mem0 conversational memory** – Persistent semantic memory with vector store support. → [`https://docs.neuroslink.com/MEM0_INTEGRATION`](https://docs.neuroslink.com/MEM0_INTEGRATION)
- **Enterprise proxy & security** – Configure outbound policies and compliance posture. → [`https://docs.neuroslink.com/ENTERPRISE-PROXY-SETUP`](https://docs.neuroslink.com/ENTERPRISE-PROXY-SETUP)
- **Configuration automation** – Manage environments, regions, and credentials safely. → [`https://docs.neuroslink.com/CONFIGURATION-MANAGEMENT`](https://docs.neuroslink.com/CONFIGURATION-MANAGEMENT)
- **MCP tool ecosystem** – Auto-discover Model Context Protocol tools and extend workflows. → [`https://docs.neuroslink.com/advanced/mcp-integration`](https://docs.neuroslink.com/advanced/mcp-integration)

## Contributing & Support

- Bug reports and feature requests → [GitHub Issues](https://github.com/NeurosLink/neurolink/issues)
- Development workflow, testing, and pull request guidelines → [`https://docs.neuroslink.com/development/contributing`](https://docs.neuroslink.com/development/contributing)
- Documentation improvements → open a PR referencing the [documentation matrix](https://docs.neuroslink.com/tracking/FEATURE-DOC-MATRIX).

---

NeuroLink is built with ❤️ by NeurosLink AI. Contributions, questions, and production feedback are always welcome.