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

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

- 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.
pip install agentic_securityStart 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.
agentic_security server --host=127.0.0.1 --port=8718
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.
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.
agentic_security init
agentic_security lsRun 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.
agentic_security ciCommands 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.
| Tool | Stars | What it does |
|---|---|---|
| Strix | ★ 78.4k | Strix 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.6k | An 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.9k | A 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.8k | A framework and open registry for building and running evaluations of LLMs and LLM-based systems, including prompt chains and tool-using agents. |
| DeepEval | ★ 19.7k | An 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.5k | An 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.5k | An 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.1k | Fire jailbreak, fuzzing and multimodal attack datasets at any LLM endpoint from a web UI or CI |
