American Hustle is a 2013 American crime comedy - drama film directed by David O. Russell , from a screenplay written by Eric Warren Singer and Russell , loosely based on the FBI ABSCAM operation of the late 1970s and early 1980s .