Dirk Gently's Holistic Detective Agency


Dirk Gently's Holistic Detective Agency is a humorous detective novel by English writer Douglas Adams, first published in 1987. It is described by the author on its cover as a "thumping good detective-ghost-horror-who dunnit-time travel-romantic-musical-comedy-epic".
The book was followed by a sequel, The Long Dark Tea-Time of the Soul. The only recurring major characters are the eponymous Dirk Gently, his secretary Janice Pearce and Sergeant Gilks. Adams also began work on another novel, The Salmon of Doubt, with the intention of publishing it as the third book in the series, but died before completing it.
A BBC Radio 4 adaptation of six episodes was broadcast from October 2007. A second series based on the sequel was broadcast from October 2008. A 2010 television adaptation for BBC Four borrowed some of the characters and some minor plot elements of the novel to create a new story, and a 2016 television adaptation for BBC America served as a continuation of the books.

Writing

The genesis of the novel was in two Doctor Who serials written by Adams, City of Death and in particular the cancelled serial Shada, which first introduces a Cambridge professor called Chronotis who is hundreds of years old. He has been living and working at a Cambridge college for centuries, apparently attracting no attention. In Shada, Chronotis's longevity is due to him being a Time Lord, and his time machine is an early model TARDIS. These trademark elements from Doctor Who were removed by Adams for Dirk Gently. Shada was cancelled before completion due to a production strike and later released on VHS with Tom Baker narrating the unfilmed segments. The story was also animated in 2017 and released on DVD.
A number of elements in the novel were inspired by Adams' time at university. For example, one plot thread involves moving a sofa which is irreversibly stuck on the staircase to Richard MacDuff's apartment; according to his simulations, not only is it impossible to remove it, but there is no way for it to have got into that position in the first place. In a similar incident that occurred while Douglas Adams attended St John's College, Cambridge, furniture was placed in the rooms overlooking the river in Third Court while the staircases were being refurbished. When the staircases were completed, it was discovered that the sofas could no longer be removed from the rooms, and the sofas remained in those rooms for several decades.
The South Bank Show revealed that Adams based Chronotis' rooms on the rooms he occupied in his third year at university. Likewise, Richard's room – filled with Macintosh computers and synthesisers – was based on Adams' own flat. The piece of music by Bach that is heard aboard the satellite is "Ach bleib bei uns, Herr Jesu Christ" from the cantata "Bleib bei uns, denn es will Abend werden", BWV 6. Adams stated that this was his personal "absolutely perfect" piece of music, and that he listened to it "over and over; drove my wife completely insane" while writing Dirk Gently's Holistic Detective Agency.

Plot summary

Richard MacDuff attends the Coleridge dinner at his old college St Cedd's, where he witnesses his former tutor, Professor Urban "Reg" Chronotis, perform an inexplicable magic trick in which he makes a salt cellar disappear, then reveals it by smashing a centuries-old clay pot that a young girl brought to the dinner. The dinner concludes with a reading of Coleridge's poem "Kubla Khan", including a mysterious second part.
Meanwhile, an Electric Monk and his horse find a mysterious door on an alien planet, which leads them to Earth. MacDuff and Prof. Chronotis find the horse in the Professor's bathroom, but this does not seem to overly surprise him. The Monk, misunderstanding a casual comment, shoots and kills MacDuff's boss Gordon Way. Way's ghost makes several attempts to contact the living.
MacDuff returns to his London flat and engages in odd behaviour, including climbing a drainpipe to break into the flat belonging to his girlfriend, Susan Way, to erase an embarrassing message left on her answering machine. Susan returns from a night out with Michael Wenton-Weakes. Wenton-Weakes subsequently begins behaving strangely, becoming obsessed with Coleridge and intense feelings of aggrievement.
The next day, MacDuff visits former schoolmate Dirk Gently, a self-claimed "Holistic Detective" who believes in the "fundamental interconnectedness of all things" and is currently searching for a missing cat. Gently informs MacDuff that he is a suspect in the death of Gordon Way, and begins to unravel the mysterious chain of events. Gently concludes that MacDuff had been possessed by a ghost and that a time machine was involved. Ultimately, the two travel to St. Cedd's to meet with Prof. Chronotis, and a complex history is revealed.
Four billion years in Earth's past, a group of aliens called Salaxalans landed on Earth; however, a mistake caused by their engineer – who used an Electric Monk to irrationally believe the proposed fix would work – caused their landing craft to explode, killing the Salaxalans. The ghost of the Salaxalan engineer roamed the earth, watching human life develop, searching for a way to undo its mistake, and waiting to find a sympathetic soul that it could possess. In the early 19th century, the ghost possessed Coleridge, and influenced his writing of "Kubla Khan" and "The Rime of the Ancient Mariner", but found the poet too 'relaxed' on laudanum to be useful. It discovered that Prof. Chronotis possesses a time machine disguised as his rooms at the college. At the aforementioned Coleridge dinner, the ghost influenced Prof. Chronotis to use the time machine to perform the magic trick, using the opportunity to lure the Electric Monk and its horse to Earth. However, the ghost found the Monk unusable for its purposes. The ghost subsequently attempted to possess MacDuff, resulting in his odd behaviour, before finding its sympathetic host in Wenton-Weakes.
The ghost, still in possession of Wenton-Weakes, arrives at Prof. Chronotis' quarters and convinces them to take him back in time to just prior to the explosion of the Salaxalan ship, so that he can make the proper repairs. As they watch the ghost take Wenton-Weakes' body out towards the ship, MacDuff gets a call from Susan and learns that Wenton-Weakes recently killed a professional rival. Gently realises that the similarity between Wenton-Weakes' jealousy toward his rival and the ghost's jealousy of humanity was what allowed the ghost to possess him. Gently concludes that the Salaxalans intended to settle permanently on Earth, and the explosion of their ship was what caused the beginning of life on the planet. In order to foil the ghost's plans, Gently, MacDuff, and Prof. Chronotis travel to the 19th century. Gently interrupts Coleridge, becoming the "man from Porlock" and preventing the full version of "Kubla Khan" from being written.
Upon arrival back in the 20th century, Gently, MacDuff, and Prof. Chronotis find small changes as a result of their actions, including the existence of the works of Johann Sebastian Bach, which had not existed in their original timeline. Gently learns that the missing cat he was searching for never went missing, and sends his client a revised bill that reads, "To: saving human race from total extinction – no charge."

Characters

Reviewing the book for The Times, John Nicholson wrote it was "endearingly dotty", but doubted its commercial potential. Austin MacCurtain of the Sunday Times reviewed the paperback edition in 1988, saying that it was "more of the same" as Hitchhiker's, and that the "cosmic romp is stretched thin at times but will not disappoint fans". The book was the 9th highest-selling hardback in the UK in 1987.
J. Michael Caparula reviewed Dirk Gently's Holistic Detective Agency in Space Gamer/Fantasy Gamer No. 84. Caparula commented that "The writing is wry and quite British, and the novel's quirky spirit is reminiscent of Rudy Rucker's mathematical farces. A nice change for Adams, proof that his talent goes far beyond the meandering Hitchhiker saga."
In 1990, the Magill Book Reviews said "The author's whimsical sense of humor and his sense that the universe has many unexplored possibilities will arouse the interest of a wide readership."
This novel caused Adams to become acquainted with the well-known scientist Richard Dawkins. As Dawkins explains, "As soon as I finished it, I turned back to page one and read it straight through again – the only time I have ever done that, and I wrote to tell him so. He replied that he was a fan of my books, and he invited me to his house in London." Adams would later introduce Dawkins to the woman who was to become his third wife, the actress Lalla Ward, best known for playing the character Romana in Doctor Who. One of her early serials on the programme was City of Death, which Adams wrote, and which shares certain plot elements with the novel.

Adaptations

On 5 January 1992, Dirk Gently, Richard MacDuff, Dirk's secretary, and the Electric Monk all appeared in the Douglas Adams episode of the British arts documentary series The South Bank Show. Michael Bywater played Dirk, while Paul Shearer played both Richard and the Monk. Several characters from The Hitchhiker's Guide to the Galaxy were also featured, played by the original television series actors.
The book has been adapted for stage performance as Dirk and in 2005, some fans of Douglas Adams produced an amateur radio series based on the first book. Their efforts began and were coordinated on the Douglas Adams Continuum website. Three episodes were completed. Apart from the radio broadcasts, Douglas Adams recorded both unabridged and abridged readings of the first novel for the audiobook market.

BBC Radio adaptation

Announced on 26 January 2007, BBC Radio 4 commissioned Above the Title Productions to make eighteen 30-minute adaptations of Douglas Adams' Dirk Gently books, running in three series of six episodes.
The first series began on 3 October 2007 and features Harry Enfield as Dirk, Billy Boyd as Richard, Olivia Colman as Janice, Jim Carter as Gilks, Andrew Sachs as Reg, Felicity Montagu as Susan, Robert Duncan as Gordon, Toby Longworth as the Monk, Michael Fenton Stevens as Michael, Andrew Secombe, Jon Glover, Jeffrey Holland, Wayne Forester and Tamsin Heatley.
The script for Dirk Gently's Holistic Detective Agency was written by Dirk Maggs, who also directs, and John Langdon. The show was produced by Maggs and Jo Wheeler. As with the previous Hitchhikers series, the CD version features greatly expanded episodes. There are a number of structural and detail differences between the radio adaptation and the book, mostly to aid the comprehension of the story when split into six half-hour episodes.
Dirk Maggs parted ways with Above the Title Productions when he started his own production company, Perfectly Normal Productions, and so the project was never completed and the proposed radio series of The Salmon of Doubt remains unmade.

Comic book adaptations

Cartoonist Ray Friesen made an unlicensed comic adaptation of the first novel for a book report. A few years later, in 2004, he posted 18 pages of it online as a webcomic.
IDW Entertainment and Ideate Media have adapted Dirk Gently into an limited comic book series and, later, an American television series for BBC America. The comic series premiered in May 2015.

Television adaptations

There have been two television series based on Dirk Gently books and characters.
The first series, Dirk Gently, featuring the character was announced during Hitchcon, a 2009 Hitchhiker's Guide to the Galaxy event to launch the sixth Hitchhiker's book. Ed Victor, a literary agent who represents Adams' estate, announced that a television adaptation of Dirk Gently's Holistic Detective Agency was in production. Stephen Mangan played Gently, with Darren Boyd as Macduff and Helen Baxendale as Susan. It was broadcast on BBC Four on 16 December 2010. The hour-long pilot was well-received, leading to three further episodes being commissioned. These aired on BBC4 during March 2012.
A second series, Dirk Gently's Holistic Detective Agency was released in January 2016. BBC America produced 18 episodes starring Samuel_Barnett_ as Dirk Gently, Elijah Wood as Todd Brotzman, Hannah Marks as Amanda Brotzman, and Jade Eshete as Farah Black. As of July 2020 it is available on the Hulu streaming service.

Inconsistencies with ending

In a thread on the official Message Boards of Douglas Adams' website, when a reader inquired about the specific mechanics of how the ending worked out, Adams responded: "Ahem. All I can say is that it was as clear as day to me when I wrote it and now I can't figure it out myself. Sorry about that. I'm actually thinking about it at the moment as I've been re-reading the book in preparation for doing a screenplay. I've got a little bit of sorting out to do..."