🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@kakunin/langchain

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kakunin/langchain

Kakunin compliance tools for LangChain JS/TS — verify agent certificates and scopes inside tools and chains

latest
Source
npmnpm
Version
0.2.2
Version published
Maintainers
1
Created
Source

@kakunin/langchain

Kakunin compliance tools for LangChain JS — verify agent certificates and enforce scopes inside tools and chains.

npm install @kakunin/langchain @langchain/core @kakunin/sdk
import { Kakunin } from '@kakunin/sdk';
import { KakuninToolGuard } from '@kakunin/langchain';

const kakunin = new Kakunin({ apiKey: process.env.KAKUNIN_API_KEY! });

// Wrap any LangChain tool — scope is verified before every call
const guarded = new KakuninToolGuard({
  kakunin,
  agentId: 'agt-123',
  tool: myTool,
  requiredScopes: ['trade.execute'],
});

Also exports langchainScopeCallback (chain-level guard), KakuninScopeCallbackHandler, and ScopeViolationError. Licensed under Apache-2.0.

Keywords

kakunin

FAQs

Package last updated on 08 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts