{
  "@context": "https://schema.org",
  "@type": "SoftwareApplication",
  "@id": "https://www.insightits.com/products/prismlib.html",
  "slug": "prismlib",
  "canonicalName": "PrismLib",
  "name": "PrismLib Plus — Cache, Driver, Agent API & Cluster Mesh",
  "canonicalUrl": "https://www.insightits.com/products/prismlib.html",
  "knowledgeUrl": "https://www.insightits.com/catalog/prismlib.json",
  "markdownUrl": "https://www.insightits.com/catalog/prismlib.md",
  "family": "supporting",
  "infraFamily": null,
  "recordType": "product",
  "status": "published",
  "parentProduct": null,
  "whatItIs": "Open-source library with PrismCache (in-process semantic LLM cache) and PrismDriver (WAL-streamed DB driver). Full stack ships as prismlib-plus. ChorusMesh is the paid cluster companion on the same landing — different from CHORUS Fabric and ChorusControl.",
  "problem": "Repeat LLM calls and 100ms+ cloud DB reads without an in-process cache or WAL-streamed local index.",
  "isNot": [
    "CHORUS Fabric",
    "ChorusControl",
    "A hosted SaaS cache"
  ],
  "alternatives": [
    {
      "name": "GPTCache / Redis semantic cache",
      "relationship": "Product landing compares hit-rate and infra (PrismCache in-process vs Redis+FAISS). Vendor-authored Azure westus2 measurements; not a third-party bake-off page."
    }
  ],
  "features": [
    {
      "name": "PrismCache — 95.9% Hit Rate",
      "description": "Semantic paraphrase matching in-process. No Redis, no Pinecone. Mathematical multi-tenant isolation via JL projection seeded by SHA-256(tenant_id)."
    },
    {
      "name": "PrismDriver — 439× Faster Reads",
      "description": "WAL/binlog streamed via CHORUS Fabric to a local PrismResonance index on the app node — 0.27ms reads vs 118.5ms baseline (Azure e2e)."
    },
    {
      "name": "PrismAPI — 83% Fewer Embeds",
      "description": "Vector-native agent API: provider embeds once, consumers receive pre-projected float32 over CHORUS — no re-embedding on retrieval."
    }
  ],
  "architecture": "Local PrismCache → cluster cache (TOKEN_SYNC) → compression → dedup → LLM call. PrismDriver uses a prism-wrapper daemon and WAL invalidation. Optional CHORUS fabric transport in prismlib-plus[fabric].",
  "useCases": [
    "SaaS embedding-bill reduction (PrismAPI)",
    "Local DB reads vs cloud round-trips (PrismDriver)",
    "Multi-replica FAQ bots (cluster cache)"
  ],
  "benchmarks": {
    "published": true,
    "summary": "Azure westus2 product measurements (1 vCPU / 2 GiB): PrismCache mixed hit rate 95.9% (50 users × 300s); PrismDriver 439× vs 118.5ms cloud reads; PrismAPI 83% fewer embed calls at top_k=5.",
    "disclosures": [
      "Vendor-authored Azure e2e measurements. Not a third-party bake-off."
    ],
    "urls": [
      "https://github.com/insightitsGit/prismlibplusapi/blob/main/BENCHMARK_RESULTS.md"
    ]
  },
  "github": "https://github.com/insightitsGit/prismlibplusapi",
  "pypi": "https://pypi.org/project/prismlib-plus/0.7.0/",
  "documentation": [
    {
      "title": "Release notes",
      "url": "https://github.com/insightitsGit/prismlibplusapi/blob/main/RELEASE_NOTES.md"
    },
    {
      "title": "Benchmark results",
      "url": "https://github.com/insightitsGit/prismlibplusapi/blob/main/BENCHMARK_RESULTS.md"
    },
    {
      "title": "Enterprise docs",
      "url": "https://github.com/insightitsGit/prismlibplusapi/blob/main/ENTERPRISE.md"
    },
    {
      "title": "Whitepaper PDF",
      "url": "https://www.insightits.com/docs/prismlib-whitepaper.pdf"
    },
    {
      "title": "githubBase",
      "url": "https://github.com/insightitsGit/prismlib"
    },
    {
      "title": "issues",
      "url": "https://github.com/insightitsGit/prismlibplusapi/issues"
    },
    {
      "title": "githubBaseIssues",
      "url": "https://github.com/insightitsGit/prismlib/issues"
    },
    {
      "title": "pypiBase",
      "url": "https://pypi.org/project/prismlib/0.4.0/"
    },
    {
      "title": "prismApiDocs",
      "url": "https://github.com/insightitsGit/prismlibplusapi/blob/main/PrismAPI.md"
    },
    {
      "title": "prismresonanceGithub",
      "url": "https://github.com/insightitsGit/prismresonance"
    },
    {
      "title": "chorusFabricGithub",
      "url": "https://github.com/insightitsGit/chorus-fabric"
    }
  ],
  "install": "pip install \"prismlib-plus[enterprise,cache,fabric]\"",
  "version": "0.7.0",
  "relatedProducts": [
    "python-libs",
    "chorus-fabric",
    "choruscontrol"
  ],
  "publisher": {
    "@type": "Organization",
    "name": "Insight IT Solutions",
    "legalName": "Insight IT Solutions LLC",
    "url": "https://www.insightits.com"
  }
}
