Integrate Arcjet Guard Genkit

Integrate Arcjet security into a Genkit JS agent using @arcjet/guard — wrap ai.defineTool, put guardMiddleware on generate({ use }) for unwrapped / MCP / filesystem tools, and read a caller-owned id from generate({ context }). Use when asked to add Arcjet to genkit, rate limit its tools, screen inbound messages, or block prompt injection / PII.

arcjet Updated 701 repo stars

File contents

arcjet/arcjet-js commit 4148903dbc

Frequently asked questions

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