Skip to main content
Beta Feature - Code Optimizer is currently in beta. We’re actively improving the feature and welcome your feedback.

What is Code Optimizer?

Code Optimizer is an AI-powered static analyzer that helps platform engineers and DevOps teams maintain high-quality infrastructure-as-code without slowing down delivery. It automatically scans your HCL code for technical issues and best-practice violations, then generates AI-powered fixes and creates pull requests, all with one click.

Why Code Optimizer?

Platform engineers push IaC changes rapidly, but thorough code reviews are time-consuming and often deprioritized. Code Optimizer helps catch critical issues like:
  • Security risks - Unencrypted storage, open security groups, compliance violations
  • Code structure - Poorly structured modules, inconsistent naming, unused variables
  • Configuration gaps - Missing lifecycle rules, backend configurations, or state drift safeguards
  • Technical debt - Deprecated syntax, non-compliant patterns that break at scale
The result? Hidden technical debt that breaks at scale, inconsistent code quality across teams, and slow manual remediation.

How Code Optimizer Solves This

  1. Detecting Issues - Scans repositories using industry-standard tools (for example, TFLint and Checkov)
  2. AI-Powered Remediation - Generates context-aware code fixes using AI and creates pull requests on-demand
  3. Centralized Visibility - Track and manage all issues in one place

Key Features

  • Automated Scanning - Detect quality, security, and compliance issues across all repositories
  • AI-Powered Fixes - Generate context-aware code fixes with one click
  • Pull Request Workflow - Fixes are submitted as PRs for team review
  • Centralized View - Track, prioritize, and manage all issues in one place

How It Works

Workflow

  1. Scan - Trigger manual scans to detect issues
  2. Review - View issues with severity and context
  3. Fix - Generate AI-powered fixes for selected issues
  4. Merge - Review and merge PRs created by Code Optimizer
  5. Verify - Re-scan to confirm issues are resolved

Getting Started