Added missing assistant defines and agent card protection