Welcome to the OpsTerm documentation! Here you'll understand how OpsTerm works, the technologies it uses, and why it's designed the way it is.
| Document | Description | Also available in |
|---|---|---|
| ๐ Architecture & System Design | How OpsTerm works โ the flow from user typing a command to execution | ๐ฎ๐ฉ Bahasa Indonesia |
| ๐ง Tech Stack | Technologies used โ languages, libraries, protocols, formats | ๐ฎ๐ฉ Bahasa Indonesia |
| ๐ค Design Decisions | Why it's designed this way โ rationale behind every technical decision | ๐ฎ๐ฉ Bahasa Indonesia |
| ๐ฏ Features | All features โ complete list with usage examples and use-case matrix | ๐ฎ๐ฉ Bahasa Indonesia |
| ๐ Architecture Diagram | Excalidraw diagram โ open at excalidraw.com | โ |
| ๐ผ๏ธ Architecture Diagram (PNG) | Image version โ view directly without opening Excalidraw | โ |
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ USER LAPTOP โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ $ ai ssh vps-utama โ โ
โ โ $ ai "how to check disk" โ โ
โ โ $ docker ps | ai "error?" โ โ
โ โโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ โ
โ โโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ OpsTerm (bin/ai) โ โ
โ โ โโโโโโโโโโโ โโโโโโโโโโ โโโโโโโโโโ โโโโโโโโ โ โ
โ โ โ AI โ โ SSH โ โ SCP โ โVault โ โ โ
โ โ โ Client โ โ Runner โ โ Transferโ โ โ โ โ
โ โ โโโโโโฌโโโโโ โโโโโฌโโโโโ โโโโโฌโโโโโ โโโโฌโโโโ โ โ
โ โโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโผโโโโโโโโ โ
โ โ โ โ โ โ
โโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโผโโโโโโโโโโโโ
โ โ โ โ
โโโโโโโผโโโ โโโโโโผโโโโ โโโโโผโโโโโ โโโโผโโโโโโโโโ
โAI API โ โSSH โ โServer โ โLocal File โ
โProviderโ โ Server โ โFilesys โ โSystem โ
โโโโโโโโโโ โโโโโโโโโโ โโโโโโโโโโ โโโโโโโโโโโโโโ
Core principle: OpsTerm runs on your local laptop. The AI lives in your terminal, not on the remote server. So when you SSH into any server, the AI is still available.
~/opsterm/
โโโ bin/
โ โโโ ai โ Main script (single file, ~1500 lines)
โโโ completions/
โ โโโ opsterm.bash โ Bash tab completion
โ โโโ opsterm.zsh โ Zsh tab completion
โโโ zsh/
โ โโโ opsterm.plugin.zsh โ Zsh shell integration plugin
โโโ docs/ โ This documentation
โ โโโ en/ โ English documentation
โ โ โโโ README.md โ Index
โ โ โโโ architecture.md โ Architecture & system design
โ โ โโโ tech-stack.md โ Tech stack details
โ โ โโโ design-decisions.mdโ Design rationale
โ โ โโโ features.md โ All features
โ โโโ id/ โ Indonesian documentation
โ โ โโโ README.md โ Index
โ โ โโโ architecture.md โ Arsitektur & system design
โ โ โโโ tech-stack.md โ Tech stack
โ โ โโโ design-decisions.mdโ Design decisions
โ โ โโโ features.md โ Fitur lengkap
โ โโโ ops-term-architecture.excalidraw โ Excalidraw diagram
โ โโโ ops-term-architecture.png โ PNG architecture diagram
โโโ setup.sh โ Install script
โโโ README.md โ English README
โโโ README.id.md โ Indonesian README
โโโ .gitignore
User config (gitignored, stored at ~/.ai-workflows/):
~/.ai-workflows/
โโโ config.yaml โ AI provider settings
โโโ servers.yaml โ Server list + proxy config
โโโ workflows.yaml โ Workflow definitions
โโโ vault.json โ Encrypted credentials
โโโ history.db โ SQLite history
โโโ last_*.txt โ Last command output
pip install needed (except vault encryption)bin/ai can be copied to any server and run immediately