←back to thread

40 points glenntws | 1 comments | | HN request time: 0s | source

Hey HN, we're Glenn and Julian, and we're building stagewise (https://stagewise.io), a frontend coding agent that inside your app’s dev mode and that makes changes in your local codebase.

We’re compatible with any framework and any component library. Think of it like a v0 of Lovable that works locally and with any existing codebase.

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.

Since our last Show HN (https://news.ycombinator.com/item?id=44798553), we launched a few very important features and changes: You now have a proprietary chat history with the agent, an undo button to revert changes, and we increased the amount of free credits AND reduced the pricing by 50%. We made a video about all these changes, showing you how stagewise works: https://x.com/goetzejulian/status/1959835222712955140/video/....

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!

Show context
Lalabadie ◴[] No.45017373[source]
Pet peeve because everyone seems to be doing this:

The video demo shows the operator asking for "same height", and then the agent sets a hardcoded 298px height instead of using any of the many reliable/solid ways to do it with CSS.

I'm sure there are better examples you could prompt to make that video convincing, though I appreciate the honesty showing what to expect.

replies(3): >>45017589 #>>45017603 #>>45018229 #
joshstrange ◴[] No.45018229[source]
Before I saw this comment I thought that's how it "fixed" it. I recorded my screen so I could slow it down and see what it said and sure enough:

    I've made the following change:
    1. Added a fixed height of `h-[298px]` to match the tallest card (which was 298px)

Screenshot: https://cs.joshstrange.com/d75pC236

This joins the ranks of prominent demos on the landing page that do the wrong or silly thing. It really makes it hard to take some things seriously.

That said, I like the overall idea of this. I think that Claude Code and friends will get way more powerful as we find ways to feed them better (not necessarily more) context.

replies(1): >>45019102 #
cyanydeez ◴[] No.45019102[source]
More context is not going solve this.

CSS requires understanding emerging properties of layout. So context doesn't help. Knowing how a variable expands a a div into a set of constraints isnt context dependent.

What you probably mean is a well designed model context which fits the most flexible and logical code framework.

Reading the last paragraph should make you realize the proposition isnt likely going to happen.

replies(1): >>45024964 #
1. faangguyindia ◴[] No.45024964[source]
Exactly, but do u think a model can be developed to deal with this?