Quantum of Solace is a 2008 spy film and the twenty-second in the James Bond series produced by Eon Productions. Directed by Marc Forster and written by Paul Haggis, Neal Purvis, and Robert Wade, it is a direct sequel to Casino Royale, and the second film to star Daniel Craig as the fictional MI6 agent James Bond.