One safe command line for your servers, databases, caches, queues, storage, clusters and VPNs. For you and your AI agent.
You may use one tool for servers, another for databases, another for storage and another for clusters. Each has its own logins, its own commands and its own way to break things. komando puts them behind one command that you and an AI agent (Claude Code, Codex, Cursor, Gemini CLI, your own bot) can both use safely:
- One list of everything you manage.
- Passwords stay in an encrypted vault. An AI agent never sees them.
- It reads unless you say otherwise. Dangerous commands stop, and production can be protected.
- Readable text for you, JSON for an agent.
- A record of everything that was done, and by whom.
- One file to install, with its own SSH, database and VPN clients built in.
On macOS or Linux, open a terminal and paste:
curl --proto '=https' --tlsv1.2 -fsSL https://raw.githubusercontent.com/sgnd/komando/main/install.sh | shOn Windows, download komando_windows_amd64.zip from
Releases and put komando.exe
in a folder on your PATH.
Check that it works:
komando versionOther ways to install, how to update, tab completion and how to remove komando: Install, update, remove.
You need a server's address and the user you log in as. komando
logs in like ssh: with your SSH key, a key file or a password.
komandoAt your terminal it lists the commands by what they work on:
komando: one safe command line for servers, databases, caches, queues, storage, clusters and VPNs
Nothing added yet: komando host add or komando import ssh-config
START host add · conn add · import ssh-config · list · test TARGET · guide install
SERVERS exec logs facts fs svc job docker pkg cron user reboot shell
DATA db cache queue storage
...
Already have servers in ~/.ssh/config? komando import ssh-config
brings them in.
komando host addTyped alone, it asks one question per line: a name, the address, the user,
how you log in, and whether the server is production. Enter takes the
default in brackets, ? explains the question. Then it shows the full
command it made, and asks before it runs:
$ komando host add web1 ubuntu@203.0.113.10 --protected
Run it? [y/N, d = --dry-run first]: y
Next time you can type that line yourself. A production server is protected: komando asks you before every change there.
komando test web1 # can komando reach it and log in?
komando facts web1 # what is this server?
komando logs web1 --unit nginx # read a service's logs
komando exec web1 -- uptime # run any command (words for the server go after --)Leave out an argument and komando asks for it, with a numbered list of your servers.
komando guide installThis teaches Claude Code, Codex, Cursor and Gemini CLI to use komando, for every project on this computer. Restart the agent, then ask in your own words: "Why is web1 slow?" For any other agent, see AGENTS.md.
When an agent wants to change something that needs your yes, komando shows you a window to allow it once. The agent never sees your passwords.
| Task | Commands |
|---|---|
| See and check everything at once | list, test, status |
| Keep your list of servers and how to log in | host, group, key, secret, login |
| Bring in what you already have, or move to another computer | import, export |
| Run commands on one or many servers | exec, job, shell |
| Read, edit and copy files | fs, upload, download, cp, sync |
| Check health and certificates | facts, recipe, cert |
| Services, logs, Docker, packages, users, schedules, restarts | svc, logs, docker, pkg, user, cron, reboot |
| Test the network, reach private servers | net, tunnel, --via |
| Reach things behind a VPN | vpn |
| Databases: query, back up, restore | db |
| Caches (Redis, Valkey, memcached) | cache |
| Message queues (Kafka, RabbitMQ, NATS, SQS, Pub/Sub) | queue |
| Files in buckets and on file servers | storage |
| Kubernetes and Docker Swarm | cluster |
| Container registries | registry |
| History, your own rules, a check of your setup | audit, policy, doctor |
Every task, step by step: the feature guide.
Help for one command: komando <command> --help.
- Commands like
rm -rf /,rebootorDROP TABLEstop until a person allows them. - On a protected server or conn, komando asks you before any change. An
agent or a script needs
--yes, which only you can approve. - Database queries and cache commands only read unless you add
--write. --dry-runshows what would happen and changes nothing.- If a server's identity (host key) changes, komando will not connect.
- Everything is recorded:
komando audit.
Nothing on its own. komando has no usage statistics, no crash reports and
no update check in the background. It connects only where you send it: the
servers, databases, caches, queues, storage, clusters, registries and VPNs
you added, the password manager or cloud you named in a password reference,
and AWS when you run komando login aws. komando update asks GitHub for
the newest release only when you run it.
Every error has a code and a hint with the next step. komando doctor
checks your setup. Common errors and fixes:
Troubleshooting.
Bug reports, ideas and pull requests are welcome: see CONTRIBUTING.md. Security problems: SECURITY.md. The rules komando follows: docs/design/principles.md.
komando is free and open source under the GNU Affero General Public License v3.0 (AGPL-3.0). You can use it for any purpose, at home or at work. If you change komando and give it to others, or let them use it over a network, you must share the source code of your version under the same license.
Want to build komando into a closed-source product, or does your company not allow AGPL software? A commercial license is available. Contributors sign a short Contributor License Agreement once.
Versions up to v0.2.0 were released under the MIT License and stay under it.
© Sugeng Agung Suganda