Ancillary Justice is a science fiction novel written by Ann Leckie. It takes place in a future where an empire rules over multiple planets and follows the story of Breq, a former starship AI who seeks revenge against the ruler of the empire. The book explores themes of identity, power, and the nature of consciousness.