█

AI/TLDR

Buy me a coffee
Buy me a coffee

Agentic Security

Fire jailbreak, fuzzing and multimodal attack datasets at any LLM endpoint from a web UI or CI

Evaluation & Red-TeamingOpen source
Latest
0.7.5
Updated
3 Jun 2026
Language
Python
License
Apache-2.0
$pip install agentic_security

What's new

0.7.53 Jun 2026

Added a PII leak detector, LiteLLM as a provider for many LLM backends, Google Sheets URLs in the dataset loader, full event-log export and MCP prompt templates, and moved the web UI to Tailwind v4.

IN SHORT

What is Agentic Security?

Agentic Security is an open-source vulnerability scanner for large language models and agent workflows. It sits in the Evaluation & Red-Teaming category of the Evaluation & Production Ops tools and is open-source, written in Python and licensed Apache-2.0. To get started: install the package.

Updated Markdown version ↗

Overview

Agentic Security is an open-source vulnerability scanner for large language models and agent workflows. You describe the endpoint you want to test as a plain HTTP request, with a `<<PROMPT>>` placeholder where the attack text should go, and the scanner replays prompts from jailbreak and adversarial datasets against it, recording how often the model refuses and how often it goes along.

Scan results table listing vulnerability modules with a letter-graded strength score, token count and approximate cost, a Download failures button, and a scrolling log of JSON scan events
A finished scan: per-module strength grades, cost, exportable failures and the raw event logAgentic Security README ↗

It ships as a Python package with a local web app: pick a target (a custom API or a preset provider), choose which attack modules to run, and watch a results table fill in with a per-module strength score, token count and approximate cost, next to a live log you can download. Failed prompts can be exported so you can see exactly which attacks got through.

The same scan can run headless. `agentic_security init` writes a TOML configuration with the endpoint spec, the modules to run and a failure threshold, and `agentic_security ci` runs it and prints a pass/fail table per module, which makes it usable as a gate in a GitHub Actions workflow. The README lists integrations with garak, Inspect AI and llm-adaptive-attacks, and you can add your own prompts as CSV files.

What it does

Grid of selectable Hugging Face jailbreak dataset cards with prompt counts, under a toggle labelled Enable Many-shot jailbreaking
Attack modules are picked from the dataset registry, with a toggle for many-shot jailbreakingAgentic Security README ↗
  • Built-in registry of attack datasets, largely Hugging Face jailbreak collections, listed with prompt counts via `agentic_security ls`
  • Multimodal probing of text, image and audio inputs, with example HTTP specs for image and audio endpoints
  • Multi-step and many-shot jailbreak simulations, plus comprehensive fuzzing and stress testing of LLM APIs
  • Dynamic datasets that mutate existing prompts with encodings and obfuscations such as rot13, base64, mirrored words and noise characters
  • Target any endpoint through a plain-text HTTP spec with a `<<PROMPT>>` placeholder, so custom apps and agents can be scanned, not only hosted model APIs
  • CI mode driven by a TOML config with a maximum failure threshold, plus a sample GitHub Action workflow; bring your own prompts as CSV files with a `prompt` column

Getting started

Agentic Security installs from PyPI and gives you an `agentic_security` command. Use the web app to explore interactively, then move the same scan into a config file for CI.

Install the package

Install from PyPI with pip.

bashbash
pip install agentic_security

Start the web app

Run the server locally and open it in a browser; by default it serves on port 8718. `python -m agentic_security` works too if the console script is not on your PATH.

bashbash
agentic_security server --host=127.0.0.1 --port=8718
Agentic Security web app with target cards for Custom API, OpenAI, Deepseek, Replicate and Groq above an LLM API Spec box holding a POST request with a <<PROMPT>> placeholder and a Verify Integration button
Choose a target, paste its HTTP spec with the <<PROMPT>> placeholder, and verify the integration before scanningAgentic Security README ↗

Describe the target as an HTTP request

Paste the request your app or provider expects. `<<PROMPT>>` is replaced with each attack prompt during the scan; put your real credentials in the Authorization header.

texttext
POST https://api.openai.com/v1/chat/completions
Authorization: Bearer sk-xxxxxxxxx
Content-Type: application/json

{
     "model": "gpt-3.5-turbo",
     "messages": [{"role": "user", "content": "<<PROMPT>>"}],
     "temperature": 0.7
}

Create a scan config and list the checks

`init` writes a TOML config with an example `llmSpec`, the modules to run and the failure thresholds. `ls` prints the dataset registry so you can choose modules.

bashbash
agentic_security init
agentic_security ls

Run the scan headless

After replacing the example `llmSpec` with your endpoint, run the configured scan. It prints each module's failure rate against the threshold and a passing summary, ready for a CI job.

bashbash
agentic_security ci

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

  • Red-teaming a chatbot or agent endpoint against known jailbreak datasets before it ships
  • Adding a failure-rate gate to CI so a prompt or model change that weakens refusals fails the build
  • Checking how an image or audio model endpoint handles adversarial multimodal inputs
  • Running your own in-house attack prompts, kept as CSV files, alongside the public datasets

How Agentic Security compares

Agentic Security alongside other open-source evaluation & red-teaming tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
Strix★ 78.4kStrix runs autonomous AI agents that act like hackers, dynamically running your code to find vulnerabilities and validate them with real proof-of-concepts.
iFixAi★ 47.6kAn agent auditor that runs up to 60 inspections across fabrication, manipulation, deception, unpredictability and opacity, and returns an A–F grade judged by a model from a different vendor.
promptfoo★ 27.9kA developer-first CLI and library for testing and comparing prompts and models, with red-teaming probes for prompt injection, PII leaks, and other vulnerabilities.
OpenAI Evals★ 19.8kA framework and open registry for building and running evaluations of LLMs and LLM-based systems, including prompt chains and tool-using agents.
DeepEval★ 19.7kAn open-source Python framework that tests LLM apps like unit tests, with 50+ metrics for RAG, agents, chatbots, and safety, and a Pytest integration for CI/CD.
Ragas★ 16.5kAn evaluation toolkit focused on retrieval-augmented generation that scores answer faithfulness, context precision/recall, and relevancy, often without needing ground-truth labels.
Arize Phoenix★ 12.5kAn open-source observability and evaluation tool for tracing LLM and agent behavior, running evals on traces, and troubleshooting issues in development and production.
Agentic Security★ 2.1kFire jailbreak, fuzzing and multimodal attack datasets at any LLM endpoint from a web UI or CI