Demonstrates an end-to-end workflow for an LLM chat client to interact with a FastAPI server exposing database tools via Server-Sent Events.
This project serves as a comprehensive template demonstrating the integration of a Large Language Model (LLM) chat client with a backend service to perform database operations. It features a FastAPI server that exposes PostgreSQL database tools, leveraging Server-Sent Events (SSE) for efficient client-server communication using JSON-RPC. The accompanying LLM chat client dynamically discovers and invokes these tools—such as listing or adding employees—allowing the conversational AI agent to interact with and retrieve information from a database, making it an ideal starting point for developing intelligent agents capable of complex system interactions.