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