Teach AI agents to manage context with Elastic Agent Builder | DEMSP395

Mike Richter shows how Elastic Agent Builder (Elasticsearch 9.4) can help AI agents manage long-running context by using a conversation context store, selective compaction, and dynamically loaded skills, with an emphasis on deploying these patterns in the Microsoft ecosystem on Azure and with Azure AI Foundry models.

Overview

This Build 2026 demo focuses on practical ways to deal with LLM context limits during longer tasks:

The session positions Elastic running in Azure and integrating with Microsoft model endpoints (Azure AI Foundry models) as the environment for these patterns.

Key ideas covered

Why context management breaks down in long tasks

Letting agents manage their own memory

The session describes an approach where the agent is responsible for managing what context is kept and what is compacted:

Elastic capabilities used for agentic and RAG scenarios

Secure dispatch and data efficiency

The session calls out:

Demo walkthrough (high level)

Skills as building blocks

Tool creation with ES|QL

Workflow integration example

Practical next steps mentioned

The session points to these implementation building blocks as takeaways:

Speakers