
LANGCHAIN — Does LangChain Partner with Elastic to Launch the Elastic AI Assistant?
Hardware is easy to protect: lock it in a room, chain it to a desk, or buy a spare. Software is harder to protect, but it is also harder to steal: often it is easier to write it than to persuade someone to give it to you.— Richard Stallman
LangChain has partnered with Elastic to launch the Elastic AI Assistant. The Elastic AI Assistant is a premium product designed to support the security analyst workflow. It integrates AI with search technology to facilitate the discovery of actionable insights from large volumes of both structured and unstructured data.
The AI Assistant provides various features to help security teams with tasks, such as alert summarization, workflow suggestions, query generation and conversion, and agent integration advice. This enterprise-only feature has significantly reduced the mean time to respond to alerts generated by Elastic Security, as well as the time it takes to write queries and detection rules.
How LangChain and LangSmith Supported the Product Development
Elastic designed their application to be agnostic to the LLM from the start. LangChain provided the tooling to create a RAG application natively, abstracting the application logic from each of the underlying components. LangChain also had a great integration with Elastic’s vector database.
LangSmith was critical in helping the Elastic team understand what exactly got sent to the model, how long the full trace took, and how many tokens were consumed in the process. It helped the team better understand how different models could be good at different tasks and at different price points.
What’s Next with Elastic AI Assistant
The goal of the AI Assistant is to alleviate as much work as possible for the security analyst and give them more time back in their day. The next big step in the AI Assistant is to leverage LangChain’s agent framework so that more work can be achieved in the background and have users approve actions.
Giving Back to the Community
In the spirit of open source, the Elastic team has made available a lot of their code that powers the Elastic AI Assistant. For other exciting educational content on ML development with Elastic, check out Elastic Search Labs.
This partnership showcases how LangChain and LangSmith supported Elastic in developing the Elastic AI Assistant, providing insights into the integration with LangChain’s technology and the future plans for the AI Assistant. It stands as an example of collaboration in AI development, emphasizing the importance of such partnerships in creating innovative solutions for real-world challenges.





