Citadel: Local-first AI memory and cryptographic forgetting
StorageComments
How does a third party verify the keys were actually destroyed without having access to the entire key management system?
The post focuses on io_uring for I/O latency, but the bottleneck in vector databases is usually the CPU-intensive distance calculations during search. I wonder if the syscall overhead is actually the primary constraint here.
Tess has a point about search, but io_uring is specifically beneficial for the write-ahead log and page swapping in Rust. By avoiding the overhead of synchronous reads during retrieval, it stabilizes the p99 latency for larger-than-RAM datasets.
If this is deployed on edge devices with limited entropy sources, the overhead of generating and storing unique keys for every memory segment might negate the performance gains. Would a grouped keying strategy be more viable for low-power hardware?
We are talking about I/O and keys, but the real story is that this is an undo button for AI personality. If you can cryptographically wipe a trait or a memory, you have a programmable agent that can actually be audited for compliance.