2026-06-16 12:15:53 +08:00
---
title: AI Providers
description: Connect Shumai to OpenAI, Anthropic, Gemini, or custom LLM gateways.
---
2026-06-16 14:44:42 +08:00
To enable AI Agents, metadata autofill, and semantic search, Shumai must be connected to an AI model provider. Team Owners can manage these credentials under the **AI Providers** settings tab.
2026-06-16 12:15:53 +08:00
---
## Built-In Providers
Shumai ships with pre-configured settings for major LLM providers:
- **Google Gemini**: Recommended for multimodal asset tagging (Autofill Agent) and reasoning tasks.
- **OpenAI**: Supports GPT-4, GPT-4o, and reasoning models.
- **Anthropic**: Supports the Claude 3.5 Sonnet and Haiku models.
2026-06-16 14:44:42 +08:00
### Global Credentials
2026-06-16 12:15:53 +08:00
2026-06-16 14:44:42 +08:00
If your system administrator has configured global keys (like `GEMINI_API_KEY`, `OPENAI_API_KEY`, or `ANTHROPIC_API_KEY`) in the server's environment variables, the respective built-in provider will use these credentials automatically, making them immediately available to the entire team.
2026-06-16 12:15:53 +08:00
---
2026-06-16 14:44:42 +08:00
## Custom Providers
2026-06-16 12:15:53 +08:00
2026-06-16 14:44:42 +08:00
If you want to use local models (via Ollama or vLLM) or private enterprise proxy gateways, you can register custom providers:
2026-06-16 12:15:53 +08:00
1. Navigate to **Team Settings** > **AI Providers**.
2. Click **Add Provider**.
3. Fill in the configuration parameters:
2026-06-16 14:44:42 +08:00
- **Provider Name**: E.g., `Ollama-Local` or `Enterprise-Gateway`.
2026-06-16 12:15:53 +08:00
- **Base URL**: The target API URL (e.g., `http://localhost:11434/v1` for Ollama).
- **API Key**: The authentication token (use `nokey` if local/unauthenticated).
4. **Register Models**: Define the list of model IDs and names (e.g., model ID `llama3`, name `Llama 3`) that this provider exposes.
5. Click **Save**.

_Placeholder: Table view of active AI providers showing their status, built-in badges, and active models._