Tech stack: GraalVM native-image, Java 25, ONNX Runtime (all-MiniLM-L6-v2), HNSW via jvector, SIMD-accelerated cosine similarity via Java Vector API. First version on plain JVM was 2x slower than Redis — after native-image + SIMD it jumped to 1.36x faster.
Detailed write-up with benchmarks: https://scrobot.substack.com/p/agentis-memory-redis-compatib...
Happy to answer any questions about the architecture or benchmarks.