Get started with Elastic Agent Builder
To start using Elastic Agent Builder you need to deploy Elasticsearch and Kibana. If you don't already have an Elastic deployment, you can start a free trial or refer to Deploy > Choosing your deployment type.
This feature requires the appropriate Elastic Stack subscription or Serverless project feature tier.
-
Enable Elastic Agent Builder
On non-serverless deployments, Elastic Agent Builder availability depends on the navigation mode of your Kibana space:
Elasticsearch solution viewElastic Agent Builder is enabled by default, replacing AI Assistant. You can access it from multiple entry points:
- Select the Agent Builder card on the Elasticsearch home page.
- Click Agents in the navigation menu.
- Click the AI Agent button in the top-right header to start a conversation from any page.
- Open the Agent builder API tutorial from the Kibana Getting started page, under Explore the API.
Elastic Observability and Elastic Security solution viewsElastic Agent Builder is enabled by default, replacing AI Assistant. You can access it from two entry points:
- Click Agents in the navigation menu.
- Click the AI Agent button in the top-right header to start a conversation from any page.
Classic viewElastic Agent Builder appears in the side navigation under Elasticsearch. You can choose Agent Builder as your assistant through the initial selector or the chat experience switch.
You can also search for Agents in the global search field.
Elastic Agent Builder is the default chat experience in all serverless project types.
Elasticsearch ServerlessYou can access Elastic Agent Builder from multiple entry points in the UI:
- Select the Elastic Agent card on the Elasticsearch home page.
- Click Agents in the navigation menu.
- Click the AI Agent button in the top-right header to start a conversation from any page.
- Open the Build a chat tool with Agent Builder API tutorial from the Kibana Getting started page, under Explore the API.
Elastic Observability Serverless and Elastic Security ServerlessElastic Agent Builder is enabled by default, replacing AI Assistant. Click the AI Agent button in the top-right header to start a conversation from any page.
You can also search for Agents in the global search field.
NoteTo learn about required privileges for Elastic Agent Builder, refer to Permissions and access control.
Previous versions On non-serverless deployments, Elastic Agent Builder availability depends on the navigation mode of your Kibana space:
Elasticsearch solution viewElastic Agent Builder is enabled by default, replacing Search Assistant. You can access it from multiple entry points:
- Select the Agent Builder card on the Elasticsearch home page.
- Click Agents in the navigation menu.
- Click the AI Agent button in the top-right header to start a conversation from any page.
- Open the Agent builder API tutorial from the Kibana Getting started page, under Explore the API.
Elastic Observability and Elastic Security solution viewsYou must switch from AI Assistant to Agent Builder to enable the feature. Once enabled, find Agents in the navigation menu.
Classic viewElastic Agent Builder appears in the side navigation under Elasticsearch. You can choose Agent Builder as your assistant through the initial selector or the chat experience switch.
You can also search for Agents in the global search field.
-
Ingest data into Elasticsearch
If you already have data in Elasticsearch, skip ahead to start a conversation.
If you need to add data first, choose the path that fits:
Use sample dataIf you're not ready to add your own data, you can:
- Load sample data in Kibana.
- Generate synthetic financial data using this Python tool. (This requires your Elasticsearch URL and an API key).
- Follow the Elastic Agent Builder API tutorial, which includes sample book data.
Bring your own dataIf you already have data, you can:
- Upload a file in the Kibana UI for quick testing.
- Learn about your ingestion options if you'd like to ingest larger datasets.
-
Start a conversation
The Agent Chat UI provides a conversational interface where you can interact with agents and explore your data using natural language. The default
Elastic AI Agentis ready to use immediately.Learn more in Agent Chat.
-
Configure model (optional)
On Elastic Cloud Hosted and Elastic Cloud Serverless, Elastic Agent Builder comes with preconfigured models ready to use. To switch models or add your own, refer to model selection and configuration.
-
Begin building agents and tools
Once you've tested built-in agents with built-in Elastic tools, you can begin building your own agents with custom instructions and creating your own tools to assign them. You can also clone the default
Elastic AI Agentas a starting point for a custom agent.To build agents and tools programmatically, try the Elastic Agent Builder API tutorial or explore the Kibana APIs.