Our Final Invention: Artificial Intelligence and the End of the Human Era (2013) is a non-fiction book by American author James Barrat. The book discusses the potential benefits and possible risks of human-level or super-human artificial intelligence. Those purported risks include extermination of the human race.