Starting the agent