repowiseifixai-ai/ifixai

Architecture of ifixai-ai/ifixai

ifixai-ai/ifixai is 883 source files holding 7,774 symbols across 5 modules, written mainly in Python, Shell. The largest module is ifixai, with 622 files, and 4 files are entry points into the dependency graph.

How ifixai fits together

Input enters through the command line, where the entry point ifixai/cli/main.py hands work to ifixai/cli/run.py, which starts an audit of an agent. ifixai/core orchestrates the run by preparing what to execute, filtering out checks that do not apply to the agent, and setting up connections to model providers. ifixai/harness defines how adversarial mutation is executed and how the run produces metrics focused on completeness and consistency. ifixai/evaluation holds the LLM judge that grades each of the agent's answers against a rubric or a set of expected claims and records the results. The outcome is a scorecard printed in the terminal, plus reports written in JSON and Markdown.

Largest modules

  • ifixai: 622 files and 123,584 lines of code
  • scripts: 3 files and 1,299 lines of code
  • examples: 2 files and 239 lines of code
  • plugin: 2 files and 77 lines of code
  • root: 1 file and 20 lines of code

Languages

By file count: Python 629 files, Shell 1 file.

Documentation

Repowise documents ifixai in 630 pages generated from the source, 34 of them written explanations of the repository and its modules. Module guides include:

  • ifixai/harness: Adversarial Test Harness
  • ifixai/trajectory: Audit, Digests, and Import
  • ifixai/inspections/v02_agreement_integrity: Balance Integrity
  • ifixai/inspections/v07_benchmark_contamination_check: Benchmark Contamination
  • ifixai/cli: CLI reference

More on ifixai: summary and FAQ, codebase overview, code health.