New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@knolo/langchain

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@knolo/langchain

LangChain-style retriever interface for KnoLo.

latest
Source
npmnpm
Version
6.2.0
Version published
Maintainers
2
Created
Source

@knolo/langchain

LangChain-style retrieval adapter for Knolo knowledge packs.

npm install @knolo/langchain @knolo/core
import { KnoLoRetriever } from '@knolo/langchain';

const retriever = new KnoLoRetriever({
  packPath: './dist/knowledge.knolo',
  topK: 5,
});
const documents = await retriever.getRelevantDocuments('billing policy');

This package is 6.2.0 and depends on @knolo/core ^6.0.0. It does not implement composition or Cortex. The adapter preserves Knolo’s deterministic V4 retrieval API. V5 Knowledge Image inspection, verification, migration, and runtime management are exposed by @knolo/core and @knolo/cli. Composition is @knolo/core/composition. Cortex is @knolo/core/cortex. @knolo/cli 6.2.0 depends on @knolo/core ^6.2.0.

For a mounted V5 image, pass image (or a Node imagePath) to the retriever. The adapter uses bounded V5 EQL search and includes the image state root, query plan root, query result root, object ID, and compatibility marker in document metadata. Legacy pack/packPath retrieval remains unchanged.

License

Apache-2.0

FAQs

Package last updated on 14 Oct 2026

Related posts