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 701 repo stars

File contents

arcjet/arcjet-js commit de7b63389c

Frequently asked questions

npx get-skill add arcjet/integrate-arcjet-guard-langchain