Added sample agents and improved agent management.