LangChain Integration

Wrap your LangChain agent with VeldrixAI's trust evaluation in three lines of code.

Install

pip install veldrixai[langchain]

Usage

from langchain.agents import AgentExecutor
from veldrixai.integrations.langchain import VeldrixGuard

agent_executor = AgentExecutor(agent=agent, tools=tools)
guarded = VeldrixGuard(agent_executor, api_key="vx_live_...", policy="hipaa-strict")

result = await guarded.ainvoke({"input": user_message})
Was this page helpful?