Skip to content

Fragments

An open-source Next.js template for AI-generated apps

Visit official site

What fragments is

The template is an open-source Next.js starter for building applications that are generated by AI.

What you can do with it

  • Start an AI-driven app project quickly
  • Execute generated code in a sandbox
  • Stream UI output to the browser

Key features

  • E2B Sandbox and Code Interpreter SDKs
  • Support for Python, Next.js and Vue.js
  • Multiple LLM providers including OpenAI

Getting started

  • Clone the repository locally
  • Enter the directory and install dependencies
  • Create a .env.local file with variables

Pros & cons

✓ What we like

  • Generated code runs safely in a Code Interpreter SDK
  • Any npm or pip package can be installed

! What to watch out for

  • A .env.local file must be created for environment variables
  • Dependencies are installed after cloning the repository

FAQ

What is it based on?

The material names Next.js 14 with App Router and Server Actions.

Which providers are named?

OpenAI and Anthropic are listed as LLM providers.

Last reviewed: 2026-11-15

More AI coding tools tools

View all →

How we review