{"repo":"arcjet/arcjet-py","free":true,"listed":false,"github":"https://github.com/arcjet/arcjet-py","clone":"git clone https://github.com/arcjet/arcjet-py.git","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.","language":"Python","stars":32,"topics":["bot-detection","python","agent-security","ai-agents","ai-security","application-security","llm-security","mcp","pii-detection","prompt-injection-detection"],"license":"Apache-2.0","category":"mcp-servers","readme_excerpt":"arcjet Arcjet 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 — 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): npx (Node.js) — run any command without installing: Or download a binary 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 . Quick setup with an AI agent 1. Log in with the CLI: 2. Install the Arcjet skill: 3. Tell your agent what to protect — it handles the rest. Manual setup 1. Log in with the CLI (or at app.arcjet.com ): 2. pip install arcjet (or uv add arcjet ) 3. Get your site key: Or copy it from the Arcjet dashboard. 4. Set ARCJET KEY=ajkey yourkey in .env 5. Protect a route — see the AI protection example o","default_branch":null,"files":null,"tree":[],"storefront":"/r/arcjet","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/arcjet/arcjet-py/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}