Overview
The four building blocks of OI Laravel AI
Usage
OI Laravel AI is made of four independent pieces you can adopt incrementally:
- Catalog — providers, models, and pricing, backed by a JSON registry.
- Usage tracking — automatic recording of every agent call.
- Cost reporting — aggregate usage and cost over a period.
- Prompt registry — central agent system prompts with variable compilation.
Each piece is exposed through a small, stateless API in OiLab\OiLaravelAi\Support and OiLab\OiLaravelAi\Services. Models live in OiLab\OiLaravelAi\Models.