arcjet

Arcjet Py — Security skill for Claude Code

Security community

Runtime security for AI apps and agents: prompt injection detection, tool-call authorization, sensitive-data redaction, bot protection, and rate limiting.

How to install Arcjet Py

This entry records only its repository, not the path inside it, so there is no exact command to give. Open arcjet/arcjet-py and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Arcjet Py does

Runtime security for AI apps and agents: prompt injection detection, tool-call authorization, sensitive-data redaction, bot protection, and rate limiting. Drop it into your Python code.

Alternatives in Security

  • Azure Key Vault Python — Azure Key Vault for Python 1.8k ★
  • MCP Security Checklist (SlowMist) — Comprehensive checklist: input validation, rate limiting, RBAC, credential management, container hardening 819 ★
  • ThinkWatch — Self-hosted AI API and MCP gateway for organizations: SSO and RBAC, per-user identity for MCP tool calls, PII 817 ★

README

Arcjet Logo

arcjet

PyPI badge

[Arcjet](https://arcjet.com) is the runtime security platform that ships in your AI code. Detect prompt injection, authorize agent tool calls, redact sensitive data, and block bots and abuse. Real-time security building blocks you call inside your app, before an action happens.

This is the Python SDK for [Arcjet](https://arcjet.com) — use `arcjet` / `arcjet_sync` for **request protection** (FastAPI, Flask, Django route handlers) and `arcjet.guard` for **guard protection** (AI agent tool calls, MCP servers, background jobs).

Why Arcjet?

Your app's AI features and agents take real actions, calling tools, reading data, hitting APIs. Arcjet runs inside that code and lets you enforce security on each action in real time, then audit what happened.

Getting started

Install the Arcjet CLI

The CLI is used to log in, manage site keys, and install protection skills.

**Homebrew (macOS and Linux):**

brew install arcjet/tap/arcjet

**npx (Node.js)** — run any command without installing:

npx @arcjet/cli 

**Or [download a binary](https://github.com/arcjet/arcjet-cli/releases)** for macOS (Apple Silicon, Intel), Linux (x86_64, arm64), and Windows (x86_64, arm64).

Examples below use the `arcjet` binary. If you installed via npx, replace `arcjet` with `npx @arcjet/cli`.