I replaced five automation scripts with one local AI agent, and it broke things I didn't expect

It was a bad idea.