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.
npm i
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>
npm run dev