--- title: "AI Service Hub & LLM Providers" description: "Centralized AI orchestration in Ring2All NMS supporting OpenAI, Anthropic Claude, Google Gemini, DeepSeek, and local Ollama models." --- ## 📖 Introduction The **AI Service Hub** serves as the central AI clearinghouse for Ring2All NMS. Designed to eliminate provider lock-in and enable hybrid cloud/on-premise AI reasoning, the hub manages API keys, model parameters (temperature, max tokens, system prompts), and connection profiles for leading foundation model providers as well as self-hosted local instances. ![NMS AI Service Hub](/screenshots/nms/ai-service-hub.png) --- ## 🎯 User Roles & Key Capabilities | Role | Primary Use Case | Key Capabilities | | :--- | :--- | :--- | | **AI Systems Architect** | LLM model selection and cost optimization. | Configure provider accounts (OpenAI, Anthropic, Gemini, DeepSeek, Ollama), select default models, and set token usage ceilings. | | **SecOps & Privacy Officers** | Enforcing strict on-premise data residency. | Configure local **Ollama** endpoints (e.g., Llama 3, Mistral) so that sensitive infrastructure telemetry never leaves the enterprise boundary. | | **System Administrators** | Key lifecycle and credential rotation. | Store encrypted API keys, test connection latencies, and assign AI profiles to automated watchdog agents. | --- ## 🧠 Supported AI Providers & Architecture ```mermaid graph TD Hub[AI Service Hub] --> P1[Anthropic: Claude 3.5 Sonnet / Haiku] Hub --> P2[OpenAI: GPT-4o / GPT-4o-mini] Hub --> P3[Google Gemini: 1.5 Pro / Flash] Hub --> P4[DeepSeek: DeepSeek-V3 / R1 Reasoner] Hub --> P5[Ollama: Local Self-Hosted Llama 3 / Qwen] Hub --> Prof[AI Profiles: Reasoning, Summarization, Incident Triage] Prof --> MCP[Model Context Protocol Tools] ``` ### 1. Multi-Provider Catalog * **Anthropic**: High-reasoning Claude 3.5 Sonnet and high-speed Claude 3.5 Haiku, exceptional for multi-step tool use and complex telemetry analysis. * **OpenAI**: Industry-standard GPT-4o and lightweight GPT-4o-mini with native JSON schema and function calling. * **Google Gemini**: Large-context Gemini 1.5 Pro and Gemini 1.5 Flash for deep cross-log correlation. * **DeepSeek**: High-efficiency DeepSeek-V3 and DeepSeek-R1 reasoning models for algorithmic log triage. * **Ollama (Local / On-Premise)**: Connects to local GPU or CPU inference servers running open-source weights (Llama 3.1, Mistral, Qwen 2.5), guaranteeing zero telemetry leakage outside private data centers. ### 2. AI Profiles & Automatic MCP Copilot Activation Allows creating reusable execution profiles tailored to specific operational contexts: * **Deep Diagnosis Profile**: Low temperature (`0.1`), high token limit (`4096`), bound to Claude or GPT-4o / GPT-4.1 for forensic incident analysis and complex agent planning. * **Fast Triage Profile**: High-throughput configuration bound to lightweight models for real-time alert summarization and high-frequency checks. > [!TIP] > **One-Step Copilot Bootstrap**: As soon as an active AI Provider and compatible AI Profile exist for your organization, Ring2All NMS automatically enables the floating **MCP AI Copilot** assistant in the web console. ### 3. Natural-Language Infrastructure & Fleet Provisioning (MCP) The **AI Service Hub** powers the **MCP Server** and **AI Copilot** with full agent-architecture tools so administrators never need to build fleets manually on a clean install: * **`list_agent_blueprints`**: Inspects all `16` Marketing & Growth Blueprints and `4` Infrastructure Watchdog Blueprints. * **`provision_marketing_fleet`**: Creates an entire coordinated squad of Marketing & Growth AI Agents from plain-language business instructions (automatically inheriting the active Hub provider/model, staggering cron schedules, customizing white-label mission prompts, and enforcing `approval_queue` staging). * **`create_ai_agent` & `create_marketing_agent`**: Provisions individual Watchdog Sentinels or single specialized Marketing agents using exact blueprint archetypes or custom prompts. For a full post-installation walkthrough, see **[Quickstart: Templates Hub & MCP Fleet Setup](/nms/templates-and-mcp-onboarding/)**. --- ## ⚙️ Provider Configuration Reference | Field | Type | Description | Default | | :--- | :--- | :--- | :--- | | **Provider Name** | Select | `OpenAI`, `Anthropic`, `Google Gemini`, `DeepSeek`, `Ollama`. | *Required* | | **API Key / Token** | Secure String | Secret API key encrypted at rest via AES-256-GCM. | *Required* (except Ollama) | | **Base URL / Endpoint** | URL | API base path; required for custom proxies or local Ollama instances (`http://127.0.0.1:11434`). | Provider default | | **Default Model** | Text | Model identifier (e.g., `claude-3-5-sonnet-20241022`, `gpt-4o`). | Provider recommended | | **Temperature** | Slider (0.0 - 1.0) | Controls output randomness; recommended `0.1` for deterministic infrastructure logs. | `0.1` | | **Max Tokens** | Number | Maximum tokens generated per response. | `2048` | | **Status / Is Active** | Toggle | Enables or disables provider from the global execution pool. | `true` |