Batoi AIF Docs

Framework Independence

Keep AIF core portable across RAD and non-RAD applications.

Framework Independence

Batoi AIF core is designed as a standalone PHP framework. It should not depend on RAD routing, a specific database schema, a UI framework, or a product shell.

Core Owns

  • execution gateway
  • provider contracts
  • prompt contracts
  • policy contracts
  • audit contracts
  • response envelopes
  • development implementations

Host Applications Own

  • routes and controllers
  • authentication and permission resolution
  • persistence wiring
  • secrets management
  • job queues
  • product UI
  • deployment configuration

Integration Profiles

An integration profile connects AIF to a host environment without changing AIF core.

ProfilePurpose
RADPersistence, workspace context, and app integration inside Batoi RAD applications.
UIFAdministration and review surfaces rendered with Batoi UIF.
RESTStable backend endpoints for governed inference and review.
QueueAsync execution without losing audit continuity.
Vector StoreRetrieval integration with tenant isolation and source evidence.

This separation keeps AIF useful for Batoi Platform and for customer-built PHP systems.