Show HN: Stagewise (YC S25) – Front end coding agent for existing codebases

7 days ago (github.com)

Hey HN, we're Julian and Glenn, and we're building stagewise (https://stagewise.io), a frontend coding agent that lives inside your browser on localhost and operates on local codebases.

You can spawn the agent into locally running web apps in dev mode with `npx stagewise` from the project root. The agent lets you then click on HTML Elements in your app, enter prompts like 'increase the height here' and will implement the changes in your source code.

Before stagewise, we were building a vertical SaaS for logistics from scratch and loved using prototyping tools like v0 or lovable to get to the first version. But when switching from v0/ lovable to Cursor for local development, we felt like the frontend magic was gone. So, we decided to build stagewise to bring that same magic to local development.

The first version of stagewise just forwarded a prompt with browser context to existing IDEs and agents (Cursor, Cline, ..) and went viral on X after we open sourced it. However, the APIs of existing coding agents were very limiting, so we figured that building our own agent would unlock the full potential of stagewise.

Here's how it works: When you run `npx stagewise`, our cli proxies your running web application in dev mode and injects a toolbar containing the coding agent on top of it. Each prompt you send will be enriched with browser context and sent to our cli, which will call our backend and modify the source code of your local codebase accordingly.

Here's a demo of our agent changing the login UI of Cal.com, a popular open-source meeting scheduling app: https://www.youtube.com/watch?v=BkDcAozK9L4.

So far, we've seen great adoption from non-technical users who wanted to continue building their lovable prototype locally. We personally use the agent almost daily to make changes to our landing page and to build the UI of new features on our console (https://console.stagewise.io).

If you have an app running in dev mode, simply `cd` into the app directory and run `npx stagewise` - the agent should appear, ready to play with.

We're very excited to hear your feedback!

That’s really cool. It’s one of those ideas that seems obvious in retrospect once you see it.

What’s your moat? Especially against companies like Webflow or Vercel who could implement your “product as a feature.” Have you thought about partnering with those sort of companies to white label your solution embedded into their apps?

  • Thanks, really appreciate it. Our moat is that we're completely open. Matter of fact, even the interface to connect other agents is open source. We want to keep being compatible with all kinds of frameworks and tech stacks.

  • oh and as stupid as it might sound, but: we're confident that we can simply be better. Our roadmap is full of things that go way beyond the current capabilities, but everything is focussed on one goal: Make building production-grade (and pretty) frontends as easy as possible.

    Sounds cheesy, but the focus on really really nailing this one thing sets us apart we think.

This is what I've been looking for! Tried self hosting the bolt.new editor to achieve something like this and it was terrible. Also interested in hearing about the SaaS you were building, I recently built something in that niche coincidentally drafted at first by v0.

  • Haha, cool to hear!

    We were tinkering with a transport management system because the industry was full of legacy software.

    But before we were able to battle-test something, stagewise took off.

    Still think that it's an industry worth going for (at least in Germany)

    • Ha, this project has had me thinking about that sector more, I'll try and make an effort and go for it in the future, and congrats you have built something truly useful here.

  • What were you building? And did it evolve/ has been used by someone?

    • I was building something for a single logistics company; they'd handle clearing and forwarding for their clients as well as transportation if it was required, covered everything from invoicing to fleet management, outsourcing jobs, It's evolved quite a bit considering the initial premise was simply creating quotes and invoicing, maybe It'll end up being a bigger deal in the future

      1 reply →

Would this work with Ruby on Rails apps that use erb templates? Or does it have to work with JavaScript frameworks on the front end?

  • It works with everything that runs in a browser - as long as the dev app runs on localhost and the codebase is local as well, we can integrate with it!

Been using this for a few weeks now, and I love it. I'd love it if yall could add some more design controls!

  • Nice to hear that! What exactly do you imagine when talking about design controls?

    • Something a bit more granular - think like design mode in v0. Essentially a panel that exposes UI component styling props.

      I read your other comment - didn't even know about the agents, going to play with them ASAP.

Does it work with Node/JS/TS front ends only, or can it work with other languages and web frameworks?

  • It will work as long as the project is a web project and runs in the browser. The agent is a pure js snippet and can be injected into any web app

Ugh, looking for something like this for Front-end Mobile Dev (React-Native, Swift etc.). The closest thing I've found is https://www.magicpatterns.com, but that doesn't work on existing repos. Keep that in mind!

Smart solution. My todo list had getting Claude Code somehow to "look at the ui" but looks like you have prefabbed this sort of thing for us.

  • Thanks! There are also some other tools out there that give 'vision' to your coding agent via MCP, but we figured that prompting the agent directly by clicking on elements is the most intuitive way to interact with it.

    • Yeah the video is amazing. I like it when some magic feeling is added back to AI. We got so used to chatGPT the dopamine hits are rarer. But chatting to your app to change the code rather than merely use the app is magical. For now... (need a new sparkle tomorrow lol!)

      1 reply →

Interesting, seems good. Question: What would you do in the case of chrome, would it work?

How do I make an account? There is only an option to Sign In. I entered my email, it said that you sent an email, but there's nothing.

  • Did the agent work well after the mail came through?

    • I think it ran out of credits before it could finish one task.

      Available plugins: @stagewise-plugins/angular

      Agent server initialized successfully

      Stagewise is running on http://localhost:4200

      Proxying app from port 3100

      Opening browser...

      Credits: [ ------------------------------ ] 1.99/2€

      Credits: [ ------------------------------ ] 1.97/2€

      Credits: [ ------------------------------ ] 1.95/2€

      Credits: [ ------------------------------ ] 1.92/2€

      Credits: [ ------------------------------ ] 1.89/2€

      [multiEditTool] Editing file public/i18n/en.json (30679 bytes)

      [multiEditTool] Edit 0: Replaced 1 occurrence

      [multiEditTool] Edit 1: Replaced 1 occurrence

      [multiEditTool] Edit 2: Replaced 1 occurrence

      [multiEditTool] Edit 3: Replaced 1 occurrence

      Credits: [ ------------------------------ ] 1.86/2€

      4 replies →

VanillaJS support pls then can be used in all sorts of webapps etc not using frameworks

  • It has VanillaJS out of the box! You can run `npx stagewise` and it will integrate into every web app you can imagine

Cool, I had a very similar idea recently, awesome to see it live! Congrats!

  • It's so funny how many people tell us that - it's one of the obvious ideas someone just needed to start with. What kept you from building the first version?

v0 and lovable have way too much hype, I think what you're doing with stagewise (i.e. being dev-first instead of optimizing for non-developer users) is the real long term use of AI.

  • thanks for the kind words! If you have ideas or wishes for next steps, feel free to share.

Cool!

How does this work for non-UI code?

  • Do you mean for UI-related changes that also include modifying the backend, or do you mean pure backend changes that don't involve UI at all?