You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/agents/providers.md
+13-6Lines changed: 13 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,19 @@ In VoltAgent, **Providers** are the connection layer between your `Agent` and th
9
9
10
10
This abstraction allows you to build agents that are **model agnostic**. You can easily switch the underlying LLM (e.g., from OpenAI to Groq, or from a cloud service to a local model) often just by changing the provider configuration, without needing to modify your core agent logic.
11
11
12
+
## Available Providers
13
+
14
+
VoltAgent offers built-in providers for various popular services and SDKs. This allows you to connect your agents to different LLMs with minimal code changes.
15
+
16
+
-**[Vercel AI Provider](../providers/vercel-ai.md):** Integrates with the Vercel AI SDK, allowing you to use various models supported by Vercel.
17
+
-**[Google AI Provider](../providers/google-ai.md):** Connects to Google's AI models, including Gemini and Vertex AI, via their official SDK.
18
+
-**[Groq AI Provider](../providers/groq-ai.md):** Leverages the Groq API for extremely fast inference on supported models like Llama and Mixtral.
19
+
-**[xsAI (OpenAI-Compatible) Provider](../providers/xsai.md):** Provides compatibility with any OpenAI-compatible API endpoint, including self-hosted models or other third-party services.
20
+
21
+
Choose the provider that best suits the LLM or service you want to use. Detailed configuration and usage instructions can be found on each provider's specific documentation page linked above.
22
+
23
+
For a general overview of all available providers, see the [Providers Overview](../providers/overview.md).
24
+
12
25
## Configuring an Agent with a Provider
13
26
14
27
When you create an `Agent` instance, you assign a configured provider instance to the `llm` property and specify the desired model identifier using the `model` property.
@@ -51,9 +64,3 @@ It's important to understand that the value you provide for the `model` paramete
51
64
- Other providers (like `@voltagent/vercel-ai`) expect a **model object** imported from their corresponding SDK (e.g., `openai('gpt-4o')`, `anthropic('claude-3-5-sonnet-20240620')`).
52
65
53
66
Always refer to the documentation for the specific provider you are using to know what format is expected for the `model` parameter.
54
-
55
-
## Available Providers
56
-
57
-
VoltAgent offers built-in providers for various popular services and SDKs, including Vercel AI, Google AI (Gemini/Vertex), Groq, and any OpenAI-compatible API endpoint (via xsAI).
58
-
59
-
**For detailed information on each available provider, including specific installation, configuration, and usage instructions, please see the [Providers Overview](../providers/overview.md).**
0 commit comments