Agents of S.H.I.E.L.D.: Purpose in the Machine

"Purpose in the Machine" is the second episode of season three of the television series Marvel's Agents of S.H.I.E.L.D. and the forty-fifth episode of the series overall. It was directed by Vincent Misiano with a script written by Jed Whedon and Maurissa Tancharoen. It first aired on ABC on Tuesday, October 6th, 2015 at 9:00 pm.