event‑driven ai agents