provisioning/docs/src/ai/config-generation.md
2026-01-14 04:53:21 +00:00

1.6 KiB

Configuration Generation (typdialog-prov-gen)

Status: 🔴 Planned for Q2 2025

Overview

The Configuration Generator (typdialog-prov-gen) will provide template-based Nickel configuration generation with AI-powered customization.

Planned Features

Template Selection

  • Library of production-ready infrastructure templates
  • AI recommends templates based on requirements
  • Preview before generation

Customization via Natural Language

provisioning ai config-gen 
  --template "kubernetes-cluster" 
  --customize "Add Prometheus monitoring, increase replicas to 5, use us-east-1"

Multi-Provider Support

  • AWS, Hetzner, UpCloud, local infrastructure
  • Automatic provider-specific optimizations
  • Cost estimation across providers

Validation and Testing

  • Type-checking via Nickel before deployment
  • Dry-run execution for safety
  • Test data fixtures for verification

Architecture

Template Library
      ↓
Template Selection (AI + User)
      ↓
Customization Layer (NL → Nickel)
      ↓
Validation (Type + Runtime)
      ↓
Generated Configuration

Integration Points

  • typdialog web UI for template browsing
  • CLI for batch generation
  • AI service for customization suggestions
  • Nickel for type-safe validation

Status: 🔴 Planned Expected Release: Q2 2025 Priority: High (enables non-technical users to generate configs)