Hi everyone,
My name is Rutvij and I’m the product marketing manager for AI at Bubble.
Last month, we shared that the Bubble AI Agent could create and edit dynamic expressions from a simple prompt. Today, I’m excited to share that the Agent can now generate and modify data types and fields. It will also create privacy rules as appropriate. See it in action here (we had fun with this video!) →
This is the next step in our journey toward an AI Agent that can build every aspect of your app — design, logic, and data — all part of creating a platform where you can switch between prompting the AI Agent and making precise edits with visual tools.
What’s new
The Bubble AI Agent (beta) can now automatically create and modify data types and fields when you prompt it to build features. The Agent can update your database schema, add new data types to keep your data organized, create relationships between different data types, and add fields to existing types.
Unlike the standalone data type generation tool we released a few months ago, the Agent has the full context of your app and addresses feedback many of you shared — you wanted the ability to use AI to edit and evolve your data structure as your app grew, not just create from scratch.
Note: The Agent is only available for AI-generated apps. If your app wasn’t built with AI, you can continue to use the existing data type generation tool on the data tab. We’re working on expanding Agent access to all apps in Q1.
What this update means for your builds
You can now prompt the Agent to create or modify data types and fields.
Create new data types with built-in security
Say you’re building a gym management app. You might need to add additional data types beyond what was initially generated, like a Gym data type.
-
You can prompt: "Add a Gym data type with fields: Name (text), address (text), capacity (number), opening_hours (text).”
-
The Agent will create the Gym data type with all those fields plus appropriate privacy rules.
Modify existing data types
You can also add fields to data types that already exist:
-
Prompt: “Add description, logo, and website url fields to the Gym data type”
-
The Agent will add the new fields to your existing Gym data type.
You can immediately view and edit any generated data types and fields in the data tab. Switch between prompting and visual editing whenever you want — you’re not limited to just one way of building.
Current limitations
This release focuses on core data types functionality and has a few constraints:
-
Creating option sets isn’t supported yet
-
The Agent will not delete fields if prompted
-
The Agent cannot modify existing field types (e.g., change Salary to be a number instead of text)
What’s next
With each update, we’re getting closer to a full-stack AI Agent experience. Generating and editing UI, expressions and now data types, paves the way for workflows. We’re rolling it out this month so expect to hear more soon.
Try it out
If you have an AI-generated app, you can start using the Agent to generate data types today. We’d love to see what you build and hear your feedback in the forum.
Happy building!
— Rutvij