# oMLXがagent所有のKV cache artifact export/importをRFC実装

記録日: 2026-09-13
分類: HOLD
正規URL: https://findings.yatabis.dev/findings/omlx-agent-kv-cache-artifact-export-import/

## 概要

oMLX draft PR \#3615は、engine管理のpaged SSD cacheを外部agentが保持できるartifactへexport/importする仕組みを提案する。artifactはblock chainとGDN sidecarをbyte-identicalに保存し、token chain、model identity、cache signature、SHA-256をfail-closedで検証して再登録する。再起動後も長いprefixを再prefillせず復元できる一方、現状はsingle-node限定でMTP draft stateは保存しない。

## 所感

prefix cacheを単なるengine内部LRUではなくportableなstate artifactとして扱う境界は、長寿命agentとruntimeを分離するうえで有用。ただしformat、cluster restore、speculative stateの扱いが未確定なので現時点では設計監視に留める。

タグ: mlx, kv-cache, ssd, agent, state-persistence

## 情報源

- [oMLX PR \#3615: Add agent-facing KV cache export/import artifacts (draft, RFC)](<https://github.com/jundot/omlx/pull/3615>) — GitHub
