MessageHandler

Handles incoming messages and produces responses. This is the main extension point for implementing agent behavior.