Fragments
Next.js template from E2B that generates small Next.js, Vue, Streamlit, Gradio or Python apps from a prompt and runs them in E2B cloud sandboxes.
Fragments is an Apache-2.0 Next.js app by E2B, the open-source counterpart to Claude Artifacts or v0. You prompt it, it writes a small app (Next.js, Vue.js, Streamlit, Gradio or a Python script) and runs it in an E2B cloud sandbox with a live preview. It supports OpenAI, Anthropic, Google, Mistral, Groq, Fireworks, Together AI and Ollama, but an E2B API key is always needed because code runs on E2B's cloud. No database, auth or publishing for the generated apps. Active in October 2026.
The facts
| Question | Answer | Source | Checked |
|---|---|---|---|
| Runs on my machine? | Partly. The web app runs on your machine, but generated code runs in E2B's cloud sandboxes | github.com | Checked 7 weeks ago |
| Code licence | Open source. Apache-2.0 | github.com | Checked 7 weeks ago |
| Commercial use | Yes. Apache-2.0 | github.com | Checked 7 weeks ago |
| Paid services needed? | Required. An E2B API key (hosted sandbox service) is required; the LLM can be local via Ollama | github.com | Checked 7 weeks ago |
| Hardware | No GPU needed with hosted LLM providers; AI-generated code runs in remote E2B sandboxes; the app needs Node.js and npm; no RAM figures (Ollama is also supported for local models) | github.com | Checked 6 weeks ago |
| Operating systems | Web app: a Next.js app run with Node.js and npm and used in a browser, with code running in remote E2B sandboxes; no host operating systems named | github.com | Checked 5 weeks ago |
| Setup effort | Medium; clone, npm install, set E2B and model keys, run the dev server | github.com | Checked 7 weeks ago |
Each fact has its own date. Unknown means nobody has published it. We read their documentation; we didn’t install it. Running it yourself costs your hardware, electricity and setup time. Report a correction.
No licence changes since we started watching. Licence changes: follow Fragments and we email you if its terms change.
Where to run it
Fragments can run on your own server. If you don’t have one, these hosts can run it for you.
Referral links: we may earn a commission if you sign up and pay, at no extra cost to you. They never change our facts, rankings or comparisons. How we keep them separate.
What it replaces, job by job
| Paid tool | Jobs | How far it goes |
|---|---|---|
| Lovable |
| 2 of 6 jobs. Single-file prototypes and data apps with a preview; no backend setup, editing canvas or publishing. |
| Bolt.new |
| 2 of 6 jobs. Code runs in E2B cloud sandboxes instead of the browser; small apps only. |
Stars over time
Steady +2 stars this week (0.6× its usual pace). Stars show attention, not quality. Where these numbers come from.