added agent example to readme