Docs/Integrations

Last reviewed 2026-04-10 - available

LangChain Integration

Add Qortara policy evaluation around LangChain tool calls.

Verified against: Awaiting app-dev integration validation

Download PDFDownload Markdowncontent/docs/integrations/langchain.md

LangChain Integration

Wrap sensitive LangChain tool calls with a Qortara policy evaluation step.

Minimal Pattern

const decision = await qortara.evaluatePolicy({
  agentId,
  toolName,
  inputClassification,
});

if (decision.effect !== 'allow') {
  throw new Error(decision.reason);
}

Guidance

Evaluate before tool execution, not after. Record the decision ID beside your application logs so security teams can correlate behavior across systems.