What is Fragments by E2B?
Updated
Fragments by E2B is an open-source project from E2B that is positioned as an open-source version of Anthropic's Artifacts. If you want a self-hostable or inspectable implementation of the "AI generates a runnable artifact in a side panel" pattern, Fragments is the project to look at. The landing page at fragments.e2b.dev presents it as an open-source project made by E2B, with a sign-in entry point and a "Star on GitHub" link.
What Fragments actually is
Fragments is a web application that reproduces the Artifacts experience: an AI model produces code or content, and the result is rendered in a separate pane rather than buried in the chat transcript. E2B's framing is explicit — the site describes it as the open-source version of Anthropic's Artifacts.
Two things follow from that framing:
- It is a product surface, not a library. You interact with it as an app (sign in, generate, view output), not by importing a package into your own codebase.
- It is open source. The page links to GitHub, so the implementation is available to read, fork, and self-host, subject to the project's own license and setup requirements.
How it relates to Anthropic's Artifacts
| Dimension | Anthropic Artifacts | Fragments by E2B |
|---|---|---|
| Nature | Feature inside Anthropic's product | Standalone open-source project |
| Source availability | Closed | Open source, hosted on GitHub |
| Control | Managed by Anthropic | You can inspect and, in principle, self-host |
| Entry point | Inside the Anthropic app | Sign-in on fragments.e2b.dev |
The practical difference is control and transparency. Artifacts is a managed feature you use as-is. Fragments gives you the same general idea in a form you can read, modify, and run yourself.
Who it is for
- Developers evaluating the artifact pattern. If you are building an AI app with a preview pane and want a working reference, reading an open-source implementation is faster than designing from scratch.
- Teams that need self-hosting. Because it is open source, it is a candidate when a managed feature is not an option.
- People curious about E2B's approach. Fragments is a concrete example of what E2B builds.
If you only want to use Artifacts inside Anthropic's product, Fragments is not a replacement for that workflow — it is a separate project with its own sign-in and hosting.
Getting started
- Go to fragments.e2b.dev.
- Use the sign-in entry point shown on the page.
- For source code, setup, and self-hosting details, follow the GitHub link ("Star on GitHub") from the same page — that is where the project's actual instructions live.
The landing page itself is minimal: a heading, a sign-in option, and the GitHub link. Treat it as the front door, and the repository as the documentation.
What the page does not tell you
The landing page does not state pricing, usage limits, or whether sign-in is required for every feature. Do not assume it is free or that no account is needed — those details are not on the page and should be confirmed from the project's repository or after signing in.