Skip to main content
Batoi AIF Docs

Framework Independence

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

Version Foundation release Early foundation work Reviewed Jul 21, 2026 Next review Sep 21, 2026

Owner: Batoi Engineering Reviewed by: Batoi AIF Maintainers Source revision: cd680e8

AIF is the public engineering framework. For the managed intelligence capability used across supported Platform and Flex workflows, see Batoi Intelligence.
Browse Batoi AIF Documentation Framework Independence

Framework Independence

Batoi AIF core is a standalone PHP 8.3+ library. It has no required dependency on RAD, Laravel, Symfony, a particular queue, or a vector database.

Core Owns

  • execution gateway
  • provider discovery and routing contracts
  • prompt resolution and validation
  • policy, review, and tool-safety contracts
  • audit, evaluation, and metrics contracts
  • RAG, queue, agent, and API contracts
  • deterministic in-memory implementations for development and tests

Host Applications Own

  • routes and controllers
  • authentication, trusted context, and permission resolution
  • persistent adapter 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
RADPDO persistence, workspace context, permissions, API gateway, queue, and code-assist integration.
UIFAdministration and review surfaces rendered from backend AIF state.
RESTStable backend envelopes through AifApi.
Laravel and SymfonyIsolated framework packages with context and dependency wiring examples.
QueueDurable asynchronous work through host-supplied infrastructure.
Vector StoreAccess-controlled retrieval with workspace and ACL filter pushdown.

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