Create an agent interface.