Anyone running agents 24/7, not just in sessions?

Posted by Music_is_ma_soul@reddit | LocalLLaMA | View on Reddit | 8 comments

I've got llama3 70B running on a dual 3090 setup through Ollama. Built a python script that checks financial data every morning, analyzes it, and sends me a summary on Telegram.

Problem is it's basically a cron job with amnesia. Every run starts from scratch. It told me the same "AAPL is showing unusual volume" insight three days in a row because it doesn't remember what it already told me.

I hacked together a SQLite log which stores the last 10 summaries into the prompt as context but that's already getting long and I know it won't scale past a few weeks. I'm thinking of doing a markdown file for short term and keeping the sql as a dbish??

Anyone here actually have an agent running long-term that remembers previous runs? How are you handling the memory? Just curious what setups people have landed on.