eslam-reda-div/filament-copilot — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a Laravel package for Filament v5 called Filament Copilot. I want it to add a built in AI chat assistant inside the admin panel that can understand enabled resources, pages, and widgets, then help users search, view, create, update, delete, restore, and run custom actions through tools.

The chat should feel modern, open from anywhere, stream answers in real time, save conversation history, and let users reopen or delete old chats. Add simple agent memory so it can remember facts per user. Include quick prompt shortcuts, audit logs, rate limits, token budget tracking, and an optional admin dashboard showing usage, conversations, logs, and rate limits.

It should work with the Laravel AI SDK and support common providers like OpenAI, Anthropic, Gemini, Groq, xAI, DeepSeek, Mistral, and Ollama. Please include config, migrations, views, translations, install command, tool generator templates, authorization checks, and tests. Look up current docs online if you need to.

Want more depth? Deep Reverse