What is an Agentic Application?

· Source: LLM on Medium · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Software Development & Engineering · Depth: Intermediate, quick

Summary

This article details the construction of a simple agentic application using the Spring AI framework, specifically focusing on its integration with AWS Bedrock for Large Language Model (LLM) capabilities. The application is designed to interact with an MCP server, also built with Spring AI, which exposes tools via an HTTP streaming protocol in a stateless mode. For conversational memory, it employs Spring AI's built-in InMemory repository and MessageWindowChatMemory. The practical scenario demonstrated involves the application providing weather information and latitude/longitude data for specified cities, showcasing Spring AI's capabilities in orchestrating LLM interactions, tool usage, and memory management within an agentic architecture.

Key takeaway

For AI Engineers developing agentic applications, leveraging Spring AI offers a structured approach to integrate LLMs like AWS Bedrock, manage conversational memory, and expose tools. You should consider using its built-in memory repositories and stateless MCP server integration to streamline development and ensure robust interaction capabilities for your applications.

Key insights

Spring AI facilitates building agentic applications by integrating LLMs, tools, and memory components.

Principles

Method

Build agentic applications by connecting Spring AI to LLMs (e.g., AWS Bedrock), exposing tools via an MCP server, and managing conversation history with MessageWindowChatMemory.

In practice

Topics

Best for: AI Engineer, Software Engineer, AI Student

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by LLM on Medium.