Reverse engineered prompt

GitHub

Build me a FastAPI admin package called OpsDeck for apps that use async SQLAlchemy. I want it to feel easy to drop in with just an app, a database engine, a secret key, and auto discovery of models, but also let me grow into a more configurable setup with per model admin classes. The goal is a polished admin UI out of the box, no Node or frontend build process, with a clean modern look and an optional Matrix style theme.

It should cover the basics people actually need in operations, CRUD screens, search, pagination, filters, relationship fields, many to many editing, bulk actions, and export to CSV and Excel when the extra dependency is installed. I also want model level permissions, request aware row scoping for multi tenant cases, optional auth via an admin user model, and optional audit logging for create, update, and delete events. Please include a simple demo app, examples, docs, and tests so someone can get from quick start to production use. Look up current FastAPI and SQLAlchemy docs if you need to.

Have a live product UI? Try website reverse