Your AI-powered Infrastructure as Code assistant
Project description
AI-powered Infrastructure as Code assistant for cloud infrastructure through natural language interaction. Currently supports Alibaba Cloud ROS and Terraform workflows.
Language: English | 中文 | Español | Français | Deutsch | 日本語 | Português
Documentation: https://aliyun.github.io/iac-code/
Installation
IaC Code requires Python 3.10 or later. It supports macOS, Linux, and Windows.
Windows note: On Windows, Git for Windows must be installed to provide the bash shell used by the tool execution environment. If Git Bash is installed but not on PATH, set the
IAC_CODE_GIT_BASH_PATHenvironment variable.
pip install iac-code
Usage
On first use, configure the LLM provider and IaC cloud service by entering /auth in interactive mode.
Interactive Mode
Run directly to enter the interactive REPL:
iac-code
Non-Interactive Mode
Pass a one-shot prompt via --prompt:
iac-code --prompt "Create a VPC and two ECS instances"
Reading from stdin is also supported:
echo "Create an OSS Bucket" | iac-code --prompt -
Contributing
Install uv, then:
make install # install dependencies and pre-commit hooks
make dev # run in debug mode
make test # run tests
make lint # run linters
make format # format code
See the Contributing Guide for details.
Contact Us
| DingTalk | Discord |
|---|---|
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file iac_code-0.7.0.tar.gz.
File metadata
- Download URL: iac_code-0.7.0.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93c1f482dcf9a9300a93313299d645ad2a0bc4b329342e0aef4bef567a058e1e
|
|
| MD5 |
513cead9231bbace2ea082826c45659b
|
|
| BLAKE2b-256 |
e852ec3750fcc10ac14cacad3315f17319dbe01e019fd95d72bfff3c8d37f490
|
File details
Details for the file iac_code-0.7.0-py3-none-any.whl.
File metadata
- Download URL: iac_code-0.7.0-py3-none-any.whl
- Upload date:
- Size: 1.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c6590a8ceec03dc044de491f2dd8f91e1926e8d84f18a21c18e750c4c83283f
|
|
| MD5 |
1c857e9a2fec6680a25069499422019e
|
|
| BLAKE2b-256 |
c79f67209d034b8726c20cfdf4099457517f299ea06cdfddb7cb3545ce70b28c
|