Arcjet Py banner
arcjet arcjet

Arcjet Py

Security community

Description

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.

Installation

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

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`.