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: solutions/search/agent-builder/get-started.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,6 +88,12 @@ Learn more in [Agent Chat](chat.md).
88
88
89
89
::::
90
90
91
+
::::{step} Configure model (optional)
92
+
93
+
By default, {{agent-builder}} uses the Elastic Managed LLM. To use a different model, refer to [model selection and configuration](models.md).
94
+
95
+
::::
96
+
91
97
::::{step} Begin building agents and tools
92
98
93
99
Once you've tested the default **Elastic AI Agent** with the [built-in Elastic tools](tools.md), you can begin [building your own agents](agent-builder-agents.md#create-a-new-agent) with custom instructions and [creating your own tools](tools.md#create-custom-tools) to assign them.
Copy file name to clipboardExpand all lines: solutions/search/agent-builder/limitations-known-issues.md
+2-8Lines changed: 2 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,17 +20,11 @@ These pages are currently hidden from the docs TOC and have `noindexed` meta hea
20
20
21
21
{{agent-builder}} must be enabled for non-serverless deployments {applies_to}`stack: preview 9.2`. Refer to [Get started](get-started.md#enable-agent-builder) for instructions.
22
22
23
-
### Model selection
24
-
25
-
Initially, {{agent-builder}} only supports working with the [Elastic Managed LLM](kibana://reference/connectors-kibana/elastic-managed-llm.md) running on the [Elastic Inference Service](/explore-analyze/elastic-inference/eis.md) {applies_to}`stack: preview 9.2`.
26
-
27
-
Learn about [pricing](https://www.elastic.co/pricing/serverless-search) for the Elastic Managed LLM.
28
-
29
23
## Known issues
30
24
31
25
### Incompatible LLMs
32
26
33
-
While Elastic offers LLM [connectors](kibana://reference/connectors-kibana.md) for many different vendors and models, not all LLMs are robust enough to be used with {{agent-builder}}. We recommend using the [Elastic Managed LLM](kibana://reference/connectors-kibana/elastic-managed-llm.md) (the default).
27
+
While Elastic offers LLM [connectors](kibana://reference/connectors-kibana.md) for many different vendors and models, not all LLMs are robust enough to be used with {{agent-builder}}. We recommend using the [Elastic Managed LLM](kibana://reference/connectors-kibana/elastic-managed-llm.md) (the default). Learn more in [](models.md).
34
28
35
29
The following errors suggest your selected model may not be compatible with {{agent-builder}}:
36
30
@@ -69,4 +63,4 @@ This results in parsing errors like this:
Copy file name to clipboardExpand all lines: solutions/search/agent-builder/models.md
+84-1Lines changed: 84 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,4 +12,87 @@ These pages are currently hidden from the docs TOC and have `noindexed` meta hea
12
12
**Go to the docs [landing page](/solutions/search/elastic-agent-builder.md).**
13
13
:::
14
14
15
-
# Using different models in {{agent-builder}}
15
+
# Using different models in {{agent-builder}}
16
+
17
+
{{agent-builder}} uses large language models (LLMs) to power agent reasoning and decision-making. By default, agents use the Elastic Managed LLM, but you can configure other models through Kibana connectors.
18
+
19
+
## Default model configuration
20
+
21
+
By default, {{agent-builder}} uses the Elastic Managed LLM connector running on the [Elastic Inference Service](/explore-analyze/elastic-inference/eis.md) {applies_to}`serverless: preview` {applies_to}`ess: preview 9.2`.
22
+
23
+
This managed service requires zero setup and no additional API key management.
24
+
25
+
Learn more about the [Elastic Managed LLM connector](kibana://reference/connectors-kibana/elastic-managed-llm.md) and [pricing](https://www.elastic.co/pricing).
26
+
27
+
## Change the default model
28
+
29
+
By default, {{agent-builder}} uses the Elastic Managed LLM. To use a different model, select a configured connector and set it as the default.
30
+
31
+
### Use a pre-configured connector
32
+
33
+
1. Search for **GenAI Settings** in the global search field
34
+
2. Select your preferred connector from the **Default AI Connector** dropdown
35
+
3. Save your changes
36
+
37
+
### Create a new connector in the UI
38
+
39
+
1. Find connectors under **Alerts and Insights / Connectors** in the [global search bar](/explore-analyze/find-and-organize/find-apps-and-objects.md)
40
+
2. Select **Create Connector** and select your model provider
41
+
3. Configure the connector with your API credentials and preferred model
42
+
4. Search for **GenAI Settings** in the global search field
43
+
5. Select your new connector from the **Default AI Connector** dropdown under **Custom connectors**
44
+
6. Save your changes
45
+
46
+
For detailed instructions on creating connectors, refer to [Connectors](https://www.elastic.co/docs/deploy-manage/manage-connectors).
47
+
48
+
Learn more about [preconfigured connectors](https://www.elastic.co/docs/reference/kibana/connectors-kibana/pre-configured-connectors).
49
+
50
+
#### Connect a local LLM
51
+
52
+
You can connect a locally hosted LLM to Elastic using the OpenAI connector. This requires your local LLM to be compatible with the OpenAI API format.
53
+
54
+
Refer to the [OpenAI connector documentation](kibana://reference/connectors-kibana/openai-action-type.md) for detailed setup instructions.
55
+
56
+
## Connectors API
57
+
58
+
For programmatic access to connector management, refer to the [Connectors API documentation]({{kib-serverless-apis}}group/endpoint-connectors).
59
+
60
+
## Recommended models
61
+
62
+
{{agent-builder}} requires models with strong reasoning and tool-calling capabilities. State-of-the-art models perform significantly better than smaller or older models.
63
+
64
+
The following models are known to work well with {{agent-builder}}:
65
+
66
+
-**OpenAI**: GPT-4.1, GPT-4o
67
+
-**Anthropic**: Claude Sonnet 4.5, Claude Sonnet 4, Claude Sonnet 3.7
68
+
-**Google**: Gemini 2.5 Pro
69
+
70
+
### Why model quality matters
71
+
72
+
Agent Builder relies on advanced LLM capabilities including:
73
+
74
+
-**Function calling**: Models must accurately select appropriate tools and construct valid parameters from natural language requests
75
+
-**Multi-step reasoning**: Agents need to plan, execute, and adapt based on tool results across multiple iterations
76
+
-**Structured output**: Models must produce properly formatted responses that the agent framework can parse
77
+
78
+
Smaller or less capable models may produce errors like:
79
+
80
+
```console-response
81
+
Error: Invalid function call syntax
82
+
```
83
+
84
+
```console-response
85
+
Error executing agent: No tool calls found in the response.
86
+
```
87
+
88
+
While any chat-completion-compatible connector can technically be configured, we strongly recommend using state-of-the-art models for reliable agent performance.
89
+
90
+
:::{note}
91
+
GPT-4o-mini and similar smaller models are not recommended for {{agent-builder}} as they lack the necessary capabilities for reliable agent workflows.
92
+
:::
93
+
94
+
## Related resources
95
+
96
+
-[Limitations and known issues](limitations-known-issues.md): Current limitations around model selection
97
+
-[Get started](get-started.md): Initial setup and configuration
Copy file name to clipboardExpand all lines: solutions/search/elastic-agent-builder.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,13 @@ To get started you need an Elastic deployment and you must enable the feature.
54
54
55
55
[**Get started with {{agent-builder}}**](agent-builder/get-started.md)
56
56
57
+
## Model selection
58
+
59
+
By default, agents use the Elastic Managed LLM, but you can configure other model providers using connectors, including local LLMs deployed on your infrastructure.
60
+
61
+
[**Learn more about model selection**](agent-builder/models.md)
62
+
63
+
57
64
## Programmatic interfaces
58
65
59
66
{{agent-builder}} provides APIs and LLM integration options for programmatic access and automation.
0 commit comments