Screenshot 2025-10-07 at 4.34.01 AM.jpg

UI

  1. Lets aim to create an extremely clean UI for this. Half the appeal of these apps is clean websites in minutes
  2. Editor UI should have basic animations when switching b/w previews/terminal/code.
  3. Creating an editor from scratch, Terminal from scratch. (VSCode is an alternate but none of these websites use it, devin does though)
  4. Storybook preferred for all components

LLM Layer

  1. Langchain (ts or python your call)/Langgraph for creating a ReAct agent
  2. Support a tool list closer to what lovable has
  3. Create routers for figuring out the framework, checking if its a valid prompt etc.

Sandboxing (most difficult bit in v0)

  1. A fresh React/Next project needs to be spun up in a sandbox.
  2. Whenever a tool call is made, the sandbox needs to be updated (file written to/read from/git patch applied etc).
  3. Files on the sandbox need to be exposed to the frontend.
  4. Only allow updates via LLM, user cant edit code, its a read only editor.
  5. Whenever a command is run (shell tool is called), run it in the sandbox (use node.js exec) and pipe the response to a div on the frontend. User cant run their own commands. For lovable, it seems like npm run dev is something they run for u and thats it, the LLM doesnt tell the backend to run this command.