Fragments is an open source template designed for building applications where artificial intelligence generates and executes code directly from natural language prompts. It provides a ready-to-use web interface where users can chat with AI models to create code snippets, applications, or scripts in various programming environments. Generated code can be executed safely in isolated sandbox environments using the E2B SDK, which helps protect the host system while running AI-produced programs. Fragments is built with modern web technologies such as Next.js, TailwindCSS, and shadcn/ui, providing a structured foundation for developers creating AI-driven development tools. It supports multiple programming frameworks including Python interpreters, Next.js, Vue.js, Streamlit, and Gradio, allowing generated projects to span from simple scripts to full web applications. It integrates with a wide range of large language model providers and supports streaming responses.

Features

  • Chat interface that generates executable code using AI models
  • Secure sandbox execution environment for running generated code
  • Built on modern web technologies including Next.js and TailwindCSS
  • Support for multiple programming stacks such as Python, Vue.js, and Streamlit
  • Integration with several AI model providers through a unified interface
  • Real-time streaming output in the UI for interactive development

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow Fragments by E2B

Fragments by E2B Web Site

Other Useful Business Software
SoftCo: Enterprise Invoice and P2P Automation Software Icon
SoftCo: Enterprise Invoice and P2P Automation Software

For companies that process over 20,000 invoices per year

SoftCo Accounts Payable Automation processes all PO and non-PO supplier invoices electronically from capture and matching through to invoice approval and query management. SoftCoAP delivers unparalleled touchless automation by embedding AI across matching, coding, routing, and exception handling to minimize the number of supplier invoices requiring manual intervention. The result is 89% processing savings, supported by a context-aware AI Assistant that helps users understand exceptions, answer questions, and take the right action faster.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Fragments by E2B!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Artificial Intelligence Software

Registered

2026-03-17