AREA GUIDE / 3 PACKAGES

Knowledge, retrieval and evidence

Turn authorized source material into retrievable, cited context while preserving its source, scope and freshness.

What are you trying to do?

  • What is a knowledge space versus a vector-store collection?
  • How does ingestion become usable evidence?
  • Which provider and access boundaries does a knowledge host supply?
FIND YOUR WAY THROUGH THIS AREA

Start with the work you want to do.

Choose a practical step, then inspect a package before opening its full manual.

STEP 01

Trace one source document

Identify its knowledge space, namespace, source policy and original evidence location. Follow processing and indexing into a retrieval result, then check whether the answer preserves a useful citation back to the selected source.

THE PACKAGE LANDSCAPE

3 packages. Choose an entry point.

3 packagesSELECT TO INSPECT

Task guidance and package membership come from this area’s captured source guide.

Start with these packages.

lib.knowledge

Use ingestion, retrieval, query, access and knowledge-runtime composition primitives.

Read the package guide →
integration.provider-embedding

Inspect the concrete embedding provider boundary selected by an ingestion host.

Read the package guide →
integration.provider-vector-store

Inspect the concrete vector-store adapter used by indexing and retrieval.

Read the package guide →
lib.context-storage

Store the selected pack or snapshot when the caller needs a durable context identity.

Read the package guide →

Choose the workflow, then the provider

The knowledge package contains static and vector retrieval, document processing, embeddings/indexing orchestration and retrieval-augmented queries. Its runtime convenience layer can compose ingest, retrieve and answer using supplied embedding, vector-store and LLM providers. Start with the space and namespace that express the intended source scope. Choose a static retriever for a deterministic source walkthrough or small fixture; choose vector retrieval when the application supplies a suitable indexed store and ingestion lifecycle. Neither choice removes access-policy responsibilities.

Keep the source and retrieval layers connected

The package exposes source-management operations and named knowledge spaces, including support FAQs, uploaded documents and Product Canon. Ingestion produces searchable material; retrieval selects material relevant to a query. Preserve original source identity, version and evidence locators through that transformation so a caller can inspect what supports an answer. Connector readiness manifests are useful for understanding supported composition paths, but the source explicitly distinguishes those manifests from live provider calls and production writes.

Bind access and context before answering

KnowledgeAccessGuard and grounding helpers provide the boundaries for scope-aware retrieval. The query result should remain connected to its allowed sources and citations. An agent context compiler can then enforce required inputs, trust classes and budgets. Avoid treating a retrieved passage as a new instruction authority or as permission to mutate a system. For knowledge mutations, the package separately documents dry runs, approval, idempotency, audit evidence and outbound-send gates; those checks belong to the selected mutation flow.

Follow a practical path.

  1. Trace one source document

    Identify its knowledge space, namespace, source policy and original evidence location. Follow processing and indexing into a retrieval result, then check whether the answer preserves a useful citation back to the selected source.

  2. Compare retrieval modes

    Use a static fixture to understand expected relevant passages and denied scope. Then inspect the equivalent vector-backed composition: provider selection, collection, ingestion revision and query behavior. Keep storage and model configuration explicit.

  3. Review a stale or removed source

    Inspect the owning workflow’s behavior when source content changes, access is revoked or a required item is missing. The appropriate outcome may be reindexing, exclusion or an unavailable-context result rather than an apparently complete answer.

All packages in this area.

3 packages
platform / library

lib.knowledge

v5.0.5
Package manifestGuide availablenode

RAG and knowledge base primitives

@lssm-tech/lib.knowledge
66Declared imports
10Direct dependencies
Inspect this packageImports · dependencies · qualification

Declared import paths

manifest-declared export entrypoints and catalog-declared imports

Showing 6 of 66 declared entry points.

Dependency declarations
Runtime
7
Peer
0
Development
3
Optional
0
  • zodcatalog: · runtime
  • @lssm-tech/lib.contracts-integrationsworkspace:^ · runtime
  • @lssm-tech/lib.contracts-spec-coreworkspace:^ · runtime
  • @lssm-tech/lib.contracts-runtime-coreworkspace:^ · runtime
  • @lssm-tech/lib.contracts-runtime-kernelworkspace:^ · runtime
  • @lssm-tech/lib.translation-runtimeworkspace:^ · runtime

Showing 6 of 10 declarations across scopes. A package may appear in more than one scope.

Package and source context
Package scope
No private flag declared in the manifest
Source guide
README available
Declared runtimes
node
Declared stability
stable
Source path
packages/platform/agents/knowledge

Manifest declarations describe this source snapshot; they do not verify registry publication or runtime execution.

integrations / integration

integration.provider-embedding

v2.0.5
Package manifestGuide availablenode

Embedding provider implementations for ContractSpec.

@lssm-tech/integration.provider-embedding
7Declared imports
7Direct dependencies
Inspect this packageImports · dependencies · qualification

Declared import paths

manifest-declared export entrypoints and catalog-declared imports

  • @lssm-tech/integration.provider-embedding
    ./src/index.tsOpen the source
  • @lssm-tech/integration.provider-embedding/embedding
    ./src/embedding.tsOpen the source
  • @lssm-tech/integration.provider-embedding/impls
    ./src/impls/index.tsOpen the source
  • @lssm-tech/integration.provider-embedding/impls/embedding-usage
    ./src/impls/embedding-usage.tsOpen the source
  • @lssm-tech/integration.provider-embedding/impls/gateway-embedding
    ./src/impls/gateway-embedding.tsOpen the source
  • @lssm-tech/integration.provider-embedding/impls/mistral-embedding
    ./src/impls/mistral-embedding.tsOpen the source

Showing 6 of 7 declared entry points.

Dependency declarations
Runtime
2
Peer
0
Development
5
Optional
0
  • @lssm-tech/integration.runtimeworkspace:^ · runtime
  • @lssm-tech/lib.contracts-integrationsworkspace:^ · runtime
  • @lssm-tech/tool.bunworkspace:* · development
  • @lssm-tech/tool.typescriptworkspace:* · development
  • @mistralai/mistralai^2.7.0 · development
  • @types/buncatalog:types · development

Showing 6 of 7 declarations across scopes. A package may appear in more than one scope.

Package and source context
Package scope
No private flag declared in the manifest
Source guide
README available
Declared runtimes
node
Declared stability
experimental
Source path
packages/integrations/provider-embedding

Manifest declarations describe this source snapshot; they do not verify registry publication or runtime execution.

integrations / integration

integration.provider-vector-store

v2.0.5
Package manifestGuide availablenode

Vector store provider implementations for ContractSpec.

@lssm-tech/integration.provider-vector-store
5Declared imports
7Direct dependencies
Inspect this packageImports · dependencies · qualification

Declared import paths

manifest-declared export entrypoints and catalog-declared imports

  • @lssm-tech/integration.provider-vector-store
    ./src/index.tsOpen the source
  • @lssm-tech/integration.provider-vector-store/impls
    ./src/impls/index.tsOpen the source
  • @lssm-tech/integration.provider-vector-store/impls/qdrant-vector
    ./src/impls/qdrant-vector.tsOpen the source
  • @lssm-tech/integration.provider-vector-store/impls/supabase-vector
    ./src/impls/supabase-vector.tsOpen the source
  • @lssm-tech/integration.provider-vector-store/vector-store
    ./src/vector-store.tsOpen the source

Showing 5 of 5 declared entry points.

Dependency declarations
Runtime
2
Peer
0
Development
5
Optional
0
  • @lssm-tech/integration.runtimeworkspace:^ · runtime
  • @lssm-tech/lib.contracts-integrationsworkspace:^ · runtime
  • @lssm-tech/tool.bunworkspace:* · development
  • @lssm-tech/tool.typescriptworkspace:* · development
  • @qdrant/js-client-rest^1.19.0 · development
  • @types/buncatalog:types · development

Showing 6 of 7 declarations across scopes. A package may appear in more than one scope.

Package and source context
Package scope
No private flag declared in the manifest
Source guide
README available
Declared runtimes
node
Declared stability
experimental
Source path
packages/integrations/provider-vector-store

Manifest declarations describe this source snapshot; they do not verify registry publication or runtime execution.

Your view

Make room for your context.

Shape the presentation around this moment. You can change it whenever you need.

Your context

The different parts of you

Choose a starting point

A useful mix of context, visuals and gentle guidance.

Tune each dimension
Each dimension can change independently. Product permissions and available actions stay unchanged.

Support the way you begin and return

Tune your support

Reading comfort

Choose your language

Interface language changes text only. Markets, prices and workflows keep their own settings.

Translation coverage

Original source

Navigation151
Graph616
Categories378
Portfolio833
Examples2,035
Source preview1,542

More translations will be added as content is reviewed.

This preference is saved on this browser.

Search the website

Useful starting points

No results. Try a shorter phrase, an operation name or another search area.

A LITTLE ROOM TO EXPLORE

Find something to explore.

Open a closer look on this page, try a different perspective, or follow the detail into its own page.

How previews and controls work
01

Look before you leave

Hover a link or focus it with Tab to see a preview. Clicking the original link or pressing Enter always opens its destination.

02

Stay with the context

Move into the preview to explore its sections. Use Alt + ↓ from a focused link to enter it with the keyboard. Escape closes it.

03

Open the possibilities

Disclosure rows, perspective choices and highlighted controls reveal more. Your view changes reading comfort and the context you explore.

A separate button for a closer look

Show small preview buttons beside links where there is room. Tap the eye to inspect, or tap the link to go straight there. This choice stays in this tab.

No browsing history is collected. Reduced motion follows your device and Your view.