Koru adds in-language Fly.io deployment verbs
Cognition-backed programming language Koru released @korulang/fly, allowing developers to embed Fly.io deployment configs directly inside application source files and trigger deploys through compiler verbs. The integration compiles AST declarations directly into Fly TOML and drives the deployment toolchain while transitively auditing system dependencies.
Treating infrastructure-as-code not as separate YAML files, but as compile-time AST declarations inside the host language, is a compelling push toward truly unified software artifacts. Koru illustrates how collapsing deployment definitions and toolchain checks into the language syntax eliminates configuration drift and pipeline glue code.
- –Compile-time AST extraction: Rather than maintaining a separate fly.toml, Koru's compiler inspects koru/fly:config AST nodes at build time and delegates execution directly to flyctl.
- –Transitive dependency auditing: Toolchain and system requirements are declared and verified transitively across imports via compiler checks, eliminating out-of-band environment setup.
- –Lean production efficiency: Hosting the entire ~285 MB korulang.org documentation and runtime on a 256 MB Fly machine for ~$0.07/day highlights the performance upside of pairing custom static memory ceilings with lightweight musl binaries.
- –Agent-friendly architectures: For AI coding agents like Cognition's Devin, keeping runtime code, cloud manifests, and system requirements within a single typed file vastly simplifies code generation and reduces context fragmentation.
DISCOVERED
2h ago
2026-11-26
PUBLISHED
2h ago
2026-11-26
RELEVANCE
AUTHOR
korulang
