FastAPI application with webhooks that connect with Meta Messenger to automate messages to recommend recipes based on user inputs.
Agent is a LangGraph graph that connects with tools in a loop until it provides an answer. Tools available are a vectordb search on Pinecone for recipes (using Gemini API) and a creative tool that calls an LLM to generate custom recipe ingredient ideas. Tools use MCP, so they are centralized and reusable for different applications.
Once the user sends a message on Meta Messenger, the agent will automatically be called and provide an answer about recipe recommendations.
Usage example:
