{"repo":"redscaresu/infrafactory","free":true,"listed":false,"github":"https://github.com/redscaresu/infrafactory","clone":"git clone https://github.com/redscaresu/infrafactory.git","description":"Scenario-driven infrastructure-as-code generation with LLM agents. Multi-cloud (Scaleway, GCP, AWS) with deterministic mock-backed validation.","language":"Go","stars":14,"topics":["ai-agents","aws","claude","gcp","golang","infrastructure-as-code","llm","openrouter","opentofu","scaleway"],"license":"Apache-2.0","category":"ai-agents","readme_excerpt":"InfraFactory Scenario-driven OpenTofu generation and validation across AWS , GCP , and Scaleway — generated by an LLM, validated against deterministic mock servers in seconds, optionally deployed against real cloud APIs. Why this exists Hand-iterating IaC against real cloud APIs is slow, expensive, and flaky. LLMs are good at writing terraform but bad at debugging \"why didn't this apply\" — the error messages are layers deep and the feedback loop is 90 seconds per attempt against a real cloud. InfraFactory closes that loop. You write a scenario YAML declaring intent (resources + acceptance criteria). The pipeline generates HCL with an LLM, validates it through four layers (static → mock-deploy → real-deploy → destruction), and feeds structured failures back into the next iteration's prompt. Subsecond mock validation, no cloud credentials required. Demo CLI infrafactory run scenarios/training/gcp-pubsub.yaml against fakegcp : scenario YAML → 3-phase LLM generation → 3-layer validation → AI's first iteration fails (fakegcp rejects google project service ) → feedback fed into the next iteration's prompt → second iteration converges to Status: success . Demonstrates the feedback loop that makes the pipeline robust against partial mock coverage. Re-record with ./docs/demo/record.sh (requires make mocks-up + an LLM credential in env). Web UI — live run Actually runs gcp-pubsub through the UI: scenario page → click Run → Live page populates with iteration stages live as the AI tries ","default_branch":null,"files":null,"tree":[],"storefront":"/r/redscaresu","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/redscaresu/infrafactory/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}