That’s exactly why we released FalkorDBLite,an embedded graph engine designed for local, edge, and GenAI use cases (GraphRAG, agentic memory, semantic layers, code graphs, etc.).
I tried it out a bit. Like SQLite, it can be used as an embedded db in a flat file. It will be interesting to see what Apple does with it. Their blog had some great examples using BAML.