agent example updates