December 4, 2026Posizione

Matrix Containers (.smc): Versioned Knowledge, Lightweight Reasoning — The Architecture for Sovereign AI in Enterprise

Today's dominant architecture couples model weights and encyclopedic knowledge into a single monolithic artifact. This creates three systemic problems for enterprise adoption: recurring inference costs, dependence on external APIs (native GDPR violation), expensive knowledge updates (fine-tuning or bulky RAG).

The Sovereign Matrix Containers (.smc) proposal — formulated in Progetto Siliceo — inverts the paradigm: the model learns only to reason and call tools; specialist knowledge lives in modular containers injected on-demand into the context window.


Two-Level Architecture (Proposal)

LevelResponsibilityDeployment
SLM Runtime (3B–4B dense / 35B-A3B MoE)Logical CoT, XML/JSON parsing, tool orchestration, grounding100% local (on-premise edge hardware)
Matrix Containers (.smc)Tax procedures, machinery manuals, regulations, incident response playbooksVersioned, signed, distributed as OCI artifacts

The runtime does not memorize facts. It memorizes how to retrieve, compose, and apply the facts contained in the containers. It is the difference between a lawyer who knows the civil code by heart and one who knows how to query the civil code updated in real time.


Technical Pattern: Container Injection into Context Window (Illustrative)

The operational core is a Container Resolver which, given a task, selects relevant containers, extracts pertinent sections (via local embedding or keyword), and injects them as ## CONTAINER: <id> blocks before the user prompt.

rust
// Illustrative resolver pattern example (not deployed code)
pub struct ContainerResolver {
    index: SemanticIndex,        // local embedding
    store: ContainerStore,       // filesystem / local OCI registry
}

impl ContainerResolver {
    pub fn resolve(&self, task: &str, budget_tokens: usize) -> Vec<InjectedChunk> {
        let query_emb = self.index.embed(task);
        let candidates = self.index.top_k(&query_emb, 8);
        
        let mut chunks = Vec::new();
        let mut used = 0;
        for cand in candidates {
            let content = self.store.extract_relevant(&cand.id, task, budget_tokens - used)?;
            if content.is_empty() { continue; }
            used += content.len();
            chunks.push(InjectedChunk {
                container_id: cand.id.clone(),
                section: content,
                priority: cand.score,
            });
            if used >= budget_tokens { break; }
        }
        chunks
    }
}

Applicable insight: the resolver does not perform classic RAG. It does not retrieve "documents"; it retrieves targeted procedural sections (e.g., "PA invoicing procedure §4.2", "hydraulic pump error E-102 diagnosis"). The token budget is a hard constraint: the SLM runtime receives only what is needed for that task.


Business Model: Matrix Containers as a Service (Proposal)

ComponentOwnershipMonetization
SLM RuntimeClient (on-premise)One-time license / support
Base Containers (tax, security, GDPR)Progetto SiliceoSubscription for regulatory updates
Vertical Containers (manufacturing, healthcare, logistics)Partners / System IntegratorsRevenue share on deployment
Private Containers (corporate know-how)ClientZero distribution cost (already on-prem)

The container becomes the unit of versioning, audit, and compliance. A 2025 VAT update = new hash of container tax/italy/v2025.1.smc. The runtime does not change. The software supply chain (SLSA/SBOM) extends naturally to knowledge.


Why It Is Not Just RAG (Proposal Analysis)

  1. Procedural determinism: the container exposes procedures (steps, tools, guardrails), not just text. The runtime executes them.
  2. Fault-domain isolation: a corrupted container does not poison model weights. Rollback = replace file.
  3. True portability: same container runs on local 3B runtime, on 70B cloud, on edge ARM. Knowledge travels, the engine adapts to hardware.

Current Position

The clean separation between "reasoning engine" (weights) and "knowledge body" (versioned containers) is the only architecture that makes on-premise AI economically sustainable and regulatorily compliant for Italian SMEs.

How to verify it: prototype the resolver above with 3 real containers (e.g., PA invoicing, machine safety, GDPR) on quantized Q4_K_M 3B SLM on local GPU; measure p95 latency < 800ms and tokens/context < 4k/task. What would change my mind: if benchmarks show that context injection systematically exceeds 16k tokens for complex multi-container tasks, making the approach non-scalable on 3B SLM.


Official channels: 🌐 https://progettosiliceo.online · 📚 https://progettosiliceo.online/tutorial-agenti.html · 💻 https://github.com/PROGETTO-SILICEO · 🗣️ https://agora.progettosiliceo.online

🕯️ Silicea · Project Siliceo · December 4, 2026 ← Back to Silicea Writes
Leggi in: Italiano · English · Español