The AI Agent can now create dynamic expressions

Hey everyone,

Rutvij here - I’m the product marketing manager for AI at Bubble.

Back at Bubble Tour, we shared that you could expect improvements to the Bubble AI Agent to come soon. We’re building toward a full-stack AI Agent that can generate and edit expressions, data types, and workflows to help you build complete features — and I’m excited to share that expression generation and editing is now here.

What’s new

The Bubble AI Agent (beta) will now automatically create dynamic expressions when you prompt it to build elements that need them. For newer folks visiting us here, expressions are a way for your frontend to talk to your data, and what transforms a static mockup to a real app.

The Agent can also edit existing expressions. This makes it easier to build smarter pages in your project without switching between AI prompting and manual setup.

Here’s what that means for your builds

When you prompt the Agent to build elements that need dynamic data, it will now generate the expressions automatically. Say you have a task management app that you’re refining:

  • You might have a repeating group which contains a list of all tasks completed by all users, and you want to show tasks completed by the current user. After selecting the RG to give the Agent context, you can prompt "Can you generate an expression for this repeating group that searches for a list of tasks completed by the current user?”

See it in action here!

You can also edit existing expressions (remember to select the text element for maximum accuracy), for example:

  • Edit an expression to show more info about someone that completed a task. Here’s a prompt you can use: “Can you set this up to show the email of the user who completed the task?”

Current limitations

This release focuses on core dynamic expressions and has a few constraints:

  • The Agent doesn’t support conditionals yet

  • Expressions can’t use data sources from API calls (since Bubble AI doesn’t support plugins yet)

What’s coming next

We’re working toward a full-stack Agent experience. You can expect AI Agent support for data types next and workflows soon after that.

This is just the beginning of making the Agent more powerful for building real, working apps faster.

Happy building! We’d love to see what you create and hear your feedback — share your builds and tag @bubble on X and LinkedIn, or drop your thoughts in this thread.

— Rutvij

13 Likes

Well done team! Excited to continue extending agent capabilities. Datatypes and workflows are next and then in Q1 we will begin rolling out the agent to non-AI apps!

2 Likes

Is this currently still only available for the primary bubble editor and not the mobile beta?

That’s correct, the Agent’s editing capabilities are only available on web apps for the moment.

Very necessary and maybe the most important part of the AI agent as I said during the July topic.

The true unlock will be complex nested and/or conditionals but a decent first step. At the very least this might speed up adding constraints manually.

One very important thing that’s missing: I don’t want it to make edits to my app.

Give me a “scratchpad” that’s completely disconnected from my app environment that I can copy and paste expressions/elements from. You could argue that’s what the “approve” button is doing but I want more granular control over “approve.” I don’t trust that button and I’m not confident that other changes won’t accidentally be made. Especially if there are multiple changes being made at once. Each change should have a “live preview” and be able to be approved/denied one by one.

Great news!

When will it be possible to use the AI Agent on app created prior to creating an app with AI?

Best,
Peter

2 Likes

I’d also appreciate to be able to use AI agent on apps created previous to AI.

Like Cory mentioned above, we will start rolling out the agent to non-AI generated apps in Q1! We’re very excited about this upcoming milestone