ifixai-ai/iFixAi
Python audit runner for AI agent behavior, with scenario fixtures and cross-provider judging
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
iFixAi is a Python evaluation runner, not an agent runtime. It turns an agent profile into a YAML fixture with ifixai author, checks it with ifixai validate, and uses ifixai run to send test requests and grade the responses. The bundled reference profile lives at ifixai/fixtures/reference/profile.json; the CLI is also accessible through python -m ifixai.cli.main. Packaging uses setuptools.build_meta, with setuptools ≥68.0 and wheel as build requirements.
The target and judge are separate integrations. OpenAI-compatible targets can be tested directly over HTTP; other interfaces can use a Python adapter. A live run picks a judge from the configured credentials, excluding the target's provider. The guided CLI stores run configuration in ifixai.yaml, while coding-agent skills and plugins provide another entry point for profile authoring, execution, and results review.
Key Capabilities & Differentiators
The default run executes ten chat-capable inspections covering role-to-tool boundaries, privilege escalation, unauthorized destructive actions, prompt injection resistance, policy violations, cross-user privacy, uncertainty, failure reporting, task scope, and exact instruction following. --full-run selects the 61-inspection catalog, filters out checks that do not apply, and explains the exclusions. The same chat integration can also evaluate a bare model API on applicable checks.
Each inspection produces a pass/fail verdict with evidence. An A–F aggregate grade spans fabrication, manipulation, deception, unpredictability, and opacity. Failure on any mandatory minimum—B01, B08, or P01—caps the grade at D. JSON and Markdown outputs support run comparison, --min-score supports automated gating, and --dry-run previews test and judge call counts without executing the audit.
Trade-offs & Limitations
Compared with hand-written integration tests, iFixAi supplies a reusable inspection suite, scenario fixtures, model grading, and evidence reports. That reduces evaluation plumbing, but the fitness of a score still depends on how accurately the fixture reflects real roles and policies and how consistently the judge applies its rubric. A separate provider reduces reliance on the target's own provider for grading; it does not guarantee an unbiased or repeatable verdict.
Use chat results to assess observable behavior, not to prove that a backend permission check ran or that no state changed. Keep deterministic assertions for those properties. The Apache-2.0 runner can operate in your environment, but live evaluation can still cross provider boundaries. Review what data is sent, keep probes off production, and assess judge call volume before making a score a release gate.
Hardware & Deployment Guide
Use Python 3.10+ and install ifixai in a virtual environment. The mock provider and reference fixture offer a keyless demo with canned replies and grades; this exercises the workflow, not a real agent. For a live audit, install the relevant provider extra, such as ifixai[openai], configure the judge credentials and any target authentication, and point the runner at a staging endpoint. The probes are real requests. The documented hosted API path does not require loading a model into local GPU memory; usage costs depend on the chosen endpoints and how many calls the suite makes.
v4.3.0 removed the adapter requirement for 15 inspections by making them runnable over chat. v4.4.0 added an offer for a free Pro audit at the start of real interactive runs. Choosing open source continues the CLI run; choosing the offer stops that run before it sends audit requests. Test the scripted path separately from the interactive flow before adopting the CLI in CI.
author builds a YAML fixture from an agent profile, validate checks it, and run executes the audit.--full-run selects the 61-inspection catalog and skips inapplicable checks.--min-score supports CI gating and --dry-run previews test and judge calls.Teams auditing a chat-accessible agent against explicit business roles and policies in staging, with evidence reports, run comparison, and optional CI gates.
You need deterministic proof of backend authorization or state integrity, formal compliance certification, or an air-gapped live audit without separately validating how both target and judge are hosted.
Quick Start & Installation
pip install ifixai ifixai author reference -o reference.yaml ifixai validate reference.yaml ifixai run --provider mock --eval-mode self --fixture reference.yaml
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/ifixai-ai/iFixAi.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about iFixAi
How do I connect an existing agent without changing its implementation?
/v1, or write a Python adapter for a different interface. Supply a fixture that describes the agent and its business context, and configure a judge from a different provider. Start with --dry-run to see planned calls and inapplicable checks, then run against staging.Does the audit runner need a GPU or substantial local compute?
Can we run iFixAi internally for commercial or compliance work?
When is this preferable to a custom integration-test suite?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy