Open-source Next.js template for building apps that are fully generated by AI. By E2B.
Fragments by E2B is an open-source Next.js 14 template that lets developers build applications where the entire app is generated by an AI model through a chat interface. It connects to Claude via the Anthropic API using the Vercel AI SDK, alongside support for OpenAI, Google AI, Mistral, Groq, and several other providers. Generated code runs inside secure E2B sandbox environments, which can execute Python scripts or spin up full Next.js, Vue.js, Streamlit, or Gradio applications with arbitrary npm and pip packages installed at runtime. The UI streams responses in real time, and an optional Morph Apply model integration handles token-efficient code edits after initial generation. Developers can extend the template by defining custom sandbox personas using E2B Dockerfiles and registering new LLM providers in a TypeScript config file. The project mirrors the behavior of Anthropic Artifacts and Vercel v0, making it a practical starting point for teams building their own AI-driven code generation products.
- ✓Open-source license (Apache-2.0)
- ✓Actively maintained (<30d)
- ✓Healthy fork ratio
- ✓Clear description
- ✓Topics declared
- ✓Mature repo (>1y old)
git clone https://github.com/e2b-dev/fragmentsTools overview
What people ask about fragments
What is e2b-dev/fragments?
+
e2b-dev/fragments is tools for the Claude AI ecosystem. Open-source Next.js template for building apps that are fully generated by AI. By E2B. It has 6.4k GitHub stars and its last recorded update is dated 2026-09-10.
How do I install fragments?
+
You can install fragments by cloning the repository (https://github.com/e2b-dev/fragments) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is e2b-dev/fragments safe to use?
+
Our security agent has analyzed e2b-dev/fragments and assigned a Trust Score of 100/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains e2b-dev/fragments?
+
e2b-dev/fragments is maintained by e2b-dev. The last recorded GitHub activity is dated 2026-09-10, with 21 open issues.
Are there alternatives to fragments?
+
Yes. On ClaudeWave you can browse similar tools at /categories/tools, sorted by popularity or recent activity.
Deploy fragments to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/e2b-dev-fragments)<a href="https://claudewave.com/repo/e2b-dev-fragments"><img src="https://claudewave.com/api/badge/e2b-dev-fragments" alt="Featured on ClaudeWave: e2b-dev/fragments" width="320" height="64" /></a>More Tools
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
🪨 why use many token when few token do trick — Claude Code skill that cuts 65% of tokens by talking like caveman
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Use Claude Code, Codex, Pi, and OpenCode and more for free (1.3B+ free tokens) from your terminal, app, IDE, or phone like OpenClaw (voice supported + ToS friendly)