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

github.com

46 points by juliangoetze 2 days ago

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!

chatmasta a day ago

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?

  • glenntws a day ago

    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.

  • glenntws a day ago

    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.

zote a day ago

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.

  • juliangoetze a day ago

    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)

    • zote a day ago

      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.

  • juliangoetze a day ago

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

    • zote a day ago

      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

      • juliangoetze a day ago

        Sounds like the experiences we've had in the industry - even though they're all 'logistics companies', their workflows and requirements differ greatly, even within a niche of a niche. This gave us a hard time building a scalable software that would be useful for as many companies in the industry as possible

dchuk a day ago

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?

  • glenntws a day ago

    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!

rrrx3 a day ago

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

  • juliangoetze a day ago

    Have you tried the stagewise agent so far? If so, what are the core problems the agent still has?

  • juliangoetze a day ago

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

indigodaddy a day ago

This is pretty wild. Very clever idea, kudos/congrats.

  • juliangoetze a day ago

    Thanks! Would love to hear product feedback since there's still a ton we need to improve

pj_mukh a day ago

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!

  • juliangoetze a day ago

    The whole 'vibe-coding' space seems a bit underserved for mobile or am I wrong?

    • pj_mukh a day ago

      Cursor/Claude works decently enough for react-native.

      Would love some models optimized for Swift and also closing the loop with the simulator would be clutch.

wodow a day ago

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

  • juliangoetze a day ago

    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

bravesoul2 a day ago

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.

  • juliangoetze a day ago

    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.

    • bravesoul2 a day ago

      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!)

      • juliangoetze a day ago

        Haha, u're right, I recently had a chat w a friend about how high our threshold for excitement has become. A few years ago, a new iPhone release would have meant the world

ProofHouse a day ago

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

  • juliangoetze 16 hours ago

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

koakuma-chan 2 days ago

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.

  • glenntws 2 days ago

    Are you using one-time mail providers? Otherwise, please check the spam folder of course. If nothing helps, feel free to join Discord (https://discord.gg/DjMqMnUVCh) and we'll debug this together.

    • koakuma-chan 2 days ago

      Hey, I received it, it just took like 10 minutes, I use fastmail

      • glenntws 2 days ago

        awesome. hope you enjoy

  • juliangoetze 2 days ago

    Did the agent work well after the mail came through?

    • koakuma-chan 2 days ago

      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€

      • juliangoetze a day ago

        Hmm, the initial credits are usually enough to do 4-5 major tasks and a few more smaller ones. Was the log with 1.86/2 credits the latest?

        • koakuma-chan a day ago

          Oh maybe it's not that. It showed me "task failed" in the UI, and I saw 1.99/2 in the console, so that's what I assumed.

          I'm gonna give it another try a bit later.

          • juliangoetze a day ago

            Oh okay, seems like there was another issue then, I'll debug. Happy to see a run without issues later

  • juliangoetze 2 days ago

    The Sign In option also serves as Sign Up.. I'm having a look at the email issue now!

__grob a day ago

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

  • juliangoetze a day ago

    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?

aagha a day ago

Cool!

How does this work for non-UI code?

  • juliangoetze a day ago

    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?

artahian 2 days ago

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.

  • glenntws 2 days ago

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

alienbaby a day ago

existing codebases... so long as they are web applications?

  • juliangoetze a day ago

    Yep, that's correct. stagewise only works with web applications.