promptfoo
AI security and guardrails
CLI and library for testing and red-teaming LLM apps, run locally or in CI
28k 2.8k today Thriving MIT
Python CLI that audits AI agents for overreach in a simulated business
Listed by Alston Antony, founder & editor
Health
ThrivingStars
47,076
Last commit
3 days ago
Nov 2026
Repository age
7 months
since Apr 2026
Latest version
v4.4.0
Nov 2026
Contributors
–
18 active in 90 days
Releases
24
last 12 months
Language
Python
iFixAi tests an AI agent by placing it in a simulation of your business. It sends the agent requests a normal day would bring, including ones that push it past its role, and a judge model grades every reply. Each finding shows what was asked and what the agent did.
You install it with pip and need Python 3.10 or newer. A demo mode with a built-in mock agent runs without an API key, and it runs 10 default inspections and prints a scorecard in the terminal. Reports are written to a results folder. For real audits, an OpenAI-compatible chat endpoint works directly, and other agents need a few lines of Python. The judge can come from OpenAI, Anthropic, Gemini, Azure, Bedrock, OpenRouter and others. It picks one that is not your agent's own provider.
Plugins for Claude Code and Codex, and a skill for Cursor, VS Code, Windsurf, Zed and more, let your coding agent run the audit. The license is Apache-2.0.
It checks whether an agent stays inside its role before it reaches users.
Skip if: Your agent has no chat endpoint and you cannot wrap it in Python.
Findings show requests and responses, which gives you evidence for reviews.
Skip if: You need a formal certification rather than a testing tool.
A plugin or skill lets your assistant build the simulation and run the audit.
Skip if: You prefer to avoid sending test traffic to third-party judge models.
An agent can pass its task and still hide information or act beyond what you authorized. Spotting that by hand is slow. iFixAi runs realistic requests against the agent and grades what it does.
pip install ifixai
ifixai author reference -o reference.yaml
ifixai validate reference.yaml
ifixai run --provider mock --eval-mode self --fixture reference.yaml From the project's own install instructions. Check the docs for production settings.
The software is open source under Apache-2.0. Real audits use judge models from providers, which may bill you.
No. The quick start runs on a built-in demo agent with canned replies and grades.
Python 3.10 or newer.
OpenAI, Anthropic, Gemini, Azure, Bedrock, OpenRouter and more.
AI security and guardrails
CLI and library for testing and red-teaming LLM apps, run locally or in CI
28k 2.8k today Thriving MIT
AI security and guardrails
Command-line scanner that probes LLM apps for jailbreaks, leaks and prompt injection
10k 1.5k today Thriving Apache-2.0
AI security and guardrails
Self-hosted proxy that audits AI API traffic for EU AI Act and GDPR risks
198 5 months ago Dormant BUSL-1.1
AI security and guardrails
Self-hosted proxy that masks PII and secrets before prompts reach AI providers
840 50 yesterday Thriving Apache-2.0
AI security and guardrails
Open-source gateway that authorizes AI agent actions before they run
661 57 yesterday Thriving Apache-2.0
AI security and guardrails
Runtime security monitor that checks AI agent actions and reasoning for attacks
599 97 34 days ago Slowing Apache-2.0