OpsTerm is a local AI terminal assistant that works anywhere — any server, any AI provider, zero complex setup. SSH, chat, automate — all from a single 50KB file.
From quick AI queries to complex multi-hop SSH workflows — all from your terminal, with any AI provider you choose.
Ask anything — commands, explanations, scripts. Works with any OpenAI-compatible provider including DeepSeek, Ollama, and OpenRouter.
SSH by server name, not IP. Fuzzy matching, multi-hop via --via, YAML config. Import from ~/.ssh/config automatically.
AI REPL during active SSH. Ask questions, run !commands on server. No install needed — opsterm connect or Ctrl+B escape.
Multi-step YAML automation: SSH to SCP to local commands. Deploy apps, run diagnostics with one command.
cmd | opsterm "analyze" — pipe command output for AI analysis. Detect errors, get insights, explain complex output.
Upload/download files by server name: opsterm scp file.txt server:/path. No more scp syntax headaches.
Auto-compress command output 60-95% before AI processing. Save tokens, get faster responses. Zero config if installed.
Bash + Zsh auto-complete for servers, workflows, and subcommands. Type less, do more.
AES-128 + PBKDF2 encrypted credential store. Your API keys never leave your machine.
SQLite-backed history with search. Revisit, explain, or re-run past commands.
Choose any AI provider — OpenAI, DeepSeek, Ollama, OpenRouter, or custom.
Jump through bastion hosts: opsterm ssh internal --via bastion. ProxyJump built-in.
A single curl command. No pip, no npm, no package managers. Just one 50KB file that runs anywhere Python 3 does.
# Download latest release — zero deps, ~50KB $ curl -L https://raw.githubusercontent.com/edsuwarna/opsterm/main/LATEST -o /tmp/opsterm_latest $ export OPSTERM_VER=$(cat /tmp/opsterm_latest) $ curl -L "https://raw.githubusercontent.com/edsuwarna/opsterm/${OPSTERM_VER}/bin/opsterm" -o ~/.local/bin/opsterm $ chmod +x ~/.local/bin/opsterm $ opsterm provider add default --api-key 'sk-...'
OpsTerm is designed for DevOps engineers who need a tool that just works — anywhere, with anything.
~/.opsterm/opsterm updateopsterm config validateEverything you need to master OpsTerm — from quick start to advanced configuration.
One command, zero dependencies, any AI provider. Start using OpsTerm in 10 seconds.