Batoi AIF Docs

Batoi AIF Documentation

Public documentation for the Batoi AIF governed AI execution framework.

Batoi AIF Documentation

Batoi AIF is a standalone PHP framework for governed AI execution. It helps applications call AI providers through a framework layer that can apply policy, render governed prompts, route providers, capture audit evidence, and support evaluations.

Use these docs when you need to:

  • add governed AI execution to a PHP application
  • keep provider choice separate from business code
  • define prompt and policy behavior outside page handlers
  • expose AIF through REST-style endpoints
  • integrate AIF with Batoi RAD, Batoi UIF, queues, or vector stores

The public repository is available at github.com/batoisystems/batoi-aif.

Where AIF Fits

AIF is one of the Batoi Platform engineering foundations:

  • Batoi RAD: governed application execution
  • Batoi UIF: interface framework and micro app surfaces
  • Batoi AIF: governed AI execution

See Engineering Foundations for the public framework stack.