Hey HN, I made this open-source template for building Anthropic's Artifacts UI-like chat apps.<p>You can use it to run AI-generated Python in headless Jupyter server and also build Next.js apps with it.<p>Here's the stack I used<p>- Anthropic's Claude Sonnet 3.5 [0]<p>- Vercel's AI SDK for calling the LLM [1]<p>- E2B for running AI-generated code with the Code Interpreter SDK and Sandboxes [2]<p>- Next.js for the app [3]<p>Links<p>[0]: <a href="https://www.anthropic.com/claude" rel="nofollow">https://www.anthropic.com/claude</a><p>[1]: <a href="https://sdk.vercel.ai/docs/introduction" rel="nofollow">https://sdk.vercel.ai/docs/introduction</a><p>[2]: <a href="https://e2b.dev" rel="nofollow">https://e2b.dev</a> & <a href="https://github.com/e2b-dev/code-interpreter">https://github.com/e2b-dev/code-interpreter</a><p>[3]: <a href="https://nextjs.org/" rel="nofollow">https://nextjs.org/</a>