Earthly (code review): Automate engineering standards enforcement across every tool, team, and deployment. Earthly offers two main products: Lunar and Earthfiles. Lunar provides "engineering guardrails for the AI era" by transforming engineering standards, postmortems, wikis, and compliance requirements into automatically enforced rules. Key capabilities: Automated enforcement of engineering standards (guardrails), Integration with PRs and AI coding agents (e.g., Claude Code, Codex, Cursor), Pre-built guardrails for quality, DevEx, operational readiness, security, and compliance, Executive dashboards for standards coverage and adherence visibility, Deterministic feedback in the AI's dev-test loop. Earthly is paid-only, with most plans including a trial period. Buyers most often compare Earthly against Trunk, CodeClimate, SonarQube.
TL;DR - Earthly
Automates enforcement of engineering standards and compliance in PRs and AI agents.
Provides fast, consistent, and portable software builds with a Dockerfile-like syntax.
Offers real-time visibility into standards adherence and reduces build times significantly.
Pricing: Paid only
Best for: Enterprises & pros
Pros & Cons
Pros
Ensures consistent application of engineering standards and compliance automatically.
Significantly reduces build times and improves build reliability.
Provides clear visibility into standards adherence across the organization.
Integrates seamlessly with existing CI/CD tools and complements policy tools like OPA.
Empowers developers with instant feedback and proactive guidance, reducing last-minute blockers.
Cons
Requires initial setup to define and codify standards.
The learning curve for Earthfiles syntax, though familiar, might exist for new users.
Key Features
Automated enforcement of engineering standards (guardrails)Integration with PRs and AI coding agents (e.g., Claude Code, Codex, Cursor)Pre-built guardrails for quality, DevEx, operational readiness, security, and complianceExecutive dashboards for standards coverage and adherence visibilityDeterministic feedback in the AI's dev-test loopSelf-contained, consistent, and portable builds with EarthfilesAutomatic parallelization and caching of build stepsCompatibility with various CI/CD platforms (GitHub Actions, GitLab CI/CD, Jenkins, etc.)
Pricing
Paid
Earthly offers paid plans. Visit their website for current pricing details.
Earthly offers two main products: Lunar and Earthfiles. Lunar provides "engineering guardrails for the AI era" by transforming engineering standards, postmortems, wikis, and compliance requirements into automatically enforced rules. It integrates directly into PRs and AI coding agents, ensuring consistent application of standards across all deployments and preventing critical requirements from being lost. Lunar is designed for platform engineering, security, and engineering leaders to gain real-time visibility and control over how code is built, tested, and deployed, effectively acting as "production monitoring for the SDLC."
Earthfiles, the open-source foundation of Earthly, simplifies and accelerates software builds. It offers a Dockerfile-like syntax for creating self-contained, consistent, portable, and language-agnostic builds. Earthfiles automatically parallelizes steps, caches unchanged steps, and enables developers to execute complex CI pipelines locally or remotely. It's particularly beneficial for monorepos and polyrepos, allowing for reuse of builds, recipes, artifacts, and images across different locations, leading to significantly faster and more reliable build processes.
How does Earthly Lunar integrate with existing policy enforcement tools like OPA?
Earthly Lunar is designed to complement existing policy tools such as OPA. It supercharges your current setup by providing a platform for defining standards as code and enforcing them across various tools and teams, enhancing the capabilities of your existing policy infrastructure.
What specific AI coding agents does Earthly Lunar support for enforcing guardrails?
Earthly Lunar enforces hard rules through deterministic feedback within the AI's dev-test loop. It is compatible with AI coding agents such as Claude Code, Codex, and Cursor, ensuring that AI-generated code adheres to defined standards.
How does Earthly Lunar help prevent incidents related to code and configuration changes, especially those identified in post-mortems?
Earthly Lunar enables the enforcement of new engineering behaviors at scale by turning post-mortem action items into automated guardrails. This allows for the proactive surfacing of issues and guides developers and AI agents to follow standards, preventing recurring incidents.
Can Earthly Lunar be used to enforce standards gradually, rather than implementing strict blocking from day one?
Yes, Earthly Lunar supports gradual enforcement. You can start by gaining visibility into standards adherence, then introduce scoring, and finally implement blocking mechanisms, allowing teams to adapt willingly to new policies.
What is the primary difference between Earthly Lunar and Earthfiles, and how do they relate to each other?
Earthfiles is an open-source build syntax focused on fast, consistent, and portable builds, similar to Dockerfile and Makefile. Earthly Lunar, on the other hand, is a platform built upon the foundation of Earthfiles, designed to turn engineering standards into self-enforcing guardrails across the entire SDLC, providing visibility and automated enforcement beyond just builds.