Fragments is an open-source Next.js 14 template for building apps generated by AI, with support for multiple stacks, LLM providers, and an E2B SDK runtime. It includes environment setup, dev/build commands, and customization guides for personas, models, and providers.
Collecting history — the radar snapshots this repo daily. The trend line appears after 3 days of data (1 so far).
What it is
Fragments is an open-source Next.js template for building apps that are fully generated by AI. It is powered by the E2B SDK and targets server actions, streaming in the UI, and multi-stack support.
How it works
The project integrates with the E2B SDK to securely execute code generated by AI and supports streaming in the UI. It provides configurability for multiple stacks (Python interpreter, Next.js, Vue.js, Streamlit, Gradio) and multiple LLM providers (OpenAI, Anthropic, Google AI, Mistral, Groq, Fireworks, Together AI, Ollama). It also integrates with Morph for token-efficient editing.
Getting started
Prerequisites include git, Node.js, npm, and API keys for E2B and LLM providers. The steps shown in the README are:
- Clone the repository:
git clone https://github.com/e2b-dev/fragments.git - Install dependencies:
npm i - Set environment variables in a
.env.localfile (example keys provided, including E2B_API_KEY and OPENAI_API_KEY, plus optional keys) - Start the development server:
npm run dev - Build the web app:
npm run build
Recent releases
- none
Traction
- stars_7d: not present
- stars_1d: not present
Behind the repo
- GitHub repository: e2b-dev/fragments
- License: Apache-2.0
- Created: 2024-07-10
- Last push: 2026-07-30
- Language: TypeScript
- Topics include ai, llm, nextjs, react, typescript
Caveats
- License: Apache-2.0
- Open issues: 16
- Releases: latest 0, none






