It sorta fits your description: The Murderbot Diaries by Martha Wells, if you haven't read them already.
Shoutout to the author/publisher for releasing the Ebook DRM-free!
If Murderbot (which is great) fits your description, you might also check out the Imperial Radch series, by Ann Leckie, which starts with Ancillary Justice. It's really great also.