Implementing agent event management.