
The Investigation
My work investigates a central question: what happens when intelligence infrastructure belongs entirely to the person using it? The answers are architectural — explicit memory replacing implicit context, graph reasoning replacing flat retrieval, modular cognition replacing monolithic models, and local-first computing replacing cloud dependence as the default.
This question shapes every project. Cognitive memory systems that evolve their own knowledge graphs. Mixture-of-experts routing through specialized local models. RAG pipelines designed for inspectability rather than benchmark scores. Each project tests a specific architectural hypothesis.
Sovereign AI synthesizes these investigations into a coherent framework. Eleven chapters trace the architectural logic from first principles — why local inference matters structurally, how knowledge graphs change the retrieval problem, what agent architectures require for persistence — through production deployment patterns.
I document the work publicly: the code on GitHub, the reasoning in the blog, the synthesis in the book. If you are investigating similar questions, the work is open.
Design Principles
Computational Sovereignty
Intelligence infrastructure answers to its user, not a third party. This constrains every architectural decision.
Explicit Memory & Graph Reasoning
Agents remember deliberately. Vector stores, knowledge graphs, and structured recall form the substrate of persistent cognition.
Modular Cognition & Inspectability
Intelligence is not monolithic. Specialized models route dynamically, and every decision traces to its source.
Local-First & Recursive Improvement
The default position is local. Systems examine their own outputs and refine iteratively — architectures improve as they run.
Timeline
Framework Synthesis
Sovereign AI synthesizes years of architectural investigation into a coherent framework — from first principles through production deployment.
Cognitive Memory Architecture
Sovereign Memory Bank discovered that persistent agent memory requires a multi-layered architecture: raw documents to synthesized abstractions.
Compositional Intelligence
Dynamic Persona MoE RAG demonstrated that routing between specialized local models produces more coherent reasoning than any single model.
Everyday Inference
Chrome AI Filename Generator tested whether local inference integrates into practical user workflows. Proved on-device AI can be unobtrusive.
Open Investigation Begins
Started publishing research in public. The blog and GitHub became the laboratory for systematic architectural exploration.
Open Source
Hundreds of repositories. Each one tests a specific architectural question.

Sovereign AI: An Architectural Investigation into Local-First Intelligence
by Daniel Kliewer · Paperback · 72 pages
An examination of the architecture of intelligence that you own — from first principles through production deployment.