I don't think generating an app would be the move forward. Rather it should be an agentic application that can be installed/added and the main agent controls it.
Building apps on the fly seems cool, But hits the frustration when they don't work at times, When building as a side project we tolerate it because we are in building phase, But when using we might not tolerate the issues.
Finally the security also plays a major role, So instead of building apps at runtime, We need agents and skills as portable objects.
Yeah there is a pneuma agent/app store for that. And security permissions are built in also. pneuma asks for approval for the different rights the agent needs before running.