Add cryptographic identity to your LangChain agents. Replace API keys with verifiable M2M authentication. Zero configuration, zero cascading failures.
Install the LangChain-xBind integration package via npm:
# Install the integration package (npm) npm install @private.me/langchain # Or with yarn yarn add @private.me/langchain # Python bindings pip install private-me-langchain
Replace API key authentication with xBind identity. Three lines of code:
import { LangChainxBindAgent } from '@private.me/langchain' import { OpenAI } from 'langchain/llms/openai' import { HNSWLib } from 'langchain/vectorstores/hnswlib' // Create agent with identity const agent = await LangChainxBindAgent.quickstart() // Connect to vector store with identity (no API keys) const vectorStore = await agent.connect('did:xbind:vectorstore-production') // Send authenticated request await agent.send({ to: vectorStore, type: 'similarity_search', payload: { query: 'user authentication patterns', k: 5 } })
What you get by replacing API keys with xBind identity: