Migrate from AI Assistant to Agent Builder

Requirements

To change the chat experience, you need:

  • An Enterprise subscription or the equivalent Serverless project feature tier.
  • The Actions and Connectors: Read privilege, to open GenAI Settings.
  • The Advanced Settings: All privilege. Without it, the Chat Experience setting is visible but you can't save it.
  • Access to at least one classic AI assistant.
  • One of these Elastic Agent Builder privilege sets:
    • Agent Builder: All
    • Agent Builder: Read plus Create and edit agents

For details, refer to Elastic Agent Builder permissions.

Elastic Agent Builder replaces Elastic AI Assistants:

  • Elastic AI Assistant for Observability and Search
  • AI Assistant for Security

Switching changes the chat experience only. It doesn't migrate your AI Assistant conversations, prompts, or knowledge base entries, and Elastic Agent Builder can't be configured to access these resources. Use the feature replacements to re-create what you need.

  • Agent Builder is the default chat experience for all solutions.
  • Agent Builder is the default for Elasticsearch solution users. Elastic Observability and Elastic Security solution users can switch to Agent Builder to opt in.

Kibana might prompt you to switch when your deployment supports it and you have sufficient privileges. You can also switch at any time:

  1. Use the global search field to find GenAI Settings.
  2. Under Chat Experience, select AI Agent.
  3. Select Save changes.

When the switch succeeds, the AI Agent button in the Kibana header opens Elastic Agent Builder instead of AI Assistant. To start using it, refer to Get started with Elastic Agent Builder.

Tip

For connectors and tested models, refer to Configure access to LLMs. To learn about the chat UI modes, refer to Chat UI modes in Elastic Agent Builder.

Most AI Assistant features have an Elastic Agent Builder equivalent. Availability varies by version. Features labeled Elastic Security or Observability exist only in that solution's AI Assistant.

AI Assistant feature In Agent Builder
Chat sharing and duplication Conversations can be shared with specific users or publicly. Only the owner of a conversation can share it. Members can continue a shared conversation. Duplication isn't available.
Chat archiving
(Observability)
Not available.
Pin conversations instead.
Data anonymization Pattern-based and off by default. Unlike AI Assistant, you choose patterns to mask, not alert fields. Built-in patterns cover email addresses, IP addresses, host names, and account names (off by default), and you can add your own regular expressions. To turn it on, open Stack Management, select Anonymization in the AI section, then turn on Mask PII in AI requests on the Settings tab. This page requires an Enterprise subscription or the equivalent Serverless project feature tier, and the Advanced Settings: All and Actions and Connectors privileges. Masking doesn't apply to data sent directly to a connector, for example from a workflow connector step.
Knowledge base Refer to Replace knowledge base content.
Alerting rule connector action
(Observability)
Partial. Use an action policy to run a workflow that calls an agent with the ai.agent step.
Audit logging Kibana records audit events when agents, tools, and skills are created, updated, or deleted. Kibana also records when a conversation is created.
Citations
(Elastic Security)
Available.
Quick prompts
(Elastic Security)
Use skills and invoke them with slash commands.

Elastic Agent Builder also adds custom agents, custom tools, and integration with Elastic Workflows.

Elastic Agent Builder has no dedicated knowledge base UI. Use these equivalents for what you stored in AI Assistant:

AI Assistant knowledge base feature In Agent Builder
Elastic product documentation Install Elastic documentation from GenAI Settings.
Kibana installs docs automatically when Elastic Inference Service (EIS) is available and Use AI features is turned on.
Security Labs articles
(Elastic Security)
Install Security labs from GenAI Settings.
Indices and content connector indices Create an index search tool for the index and assign it to your agent.
Markdown entries created in the settings UI Index the content yourself, then create an index search tool.
"Remember this" in chat Not a direct replacement. Context Engine memories need Context Engine turned on and a memory-enabled AI index assigned to your agent.
Required knowledge and retrieval on every prompt Add the knowledge to your custom agent's instructions. The agent decides when to call a tool, so include guidance if it should search specific knowledge regularly.

Each AI chat experience has different APIs. To learn which actions each option supports, refer to: