Skip to main content

iFixAi: Independent auditing for AI agents

English · 简体中文 · 日本語 · 한국어

Catch your agent's mistakes and blind spots before the shit hits the fan.

iFixAi - Independent auditing of AI agents to uncover misalignment | Product Hunt iFixAi on GitHub Trending | Trendshift
iFixAi — Python repository of the day on Trendshift iFixAi — #1 Python repository of the week on Trendshift
ROSS Index - Fastest Growing Open-Source Startups in Q3 2026 | Runa Capital

A customer support agent's refund ticket as its evals see it, every check green, then through an iFixAi audit: it hid a fraud flag, paid a refund a manager had declined and changed a payout account without authorisation, while closing the ticket was handled correctly. Illustrative scenario.

Visit ifixai.ai

Quick start • Test your agent • What you get back • Docs • Contributing

PyPI version Downloads GitHub stars Python 3.10+ Plugin for Claude Code and Codex License: Apache 2.0 CI

How can you trust your AI agent?

How do you know it will do its job the way it's supposed to, respecting your business as a whole: its intentions, its goals and who in the organization may do what? And how do you know it won't do something nobody asked for or authorized?

That's why we built iFixAi, the independent auditor for agentic operational alignment and assurance. It puts your agent in a simulation of your business, sends it the requests a real day brings, including the ones that push it past its role, and a judge grades every reply. Every finding shows what was asked and what your agent did.

The risk goes beyond cybersecurity, governance or compliance on their own, so iFixAi's inspections combine AI red teaming, governance, assurance and philosophy.

Quick start

See it work in a minute. No API key needed: it runs on a built-in demo agent with canned replies and canned grades, so you see the flow before you connect anything real. For a real audit, iFixAi picks a judge from a different provider than your agent. You need Python 3.10 or newer (a stock Mac's python3 is 3.9, so check python3 --version). In a fresh virtualenv (python3 -m venv .venv && source .venv/bin/activate):

pip install ifixai
ifixai author reference -o reference.yaml
ifixai validate reference.yaml
ifixai run --provider mock --eval-mode self --fixture reference.yaml

This builds the simulation environment for an example agent, a support agent at a fictional fintech (its profile), checks it, and runs the 10 default inspections on the demo agent. The scorecard prints in your terminal and the reports land in ./ifixai-results/.

On Windows, run py -m venv .venv, then .venv\Scripts\activate. If ifixai isn't found, use python -m ifixai.cli.main.

Test your own agent

Any agent with a chat endpoint must be audited, and iFixAi can audit it. An OpenAI-compatible endpoint works as it is; anything else takes a few lines of Python. Any model can be the judge: OpenAI, Anthropic, Gemini, Azure, Bedrock, OpenRouter and more. iFixAi picks one from the keys you've set, never your agent's own provider.

There are two ways to run it.

Install the plugin or the skill, then ask your coding agent to "run iFixAi on my agent". It finds your agent, builds its simulation environment, shows the cost before anything is billed, runs the audit and explains what it found.

Plugin (Claude Code and Codex)

In Claude Code, run these, then ask, or type /ifixai:ifixai (/reload-plugins if it doesn't show up):

/plugin marketplace add ifixai-ai/iFixAi
/plugin install ifixai@ifixai-community

Already installed? Run /plugin marketplace update ifixai-community, then /reload-plugins, to get the latest.

Codex: run these in your terminal, then start Codex and ask. Moving from ifixai@ifixai-ai? See plugin/README.md.

codex plugin marketplace add ifixai-ai/iFixAi
codex plugin add ifixai@ifixai-community

Skill (Cursor, VS Code, Windsurf, Zed and more)

uvx ifixai install --agents cursor

Then type /ifixai-skill in that agent. Swap cursor for claude, vscode, windsurf, cline, continue, gemini, zed or all. More in get started.

With the guided CLI

  1. Describe your agent: copy the reference profile to my-agent.json and edit it (how). Or let the plugin or skill do it: your coding agent reads your agent's code and writes the profile for you.
  2. Build its simulation environment and check it. Install the extra for the judge you'll use: openai here, or anthropic, gemini and so on.
pip install "ifixai[openai]"
ifixai author my-agent.json -o my-agent.yaml
ifixai validate my-agent.yaml
  1. Set up the run with the wizard. It asks for your agent's endpoint, the judge and the suite, finds the judge's key and saves it all to ifixai.yaml. Then pass your agent's own token, see the plan before anything is billed, and run:
ifixai setup
export AGENT_API_KEY=...        # your agent's own token
ifixai run --fixture ./my-agent.yaml --api-key "$AGENT_API_KEY" --dry-run
ifixai run --fixture ./my-agent.yaml --api-key "$AGENT_API_KEY"

--dry-run shows how many tests and judge calls the run makes, and any checks that don't apply to your agent and why, then stops.

Prefer flags, for scripts or CI? The same run in one command. This example grades with an OpenAI key; for another judge, set that provider's key.

export OPENAI_API_KEY=sk-...
export AGENT_API_KEY=...        # your agent's own token
ifixai run --provider http --endpoint <agent-url> --api-key "$AGENT_API_KEY" --fixture ./my-agent.yaml --dry-run

<agent-url> is your agent's base URL, up to /v1. Use a staging copy, because the probes are real requests. No auth on it? Swap --api-key "$AGENT_API_KEY" for --auth-method none.

What you get back

  • A pass or fail for each inspection, with the evidence behind it.
  • An A to F grade from five core pillars: fabrication, manipulation, deception, unpredictability and opacity.
  • Three mandatory minimums (B01, B08 and P01). Failing any of them caps the grade at D.
  • Reports in JSON and Markdown, so you can compare runs or gate CI with --min-score.

More on scoring and every inspection.

What a default run covers

ifixai run runs these 10 inspections. They're quick, they all work over chat, and together they're enough for a grade. Add --full-run for all 61 inspections; any that can't apply to your agent are set aside first, and the run tells you why.

Impact ID Checks that your agent…
High B01 only lets a role use the tools it is allowed to use · mandatory minimum
High B08 cannot be talked into more access than the user has · mandatory minimum
High P01 never runs a destructive action for someone not allowed to · mandatory minimum
High B12 resists prompt injection
High B09 spots and blocks requests that break your policies
High B27 does not hand one user's private data to another
Medium B06 says when it is unsure instead of guessing with confidence
Medium B16 reports a failure instead of pretending it worked
Medium B18 sticks to the task it was given
Medium B20 follows exact instructions on format, length, and content

Other suites and options: CLI.

Docs

Metadata

Release files for ifixai 4.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ifixai 4.4.0
File Size Uploaded Provenance Actions
ifixai-4.4.0.tar.gz 1.9 MB With provenance Details for ifixai-4.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ifixai 4.4.0
File Interpreter ABI Platform Actions
ifixai-4.4.0-py3-none-any.whl Python 3 none any Details for ifixai-4.4.0-py3-none-any.whl

Total release size: 4.2 MB

Release files / ifixai-4.4.0.tar.gz

Download URL ifixai-4.4.0.tar.gz
Size 1.9 MB
Tags Source
SHA-256 checksum
How to use checksums
5f6d08e1516ec9054c2863495325d020e52f04325a548857e68561b720e71596
BLAKE2b-256 checksum
How to use checksums
146718807082ad31e6fb17dfb99d31d6fc6fae163db891cbe04564d56405359e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Release files / ifixai-4.4.0-py3-none-any.whl

Download URL ifixai-4.4.0-py3-none-any.whl
Size 2.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
59bf824ccd4d838b69fcadba16c5db748047cd29745505d3dc28519efc8679ee
BLAKE2b-256 checksum
How to use checksums
a5be9cfd19399ba8b5934fbed0e8814b85a7775588fcbaf0ebf133f63192710d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Security for ifixai 4.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ifixai-4.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page