On this page
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.
| Profile | Purpose |
|---|---|
| RAD | Persistence, workspace context, and app integration inside Batoi RAD applications. |
| UIF | Administration and review surfaces rendered with Batoi UIF. |
| REST | Stable backend endpoints for governed inference and review. |
| Queue | Async execution without losing audit continuity. |
| Vector Store | Retrieval integration with tenant isolation and source evidence. |
This separation keeps AIF useful for Batoi Platform and for customer-built PHP systems.