Coder Social home page Coder Social logo

e2bart's Introduction

AI Artifacts - Open Source Anthropic Artifacts

This app is an open source version of Anthropic's Artifacts UI in their Claude chat app.

This app is using E2B's Code Interpreter SDK for AI code execution. E2B provides a cloud sandbox to run AI-generate code securly and can handle installing libraries, running shell commands, run Python, JavaScript, R, and Nextjs apps and more.

Preview

Features

  • Anthropic Claude Sonnet 3.5 model for AI code generation
  • Code Interpreter SDK from E2B for secure AI code execution using sandboxes
  • Vercel AI SDK for tool calling and streaming responses from the model
  • Supported AI-generated code
    • โœ… Running AI-generated Python in Jupyter notebook
    • โœ… AI-generated Next.js apps
    • TODO: vanilla JS/TS, R
  • TODO: Stream AI-generated code

1. Install dependencies

npm i

2. Set API keys

Create a .env.local file and set the following:

# Get your API key here - https://e2b.dev/
E2B_API_KEY="your-e2b-api-key"
ANTHROPIC_API_KEY="your-anthropic-api-key"

3. Run

npm run dev

e2bart's People

Contributors

mrgizmo212 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.