LangChain Integration (@qnsp/langchain-qnsp)
QNSP provides a LangChain toolkit that wraps tenant-scoped vault, KMS, and audit operations behind billing-backed SDK activation.
LangChain Integration (@qnsp/langchain-qnsp)
QNSP provides a LangChain toolkit that wraps tenant-scoped vault, KMS, and audit operations behind billing-backed SDK activation.
Install
pnpm add @qnsp/langchain-qnsp @langchain/core
Usage
import { QnspToolkit } from "@qnsp/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 @qnsp/sdk-activation, resolves tenant context from the API key, and respects billing entitlements before tools are used.