LoomCode AI

Comparison

LoomCode AI vs E2B Fragments: What the Fork Adds and Changes

LoomCode AI is a fork of E2B's open-source Fragments (Apache-2.0). Here is what we kept, added, changed and removed, checked against upstream on 2026-11-22.

Updated Nov 24, 2026First published Nov 22, 20265 min read

LoomCode AI is built on Fragments, an open-source project by E2B released under the Apache License 2.0. The core idea is theirs: send a prompt to a model, get code back, and run it in an E2B sandbox with a live preview. Most of the architecture is theirs too: Next.js, the Vercel AI SDK, the template and model registries, and the E2B integration. LoomCode adds templates (React, PHP, Laravel), multi-file output, a re-verified model catalog, owner-checked share links, ZIP export and per-provider keys. If you want a minimal, well-known base to build your own AI app runner on, start with Fragments. If you want those extra runtimes and the export flow, use LoomCode.

Credit where it's due

Fragments is made by the E2B team. Its README describes it as "an open-source version of apps like Anthropic's Claude Artifacts, Vercel v0, or GPT Engineer" and lists these features:

  • Next.js 14 (App Router, Server Actions), shadcn/ui, Tailwind CSS and the Vercel AI SDK
  • The E2B SDK to run AI-generated code safely
  • Streaming in the UI
  • Installing any package from npm or pip

LoomCode keeps the Apache-2.0 license, and the upstream license text ships with the code. The E2B sandboxes that run every LoomCode preview are E2B's product. When we say "LoomCode runs your app," it runs on E2B infrastructure.

How we compared

  • Check date: 2026-11-22.
  • Upstream facts come from the Fragments README and its lib/ source files on the main branch as of that date. The last commit on main was on 2026-10-13. The repository has no tagged releases.
  • LoomCode facts come from LoomCode's code on the same date.
  • This is a code and documentation comparison. We didn't run the upstream app side by side for this page.

What changed

E2B Fragments (upstream, 2026-11-22)LoomCode AI
LicenseApache-2.0 (LICENSE)Apache-2.0 (inherited)
TemplatesPython interpreter, Next.js, Vue.js, Streamlit, Gradio (README)The same five (Next.js, Vue/Nuxt, Streamlit and Gradio rebuilt under LoomCode's own template ids, with the versions listed on templates), plus React (Vite 8), PHP 8.2 and Laravel 12
Output per generationOne file: the schema has a single file_path and code field (lib/schema.ts)One file or several. The model can return a multi-file project. Our recorded Laravel run wrote 12 files
Model providersREADME lists OpenAI, Anthropic, Google AI, Mistral, Groq, Fireworks, Together AI and Ollama. Its models.json also has xAI, Vertex and DeepSeek entries (lib/models.json)OpenAI, Anthropic, Google, xAI, DeepSeek and Groq (open-weight GPT-OSS 120B and 20B). Removed: Fireworks, Together AI, Mistral and Vertex entries
Model idsUpstream listEvery id re-checked against provider docs on 2026-11-22. Retired ids were removed and listed separately (retired models)
Code-edit helperIntegrates Morph's Apply model for editsNot included
Share linksShort URLs through Vercel/Upstash KV (README env vars)Share works only for a sandbox the same signed-in user (or, without sign-in, the same IP) created. The server checks this. It extends that sandbox for 30 minutes to 24 hours. Expired links show a "preview expired" page
ExportNot listed in the README"Generated files (.zip)" with a README and loomcode.json manifest at any time. "Full project from sandbox" ZIP while the preview is running (export)
Model accessAPI key input in the chat (README mentions a flag to disable it)Generation uses LoomCode’s provider credentials and your plan’s allowance (model access)
Optional servicesSupabase auth, PostHog analytics, KV rate limiting (README env vars)Same kinds of services, all optional and operator-controlled

Why the removals

We removed the Fireworks, Together AI, Mistral and Vertex entries in this release because we couldn't verify their current API model ids on 2026-11-22. A model list that silently fails is worse than a shorter one. They may return once their ids can be verified.

Choose Fragments if…

  • You want the upstream base with the smallest surface, maintained by the E2B team.
  • You want Morph-assisted edits or the upstream provider list as-is.
  • You plan to build your own product and would rather make your own changes than inherit ours.

Choose LoomCode if…

  • You need PHP, Laravel or plain React templates, or multi-file projects.
  • You want export. Download the generated files with run steps, or the whole sandbox project.
  • You want a catalog checked on a specific date, with retired models documented instead of left in the picker.

Try something upstream doesn't template

Plain PHP isn't one of upstream's templates. This prompt is from our recorded run on 2026-11-22. It produced a single index.php that validated input on the server, saved submissions to SQLite through PDO, escaped HTML in names, and showed an average rating. More on the template in PHP.

Open the PHP prompt in the builder

ZTABS operates LoomCode as a hosted service and keeps its source repository private. The upstream Fragments repository provides the open-source starting point.

Sources (checked 2026-11-22)