Magic Top Hat
This is a small python project: it’s a library that uses an llm to generate a function at runtime based on the context in which the function was called.
You can import any kind of function from this library, with any name, and once you call the function the llm will be asked to generate some working code that solves what the function seems to need to do.
It’s a joke, it’s of course useless if not dangerous, but it was really funny to write this. Also, thanks to python magic, when you try to introspect the library and check what’s inside, it’s empty.