AI-as-code generator, CLI tool, and Go library
Top 13.4% on sourcepulse
This tool generates Infrastructure-as-Code (IaC) templates, configurations, and scripts using Large Language Models (LLMs) from providers like OpenAI, Amazon Bedrock, and Ollama. It's designed for developers and DevOps engineers who need to quickly create or iterate on cloud infrastructure definitions, CI/CD pipelines, and policy-as-code.
How It Works
aiac leverages LLMs to translate natural language prompts into structured code. Users specify the desired output (e.g., "terraform for AWS EC2") and the target LLM provider via a configuration file. The tool then composes the request, sends it to the LLM, and outputs the generated code, offering an interactive shell for refinement or saving to files. This approach automates the creation of boilerplate code, reducing manual effort and potential errors.
Quick Start & Requirements
brew install aiac
, docker pull ghcr.io/gofireflyio/aiac
, or go install github.com/gofireflyio/aiac/v5@latest
.~/.config/aiac/aiac.toml
).Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
9 months ago
1+ week