This tool provides an AI agent system designed to interact with product and order management systems. It leverages a LangGraph agent with a mock LLM to determine user intent and execute actions, integrating with MCP (Multi-purpose Communication Protocol) servers via subprocesses for core functionalities like listing, adding, and managing products and orders. The entire system is exposed through a FastAPI endpoint, offering capabilities such as product queries, additions, order creation, and custom tools like a discount calculator. It includes robust features like Docker containerization, SQLite persistence, Redis caching for improved performance, and advanced observability with request IDs and detailed logging of tool calls.
Características Principales
01FastAPI endpoint for agent interaction (POST /api/v1/agent/query)
02MCP servers for product and order management via stdio subprocesses
03Redis caching for MCP read operations with TTL and invalidation
04Docker and Docker Compose support for easy deployment and persistence
051 GitHub stars
06LangGraph AI agent with Mock LLM and custom tools (calculator/formatter)
Casos de Uso
01Managing product inventory by listing, adding, and querying items through natural language commands
02Automating order creation by specifying product IDs and quantities
03Calculating discounts for specific products based on percentage inputs