Blogs
A collection of articles on AI, LLMs, MCP, Java, Spring Boot, and enterprise application development.Debugging WebSocket Disconnect in Spring Boot
This article details a debugging journey involving silent WebSocket disconnections in a Spring Boot application when handling large payloads (approx. 70KB). The root cause was identified as the default 8KB buffer limit in the embedded Tomcat server's `WsServerContainer`. The solution involves strictly configuring a `WebServerFactoryCustomizer` to increase these buffer limits.
Read articleDeep Dive: Enterprise Security with OBO Tokens & AI Agents
A complex, real-world scenario involving a "Traveler App" expense approval flow. Learn how Sally (User), Steve (Manager), API Gateways, and AI Agents work together using OBO tokens and MCP to ensure absolute security.
Read articleOn-Behalf-Of Token: The "Hall Pass" for Enterprise Security
A simple, "explain like I'm 15" guide to On-Behalf-Of (OBO) tokens. Learn why modern enterprise apps use them to keep data safe, how they prevent "super-admin" privileges from leaking, and why they are the digital equivalent of a high school hall pass.
Read articleMCP Client and Server Architecture for enterprise applications
The Model Context Protocol (MCP) in action with a simple example of an LLM using MCP to query a tool or send an email. This architecture facilitates scalable and flexible AI applications by providing a universal interface for LLMs to access capability-rich tools, data sources, and services.
You will find practical examples that get a better understanding of the MCP.
Read articleMCP Explained: How to Connect Any LLM to Any Tool
The Model Context Protocol (MCP) is a standardized, open protocol designed to solve the "N x M" integration problem in AI—connecting N different LLMs or AI agents with M different external tools, data sources, and services.It acts as a universal language or a standardized interface (like a USB-C port for AI) that enables an LLM to reliably discover, access, and execute external functions in real time.
Read articleBest practices for data extraction from tools also known as FunctionTool in Agent SDK
Here are some of the my personal learnings while working with Google Agent SDK and building AI Agents using Google Gemini. This article explains about best practices for data extraction from tools also known as FunctionTool in Agent SDK.
Read articleConversational AI Agents Pattern
Learn about the AI Agent Pattern also known as Conversation Chain, and the transition from AI-Ready to AI-Native applications.
Read articleScheduling Assist Agent using Google Gemini that demonstrates real usecase of AI Agent.
This article explains about how to build complete Artificial Agent from scrtatch using Google Gemini and Google Cloud Platform using Java as programming language. The whole application consiste of 3 parts, one is the agent that is built using Google Gemini, second is the backend that is built using Spring Boot to provide the implementaion of the API's invoked by AI Agent and third is the frontend that is built Angular.
Read articleAutomating Email Workflows with Google Cloud Application Integration, Pub/Sub and Send Mail task.
This article explains about how you can use Google Application Integration to send emails via Pub/Sub.
Read articleGoogle Cloud Platform API Gateway Security
Recently Google has introduced a new API management service. Google Cloud API Gateway is a fully managed service that makes it easy for…
Read articleGoogle Cloud Run, Strapi with PostgreSQL on Google Cloud Platform
I had to find a reliable way to host Strapi with PostgresSQL at a reasonable cost for my projects because Heroku stopped allowing users to…
Read articleGoogle API Gateway and Load Balancer + CDN
In recent, we’re exploring the Google API Gateway product and it looked ideal for organizations/developers to create, publish, maintain…
Read articleMy Github Portfolio information
You can explore my open-source projects, code samples, and contributions on my Github portfolio.
Visit: github.com/mohan-ganesh