Authorization notice. iFixAi is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Credentials. The key is passed through the --api-key flag, so keep it in the CI secret store and avoid echoing it in build logs.
Who it is forA platform or DevOps engineer who wants a repeatable agent check on every build without human prompts.
The problemInteractive setup does not fit automated pipelines, so the audit must be driven by flags and environment variables.
The outcomeA pipeline step that writes JSON and Markdown reports on each run, with a no-key smoke test available.
What you need first
- Python 3.10 or newer, with pip (or uv for the zero-install paths)
- An API key for the model or agent you want to test
- A second API key from a different vendor if you want a citable grade (the judge)
- A terminal, or an agent such as Claude Code or Codex that can install a plugin
Steps
- Run
pip install "ifixai[anthropic]"in the pipeline environment. - Run
ifixai run --provider mock --api-key not-used --eval-mode selfto confirm the pipeline works without keys or network. - Export your provider key as an environment variable in the CI secret store.
- Run
ifixai run --provider anthropic --api-key "$ANTHROPIC_API_KEY" --eval-mode selfand archive the reports in ./ifixai-results/. (inferred, check the README)
Prompt for your agent
Use the iFixAi repo at ifixai-ai/iFixAi to add a CI step that audits <agent provider>. Use explicit flags with no wizard, run the mock smoke test first, then the real run. Verify that the smoke test output shows a failing scorecard for B01 and P01, which is expected from the bundled default fixture.
Caveat. The smoke test shows that the pipeline runs, not that the agent is good, and --eval-mode self results are not citable.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for ifixai-ai/iFixAi and "Run a scripted audit in CI with explicit flags"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer