You might enjoy Crystal Society. It's written from the perspective of an AI with an internal dialogue orchestrated by a few distinct modules.
https://www.goodreads.com/book/show/28678856-crystal-society
https://www.goodreads.com/book/show/28678856-crystal-society