Cognoxium

Pandas for trustworthy AI context.

Cognoxium is a local-first Rust and Python library that turns messages, retrieved documents, and tool results into typed, provenance-aware context. It selects a deterministic context pack under a token budget and records every exclusion, merge, truncation, and policy decision.

Cognoxium sits between application inputs and a model SDK:

retriever / tools / messages
            |
            v
      CognitionFrame
  filter -> dedupe -> rank
            |
            v
  policy + budget -> ContextPack + PackManifest
            |
            v
    provider renderer -> model SDK

It does not retrieve documents, call a model, authorize tool actions, transmit data, or require an account.

Where should I start?

Learn

Stability

Cognoxium 0.1.1 is alpha software. Public diagnostic codes are stable within a minor release, while serialized schemas may change before 1.0 with a documented migration path. The Status and non-binding roadmap distinguishes implemented behavior from non-binding future directions.