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

lakeFS CLI

$ lakectl Official Med Risk
Treeverse · AI & Media · Apache-2.0 · macos / linux / windows

lakeFS CLI (lakectl) brings Git-style branching, committing, merging, and object transfers (lakectl fs) to S3, GCS, and Azure Blob data lakes used in ML training and RAG pipelines. It ships as a fast static Go binary, though most listing commands emit text tables rather than universal --json.

FCRS-1.0 Score
80 /100
Good
Medium Confidence
Zero-Friction Install
brew install lakefs
CLI vs MCP Decision CLI Preferred vs MCP

lakectl fs streams large local training files directly to/from lakeFS object storage branches without routing binary payloads through MCP.

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

Fast Go CLI with LAKECTL_* env-var config and non-interactive flags, though most list/diff commands emit text tables instead of a global --json flag.

  • Supports LAKECTL_CREDENTIALS_* and LAKECTL_SERVER_ENDPOINT_URL env vars
  • No universal --json flag across repo list, branch list, or diff
Trust & Safety 19 / 25

Zero-copy branching enables safe isolated experiments and confirmation prompts guard deletes, though fs rm and branch delete lack --dry-run.

  • Zero-copy branch create isolates experiments from main
  • Destructive commands require confirmation unless -y is passed
Setup & Portability 14 / 15

Single static Go binary available via Homebrew (treeverse/lakeFS/lakefs) and GitHub Releases on macOS, Linux, and Windows.

  • Single static Go binary with zero runtime dependencies
Utility & Efficiency 13 / 15

Full Git-like data lake operations (repo, branch, commit, merge, diff, fs) in one binary.

  • Covers Git-style versioning and S3-compatible object transfers
Maintenance & Lineage 8 / 10

Official Treeverse repository (treeverse/lakeFS) under Apache-2.0.

  • Official treeverse/lakeFS repository under Apache-2.0
Docs & Verifiability 8 / 10

Comprehensive CLI reference at docs.lakefs.io/reference/cli.html with clear URI syntax.

  • Official CLI reference at docs.lakefs.io

Security, Auth & Guardrails

Auth Modes
Config File Env API Key
Credential Storage

Reads ~/.lakectl.yaml (via --config) or LAKECTL_CREDENTIALS_ACCESS_KEY_ID, LAKECTL_CREDENTIALS_SECRET_ACCESS_KEY, and LAKECTL_SERVER_ENDPOINT_URL env vars.

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

Apache-2.0 open-source CLI and core server; object storage (S3/GCS/Azure) and lakeFS Cloud/Enterprise tiers carry separate costs.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# lakeFS CLI (lakectl) Agent Rules
- Work on isolated feature branches (`lakectl branch create`) rather than committing directly to `main`.
- Configure credentials via `LAKECTL_*` env vars or `--config` instead of interactive `lakectl config`.
- Never pass `-y` to `lakectl branch delete` or `lakectl repo delete` without explicit user confirmation.

Agent-Ready Command Recipes

Safe Read-Only Queries

List lakeFS repositories and storage namespaces
lakectl repo list

Lists accessible lakeFS repositories and their default branches.

Diff uncommitted or branch changes
lakectl diff lakefs://my-repo/main lakefs://my-repo/exp-branch

Shows object-level additions, modifications, and deletions between two branches.

Controlled Writes & Previews

Create an isolated experiment branch
lakectl branch create lakefs://my-repo/exp-1 --source lakefs://my-repo/main

Creates a zero-copy branch from main without altering production data.

Strengths for Agents

  • + Fast single Go binary with Git-like zero-copy branching (lakectl branch create) for safe AI dataset experiments.
  • + Clean LAKECTL_* environment variable overrides for headless CI and agent sandboxes.

Caveats & Pitfalls

  • ! Most standard listing and diff subcommands output human-readable tables rather than JSON.
  • ! No global --dry-run flag on lakectl fs rm or lakectl branch delete.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI