Integrate Arcjet Guard Langchain

Integrate Arcjet security into a LangChain JS createAgent using @arcjet/guard — wrap tool() / StructuredTool, put guardMiddleware on createAgent({ middleware }) for MCP / unwrapped tools, and read configurable.thread_id for correlation. Use when asked to add Arcjet to langchain createAgent, rate limit its tools, screen inbound messages, or block prompt injection / PII. This is LangChain JS, not the Python page.

arcjet Updated

File contents

arcjet/arcjet-js/tree/main/arcjet-guard/skills/integrate-arcjet-guard-langchain commit de7b63389c

Frequently asked questions

npx skillmds@latest add arcjet/integrate-arcjet-guard-langchain