AI-powered CAD design assistant. This project lets you create CAD designs using AI.
git clone https://github.com/hireshBrem/cad-ai.git .docker run -p 6379:6379 -d redisnpm installCreate a .env.local file:
cp .env.local.example .env.localRequired variables (see also .env.local.example):
| Variable | Description |
|---|---|
OPENAI_API_KEY |
Your OpenAI API key (get one here) |
KITTYCAD_API_KEY |
Your KittyCAD API (get one here) |
REDIS_URL |
Redis connection URL (e.g., redis://localhost:6379) |
npm run devOpen http://localhost:3000 in your browser.
Here are some example prompts you can use to generate CAD designs:
- "Create a flange with a 50mm diameter, 6 holes for M8 bolts, and 10mm thickness"
- "Design a gear with 40 teeth, 30mm pitch diameter, and 5mm face width"
- "Model a mounting bracket with two 8mm holes spaced 60mm apart"
- Next.js 16 (App Router) + React 19
- Mastra SDK + Vercel AI SDK
- Tailwind CSS
- TypeScript
