LangChain Integration (@heossi/qnsi-langchain-qnsp)
QNSI provides a LangChain toolkit that wraps tenant-scoped vault, KMS, and audit operations behind billing-backed SDK activation.
LangChain Integration (@heossi/qnsi-langchain-qnsp)
QNSI provides a LangChain toolkit that wraps tenant-scoped vault, KMS, and audit operations behind billing-backed SDK activation.
Install
pnpm add @heossi/qnsi-langchain-qnsp @langchain/core
Usage
import { QnspToolkit } from "@heossi/qnsi-langchain-qnsp";
const toolkit = new QnspToolkit({
apiKey: process.env.QNSP_API_KEY!,
});
const tools = toolkit.getTools();
What it exposes
- vault read/write/rotate tools
- KMS sign and verify tools
- audit logging helpers for agent actions
Authentication
The toolkit activates with @heossi/qnsi-sdk-activation, resolves tenant context from the API key, and respects billing entitlements before tools are used.