An open source Claude Artifacts – generate small apps with one prompt. Powered by Llama 3 on Together.ai.
- Llama 3.1 405B from Meta for the LLM
- Together AI for LLM inference
- esbuild-wasm + esm.sh for the in-browser preview renderer (runs in a sandboxed iframe)
- Next.js app router with Tailwind
- Braintrust for observability
- Plausible for website analytics
- Clone the repo:
git clone https://github.com/Nutlope/llamacoder - Create a
.envfile and add your API keys:- Together AI API key:
TOGETHER_API_KEY=<your_together_ai_api_key> - Database URL: Use Neon to set up your PostgreSQL database and add the Prisma connection string:
DATABASE_URL=<your_database_url> - Braintrust API key (optional, for observability):
BRAINTRUST_API_KEY=<your_braintrust_api_key>
- Together AI API key:
- Run
npm installandnpm run devto install dependencies and run locally
For contributing to the repo, please see the contributing guide