What is the role of a product designer when AI agents can generate the UI and write the code?


Over the past year I've watched backend engineers, PMs, and front-end developers all show up to meetings with their own AI-made versions of the UI. So if a designer's job is making mockups, then yes, AI is coming for it. Anyone on a team can generate mockups in minutes now, and that was never the hard part. The difficult work is, and always has been, maintaining coherency and intention across a product so it works for people.

In that meeting, seeing everyone's concepts side by side pushed me to ask better design questions. How do these features interact? What are the relationships between them? We discussed the system, its objects, and the mental model that made most sense for our target users. That's the core of the designer's role now: deciding what the product is conceptually, so all those generated pieces add up to something people can understand.

The order of the work has also flipped. Designers used to draw up features with mockups and prototypes, then engineers would clean them up to ship them. Now engineers can code features so fast that designers are the ones going back and cleaning them up. Why do they need cleaning up? Because code made this way (currently at least) lacks UX refinement and thoughtful integration into the structure and purpose of a product.

In other words, developers now figure out what code a feature needs with agents, and designers figure out what UX it needs to actually ship. And you can do that work directly in the product. Designers can now work iteratively with production code, not just prototypes. This kind of hands-on work creates better designers, ones who work through issues that previously got left for developers to figure out. As I've said for years (and I'm old enough to have said it a lot), designing software is better when you work in the medium, not a level or two abstracted away.

Is this a bad time to be a designer? I think it's a great one. Instead of waiting for months, you can start playing with working features and ideas within hours. The build, use/test, learn, repeat loop just flipped, it didn't go away.

So the role comes down to three jobs: own the concepts and mental model of the product, set up the design system that steers everyone's agents (as we discussed earlier), and refine what gets built in real code until it's coherent. Let the agents make the UI, and spend your time making sure it all fits together.