Fragments
E2B's open-source Next.js template for AI-generated apps, like Claude Artifacts or v0, with generated code run in secure E2B sandboxes.
Updated
✨ Try AgentScout's free AI image generator →Good for: writing code, automating workflows, building apps without code, running code safely
Use cases
About Fragments
Fragments is listed in our app builders category and is aimed at builders. E2B's open-source Next.js template for AI-generated apps, like Claude Artifacts or v0, with generated code run in secure E2B sandboxes. Pricing, as the maker states it: Free and open source (Apache-2.0); needs an E2B API key and a model provider key. Maturity: Mature. We last checked the official link on 2026-10-21.
What is Fragments?
Fragments is E2B's open-source Next.js template for apps that are fully generated by AI, in the spirit of Claude Artifacts or v0. You describe what you want, a model writes the code, and it runs in a secure E2B sandbox with output streamed into the UI.
It supports Python, Next.js, Vue.js, Streamlit and Gradio stacks, can install any npm or pip package, and works with OpenAI, Anthropic, Google, Mistral, Groq, Fireworks, Together AI and Ollama models. Running it needs an E2B API key and a model provider key; a hosted demo is at fragments.e2b.dev.
Sources: the official README and our directory listing, checked 2026-10-21. Official site: fragments.e2b.dev.
Who is Fragments for?
Developers who want a starting point for their own AI app builder or code-artifact feature.
Fragments at a glance
- Open source: Yes (Apache License 2.0)
- GitHub: e2b-dev/fragments · 6,393 stars · 863 forks (as of Oct 21, 2026)
Key features
- Prompt-to-app generation in sandboxes
- Python, Next.js, Vue, Streamlit and Gradio
- Any npm or pip package
- Many LLM providers, including Ollama
- Next.js 14, shadcn/ui and Vercel AI SDK
Fragments FAQ
What is Fragments?
Fragments is E2B's open-source Next.js template for apps that are fully generated by AI, in the spirit of Claude Artifacts or v0. You describe what you want, a model writes the code, and it runs in a secure E2B sandbox with output streamed into the UI.
Who is Fragments for?
Developers who want a starting point for their own AI app builder or code-artifact feature.
Is Fragments free?
Fragments's pricing, as the maker states it: Free and open source (Apache-2.0); needs an E2B API key and a model provider key. Check the official site for current plans.
Is Fragments open source?
Yes. Fragments is released under the Apache License 2.0, according to its GitHub repository.
What are alternatives to Fragments?
Similar tools include NocoBase, InsForge, VibeSDK, Onlook, Puter AI Builder and Alloy.
Fragments ratings and reviews
Be the first to rate Fragments: tap 1 to 5 stars below. A written review is optional.
Fragments alternatives
Other app builders tools in our directory. See all app builders tools →
NocoBase
Open-source no-code platform with AI employees for building business systems.
InsForge
Open-source backend platform that gives coding agents a database, auth and storage.
VibeSDK
Cloudflare's open-source kit for running your own vibe-coding platform.
Onlook
An open-source visual editor for React and Tailwind apps where you design on a canvas and an AI agent writes the code. Edit layouts like in Figma, then export clean code to your own repo.
Puter AI Builder
Puter AI Builder turns a plain-language description into a working app or website that can be published to a real URL, with no code; it is an open-source alternative to Lovable, Replit and v0 from the team behind Puter.
Alloy
AI prototyping tool for product managers that clones your product so you can make changes and share high-fidelity prototypes.
Popular searches with this tool
🏆 Ranked in: Best No-Code AI Agent Builders
🧭 Task guides: Sandboxes and secure execution tools for coding agents
Badge for makers
Built Fragments? Add this badge to your README or site. It links back to this page. About badges