The primary job of a literary agent is to find an editor who wants to buy your book (and to negotiate the best deal for you). A good literary agent will have a wide network of connections in the publishing industry and can help connect you with editors and publishers interested in your book. A literary agent might also help you revise your book to make it more marketable.