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

Kamal

$ kamal Official High Risk
37signals · Cloud & Infra · MIT · macos / linux

Kamal (kamal) deploys containerized web apps to bare-metal or cloud VMs over SSH using config/deploy.yml and kamal-proxy, providing kamal config rendered manifests, kamal details inspection, and kamal lock concurrency guards.

FCRS-1.0 Score
72 /100
Usable w/ Caveats
Medium Confidence
Zero-Friction Install
https://kamal-deploy.org/docs/installation/
CLI vs MCP Decision CLI Preferred vs MCP

kamal orchestrates local Docker builds and direct SSHKit execution against target hosts from the project repository.

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 15 / 25

Lacks --json output and --dry-run, relying on human-readable SSHKit log streams.

  • No --json output or --dry-run; relies on text log streams
Trust & Safety 18 / 25

Built-in kamal lock prevents concurrent deploy races and kamal config renders resolved YAML locally, though SSH root/Docker access carries high blast radius.

  • Deploy locking via kamal lock and local kamal config preview
Setup & Portability 11 / 15

Requires Ruby (gem install kamal) or Docker alias wrapper on macOS/Linux, plus local Docker and SSH access.

  • Distributed as a Ruby gem (gem install kamal)
Utility & Efficiency 12 / 15

Eliminates Kubernetes complexity for simple multi-VM Docker deployments.

  • Zero-downtime container rollout over plain SSH
Maintenance & Lineage 9 / 10

Official basecamp/kamal repository actively maintained by 37signals.

  • Official basecamp/kamal under MIT
Docs & Verifiability 7 / 10

Clear kamal-deploy.org documentation and built-in Thor --help.

  • Docs at kamal-deploy.org

Security, Auth & Guardrails

Auth Modes
Config File Env API Key
Credential Storage

Reads registry and app secrets from .kamal/secrets plus SSH keys from ~/.ssh/ or ssh-agent.

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

CLI is free (MIT); you pay only for your own VMs and container registry.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Kamal Agent Rules
- Run `kamal config` and `kamal lock status` before initiating any deploy.
- Never echo `.kamal/secrets` or `kamal secrets print` output.
- Require explicit user approval before running `kamal deploy`, `kamal rollback`, or `kamal remove`.

Agent-Ready Command Recipes

Safe Read-Only Queries

Print resolved Kamal deployment configuration
kamal config --quiet

Renders the merged config/deploy.yml configuration without touching remote servers.

Inspect running containers and lock status
kamal lock status && kamal app details

Checks whether a deploy lock is active and lists running app containers over SSH.

Strengths for Agents

  • + kamal lock prevents concurrent overlapping deployments safely.
  • + kamal config lets agents verify merged YAML configuration offline.
  • + Simple SSH + Docker architecture requires no Kubernetes control plane.

Caveats & Pitfalls

  • ! No --json output flag; agents must parse unstructured SSHKit text output.
  • ! No --dry-run mode for kamal deploy or kamal setup.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI