Not sure if this was your intent, but what WOULD the result be of an AI reimplemented SQLite? They've got some of the best technical documentation in the game; there are lots of directions this could go...
https://kiankyars.github.io/machine_learning/2026/02/12/sqli...
https://kiankyars.github.io/machine_learning/2026/02/12/sqli...