I use hledger. Similar thing. Use the LLM to create and manage the scripts, don't give it access to the raw data.