// the find
klothoplatform/klotho
Klotho - write AWS applications at lightning speed
Klotho is an Infrastructure-from-Code tool that transforms annotated application code into Pulumi-generated cloud infrastructure. You add comments like `@klotho::expose` and `@klotho::persist` to your code, and it outputs a deployable cloud application targeting AWS Lambda, DynamoDB, API Gateway, etc. Aimed at teams that want cloud deployment without writing IaC by hand.
The engine underneath is genuinely non-trivial — it's a graph-based constraint solver with path expansion, operational evaluation, and a reconciler, not a simple template substitution system. IaC templates use tree-sitter S-expression queries (the `.scm` files in `pkg/infra/iac/`) to parse and rewrite code, which is far more reliable than regex-based approaches. The output is readable Pulumi TypeScript that you can inspect and modify — it's not a black box deployment that hides what it's doing. The separation of concerns into discrete binaries (`engine`, `iac`, `kb`) means you can use parts of the pipeline independently.
Language support is heavily front-loaded toward JS/TS — Go is 'early access', Python is partial, C# and Java aren't there. The topics list Azure, GCP, and Kubernetes but the README calls them 'in-development'; AWS is the only real target. The mandatory login step for telemetry is a problem for teams with security requirements or air-gapped environments — asking users to authenticate before using an open-source CLI is a trust tax. Biggest long-term risk: the annotation approach (`@klotho::expose` scattered through your source) is vendor lock-in at the code level, not just the IaC layer, and the 39 forks on 1,143 stars suggests the codebase hasn't attracted meaningful outside contribution, which matters a lot for a tool you're betting your deployment on.