Exactly my thoughts when I built all this: https://deepbluedynamics.com

I do provide cloud support for somethings like embeddings and crawling, but you can run it local if you want. The only thing closed source is the memory system, but it still runs local if you want it.