prototype agent receiving messages