Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aien-protocols-mv/blob/main/specs/inference/SPEC.md # aien-protocols-mv Canonical specifications, wire protocols, and schemas for the AIEN sovereign ecosystem Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aien-protocols-mv / specs / inference / SPEC.md` 15 lines ยท 868 bytes Raw Blame History Rendered 1 # Inference Protocol Specification 2 3 **Status**: Draft 4 **Version**: 1.0.0 5 **License**: Community Specification License 1.0 6 7 ## Abstract 8 9 The Inference Protocol defines the contract between autonomous agent orchestrators (AEGIS) and model execution backends (Sovereign Core). 10 11 ## Core Concepts 12 13 1. **Inference Context Reference (`InferenceContextRef`)**: A durable logical handle referencing reproducible inference context. It contains model and tokenizer fingerprints, logical state digests, lineage metadata, and cache isolation keys. It never contains physical GPU pointers or raw block IDs. 14 2. **Copy-on-Write Branching**: Sequential sequence branches share immutable prefix KV blocks with reference counting. Physical page copies occur exclusively upon divergence. 15 3. **Leased KV Pinning**: Blocks are held via time-bounded leases renewed during active runs.