Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Earthly

$ earthly Official Med Risk
Earthly Technologies · Code & DevOps · MPL-2.0 · macos / linux / windows

Runs reproducible, containerized build and test pipelines defined in Earthfile using BuildKit. Supports --ci to disable interactive prompts and force clean non-TTY output, though it requires a running Docker/BuildKit daemon and lacks structured JSON reporting.

FCRS-1.0 Score
79 /100
Good
Medium Confidence
Zero-Friction Install
brew install earthly
CLI vs MCP Decision CLI Only

Drives local BuildKit container builds directly from Earthfile definitions.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
✓ NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 18 / 25

Supports earthly ls, --ci, and NO_COLOR=1, though build output is streaming text without --json.

  • earthly ls enumerates targets without running them
  • --ci disables interactive prompts and fancy TTY rendering
Trust & Safety 20 / 25

Requires explicit --push opt-in before executing SAVE IMAGE --push or RUN --push side effects.

  • Push instructions are skipped by default unless --push is passed
Setup & Portability 12 / 15

Single Go binary, but requires a working Docker/BuildKit daemon which is unavailable in some sandboxes.

  • Hard dependency on Docker / BuildKit container daemon
Utility & Efficiency 13 / 15

Lets developers and agents reproduce exact CI container pipelines locally.

  • Combines Dockerfile isolation with Makefile-style targets
Maintenance & Lineage 8 / 10

Maintained by Earthly Technologies under MPL-2.0, though project focus has shifted around Lunar/cloud offerings.

  • Official earthly/earthly repository under MPL-2.0
Docs & Verifiability 8 / 10

Clear Earthfile syntax and CLI reference at docs.earthly.dev.

  • Documented CLI flags at docs.earthly.dev

Security, Auth & Guardrails

Auth Modes
No Auth Env API Key Config File
Credential Storage

Local builds use Docker credentials; optional Earthly Cloud / Satellites auth uses EARTHLY_TOKEN or ~/.earthly/config.yml.

Side Effects
Read-Only Local Write Remote Write
Cost & Quotas

MPL-2.0 open-source CLI is free; optional Earthly Satellites remote runners are usage-billed.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Earthly (earthly) Agent Rules
- Always pass `--ci` and set `NO_COLOR=1` in agent shells.
- Avoid passing `--push` unless explicitly authorized to push container images or run `+deploy` targets.

Agent-Ready Command Recipes

Safe Read-Only Queries

List targets declared in an Earthfile
earthly ls

Lists available build targets in the current Earthfile without executing any build steps.

Controlled Writes & Previews

Run a build target in headless CI mode
earthly --ci +test

Runs the +test target with --ci non-interactive logging and without pushing remote artifacts.

Strengths for Agents

  • + --push gating keeps remote side effects disabled during normal local test/build runs.
  • + earthly --ci forces clean non-interactive output.
  • + earthly ls discovers targets quickly before running builds.

Caveats & Pitfalls

  • ! Requires a running Docker/BuildKit daemon, failing in containerless sandboxes.
  • ! Lacks structured --json build summary output.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI