Kamal
$ kamal Official High RiskKamal (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.
https://kamal-deploy.org/docs/installation/ kamal orchestrates local Docker builds and direct SSHKit execution against target hosts from the project repository.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Lacks --json output and --dry-run, relying on human-readable SSHKit log streams.
- No
--jsonoutput or--dry-run; relies on text log streams
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 lockand localkamal configpreview
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)
Eliminates Kubernetes complexity for simple multi-VM Docker deployments.
- Zero-downtime container rollout over plain SSH
Official basecamp/kamal repository actively maintained by 37signals.
- Official
basecamp/kamalunder MIT
Clear kamal-deploy.org documentation and built-in Thor --help.
- Docs at kamal-deploy.org
Security, Auth & Guardrails
Reads registry and app secrets from .kamal/secrets plus SSH keys from ~/.ssh/ or ssh-agent.
CLI is free (MIT); you pay only for your own VMs and container registry.
# 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
kamal config --quiet
Renders the merged config/deploy.yml configuration without touching remote servers.
kamal lock status && kamal app details
Checks whether a deploy lock is active and lists running app containers over SSH.
Strengths for Agents
- +
kamal lockprevents concurrent overlapping deployments safely. - +
kamal configlets agents verify merged YAML configuration offline. - + Simple SSH + Docker architecture requires no Kubernetes control plane.
Caveats & Pitfalls
- ! No
--jsonoutput flag; agents must parse unstructured SSHKit text output. - ! No
--dry-runmode forkamal deployorkamal setup.