Load a CSV file for various independent queries via API

Hi
I want to create an AI Agent that reads and analyzes a CSV file I provide it and I update it daily, and then allows me to come with prompts that might have specific questions where I need the LLM to use its previous analysis of the CSV file.
Each prompt shall be stand-alone with no context sharing with the other prompts coming - but all of them shall use the same reference CSV analysis.
Whats the best way to implement?

I would see if I can transform my CSV file in a real DB accessible via API and add another table with processed analysis records, then would use the DB API to access all that data and possibly expose it as tools/functions to the LLM model or add a “simplifier” wrapper around it.

Also, you can use Google app scripts with cloudflare workers to work directly on the spreadsheet, but it might fire back with some complications in the long run, especially if you plan working with analysis.