StackDraft AI is an innovative browser-based tool designed to transform your plain-English project descriptions into comprehensive cloud architecture proposals. It leverages the power of Google Gemini to generate interactive diagrams, deployable Terraform code, and estimated monthly costs for your cloud infrastructure. Whether you are conceptualizing a simple URL shortener, a robust to-do list API, or an email analysis service, StackDraft AI streamlines the process.
Instant Architecture Generation: Describe your system in plain English and receive multiple architecture proposals.
Multi-Cloud Support: Seamlessly generate configurations for Google Cloud Platform (GCP), Amazon Web Services (AWS), and Microsoft Azure.
Interactive Diagrams: Visualize your architecture with Excalidraw-powered diagrams that you can edit directly in the browser.
Deployable Code: Get ready-to-use Terraform (HCL) code with syntax highlighting, making deployment straightforward.
Cost Estimation: Receive estimated monthly costs for each generated proposal to help with budgeting.
Customizable Constraints: Set budget limits and choose whether to include observability services to tailor the proposals to your needs.
This tool is particularly beneficial for students, beginners, and hobbyists looking to gain hands-on experience with cloud architecture and infrastructure as code. The application features a client-side AI pipeline, eliminating the need for a backend server, making it simple to run and deploy.
AI-generated architecture diagrams with multiple proposals.
One-click switching between GCP, AWS, and Azure.
Editable, interactive diagrams powered by Excalidraw.
Terraform code output with syntax highlighting.
Monthly cost estimates for each proposal.
Budget constraint settings.
Option to include or exclude monitoring services.
Frontend: React 18, TypeScript, Vite
UI Components: Mantine UI v7, Tabler Icons
Diagramming: Excalidraw, Mermaid.js
AI Integration: Google Gemini 2.5 Flash (via @google/generative-ai)
Infrastructure as Code: Terraform
Hosting: Firebase Hosting (optional)
Built with