adding agent_settings to agent