Imagine changing your app’s behaviour… without changing the code. (Part 2)

Recently, I posted my “Event-Driven AI” experiment. I presented it as a “Rules Engine,” but I’ve realized that was just scratching the surface.

After playing with it more, I just unlocked its real potential. 🤯

The video shows at first, a simple to-d…


This content originally appeared on DEV Community and was authored by Pietro Ghezzi

Recently, I posted my "Event-Driven AI" experiment. I presented it as a "Rules Engine," but I've realized that was just scratching the surface.

After playing with it more, I just unlocked its real potential. 🤯

The video shows at first, a simple to-do app.
But by changing a single prompt (no code!), the app instantly becomes:

  • A Recipe Todo App (generating ingredients)
  • A Trip Todo App (generating a packing list)
  • A "Whatever-you-want" App

Demo video

I realized I wasn't just building a "rules engine." I was building a "Generative UI Engine." 🤯 🤯

The LLM acts as a new layer of abstraction. Instead of me, the developer, hard-coding every feature, I just give the AI a "Swiss knife" of tools (like addTitle, addItem, setCounter).

The AI then uses these tools to build whatever the user wants, not just what the developer had in mind.

It's a shift from "Here are the 3 features I built for you" to "What do you want to accomplish?" 🤯 🤯 🤯

Yes, there are drawbacks (performance, determinism). But the potential for truly dynamic, user-centric applications is HUGE. This is the discovery that has me excited.

And the best part? I got this working in just a few hours, on the first try.

GitHub: https://lnkd.in/drKdTcVn


This content originally appeared on DEV Community and was authored by Pietro Ghezzi


Print Share Comment Cite Upload Translate Updates
APA

Pietro Ghezzi | Sciencx (2025-11-11T22:09:22+00:00) Imagine changing your app’s behaviour… without changing the code. (Part 2). Retrieved from https://www.scien.cx/2025/11/11/imagine-changing-your-apps-behaviour-without-changing-the-code-part-2/

MLA
" » Imagine changing your app’s behaviour… without changing the code. (Part 2)." Pietro Ghezzi | Sciencx - Tuesday November 11, 2025, https://www.scien.cx/2025/11/11/imagine-changing-your-apps-behaviour-without-changing-the-code-part-2/
HARVARD
Pietro Ghezzi | Sciencx Tuesday November 11, 2025 » Imagine changing your app’s behaviour… without changing the code. (Part 2)., viewed ,<https://www.scien.cx/2025/11/11/imagine-changing-your-apps-behaviour-without-changing-the-code-part-2/>
VANCOUVER
Pietro Ghezzi | Sciencx - » Imagine changing your app’s behaviour… without changing the code. (Part 2). [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/11/11/imagine-changing-your-apps-behaviour-without-changing-the-code-part-2/
CHICAGO
" » Imagine changing your app’s behaviour… without changing the code. (Part 2)." Pietro Ghezzi | Sciencx - Accessed . https://www.scien.cx/2025/11/11/imagine-changing-your-apps-behaviour-without-changing-the-code-part-2/
IEEE
" » Imagine changing your app’s behaviour… without changing the code. (Part 2)." Pietro Ghezzi | Sciencx [Online]. Available: https://www.scien.cx/2025/11/11/imagine-changing-your-apps-behaviour-without-changing-the-code-part-2/. [Accessed: ]
rf:citation
» Imagine changing your app’s behaviour… without changing the code. (Part 2) | Pietro Ghezzi | Sciencx | https://www.scien.cx/2025/11/11/imagine-changing-your-apps-behaviour-without-changing-the-code-part-2/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.