Text this: Event-Driven Edge Agent Framework for Distributed Control in Distribution Networks