I read a novel in the last few months, that probably wasn't more than a few years old, in this novel "humanity" was composed composed of a majority of transhuman cyborgs in alliance with powerful AI, floating black teardrops called Intellects and posthuman "source coders" (or similar): human personalities created by algorithm or AI, it's not clear, that seem to often be treated as second class citizens. Or maybe not. We get their perspective through a convicted mutineer/deserter/revolutionary. The novel is set very far in the future and opens on a long period of peace for the alliance but there is an attack coming from a group, now an empire, of exiled baseline humans without any augmentations, they're not referred to as humans except by themselves.
The first wave of this new war is a cyber attack that kills the vast majority of augments and AIs. The action centres around the many times resurrected general who won the war to exile the baselines. The crew of a ship that survives the first attack and a young corporate heiress who is not yet old enough for augmentation under her family's strict code.
This was the first novel in a series that I couldn't find the later books of and now I can't look again because I can't remember the author or title. I feel like it was the name of the enemy humans or the protagonist ship or something like that but of course those details have slipped my mind as well.