Official package · Frameworks

A live Filament inbox for AI tool approvals

When a Laravel AI SDK agent wants to run a tool that needs a person’s OK, such as a large refund, the request appears in your Filament panel at once. Approve, reject with a reason or edit the arguments, and the agent carries on.

  • A badge and a notification anywhere in the panel, and phone or browser push only to approvers who don’t have the panel open.
  • Shows which reviewers are online and who else has the same request open, so two people don’t decide the same refund.
  • Filament 3.3, 4 and 5 on Laravel 12 and 13. Requests are stored in your own database and only delivered live over WebSockets.

Sign in to see these snippets with your own cluster host. Sign in

  1. Install

    composer require hibira-io/filament-approvals
    php artisan hibira:install
    php artisan migrate
  2. Set it up

    use Hibira\Filament\HibiraPlugin;
    use Hibira\FilamentApprovals\HibiraApprovalsPlugin;
    
    public function panel(Panel $panel): Panel
    {
        return $panel
            ->plugins([
                HibiraPlugin::make(),
                HibiraApprovalsPlugin::make()
                    ->approvers(fn () => User::where('is_admin', true)->get()),
            ]);
    }

Before you start

  • The app secret is shown only once, when you create the app or rotate its secret. Keep it on your server, never in a browser or game build.
  • Run a queue worker (php artisan queue:work): a paused turn resumes there once every tool call is decided.

Use the app key from your dashboard; the secret stays on your server. Channels, events and authorization endpoints work exactly as they do with Pusher. Create your free account →