pub fn materialize_shell(
pool: &SharedKVPool,
agent_id: &str,
agent_tokens: &[(String, Vec<f32>)],
seed: u64,
) -> Result<(AgentShell, ShellMaterializeReceipt)>Expand description
Materialize an AgentShell from a SharedKVPool and agent-specific tokens.
Agent tokens that are not found in the shared pool are compressed with turbo-quant and stored in shell layers.