apurba-labs / laravel-agl
Agentic Governance Layer for Laravel 13
v0.1.0
2026-05-15 18:08 UTC
Requires
- php: ^8.4
- illuminate/support: ^13.0
- laravel/ai: ^0.6.7
This package is not auto-updated.
Last update: 2026-05-15 18:46:20 UTC
README
Laravel AGL is a governance-first framework for building AI-assisted workflows in Laravel applications.
It helps developers add:
- AI reasoning pipelines
- policy enforcement
- human approval flows
- risk scoring
- governance audit trails
to applications powered by Gemma, Ollama, or other LLMs.
Built for:
- enterprise approval systems
- institutional workflows
- compliance-sensitive applications
- local/private AI deployments
Why Laravel AGL?
Most AI integrations focus only on generation.
Laravel AGL focuses on governance.
Instead of allowing agents to operate without boundaries, Laravel AGL introduces:
- policy-aware reasoning
- approval escalation
- audit visibility
- risk-aware execution
This enables organizations to safely integrate AI into sensitive workflows.
Features
- Local AI reasoning support
- Policy-based workflow enforcement
- Human-in-the-loop escalation
- Risk scoring pipelines
- Governance audit logging
- Laravel-native developer experience
- Midnight ZK-proof integration hooks
Installation
composer require apurba-labs/laravel-agl
Quick Start
use ApurbaLabs\Agl\Facades\AGL; $result = AGL::policy('alumni-verification') ->requireZkProof() ->evaluate([ 'name' => 'John Doe', 'graduation_year' => 2010, ]); if ($result['approved']) { // Continue workflow }
Example Use Cases
- Alumni verification systems
- AI-assisted approval workflows
- NGO transparency platforms
- Financial governance pipelines
- Internal compliance systems
Philosophy
Laravel AGL is built around a simple principle:
“AI can recommend. Governance decides.”
Related Projects
| Project | Purpose |
|---|---|
gotihub-agl |
Full governance platform |
gotihub-midnight-bridge |
Midnight ZK-proof integration |
laravel-iam |
Identity & role governance |
laravel-approval-engine |
Approval Workflow Engine |
License
MIT License