Glide through your CLI — autonomous terminal operations via AI
A Rust-based autonomous agent running on Termux/Android. Send natural language commands from Telegram or Matrix — Clide interprets them with Gemini AI, executes them on your machine or over SSH, and replies with results. Zero dependencies. Single static binary.
Clide combines an AI agent, a credential manager, an SSH hub, and a YAML skills engine into a single static binary that compiles for Android ARM64 without OpenSSL.
Natural language → shell commands. Multi-step agentic loop with function calling, up to 20 tool-call steps per task. Gemini 2.5 Flash by default.
Control your machines from Element/Matrix (E2E-encrypted) or Telegram. Run both simultaneously. /stop cancels a running task mid-flight.
Attach a screenshot to your Telegram message. Clide embeds it as Gemini inline data — the model reads error text, UI elements, and terminal output directly.
Pure-Rust TLS via rustls. No OpenSSL, no Java, no Node.js, no Python. One static binary. Works on Android ARM64 with Termux out of the box.
secrets.yaml + optional GNU pass (GPG-encrypted) layer. All values available as ${KEY_NAME} in skills — substituted at execution time, never sent to AI.
age-encrypted backup of secrets and SSH host registry to a private GitHub Gist. One-liner restore on a new device: bash install.sh --restore
Named host registry (hosts.yaml). Reference servers as ${HOST_PROD_IP} in skills — real IPs never appear in chat or AI prompts. Tailscale-ready.
SQLite-backed conversation memory. The last 10 exchanges are injected as context in every agent task, giving Clide continuity across sessions.
Every string leaving the process — to Gemini, Telegram, Matrix, logs — is scanned and all known secret values are replaced with ***.
Every component compiles into a single binary. The agent loop, credential manager, skill runner, and messaging clients share a unified config with secrets injected at the last possible moment.
Skills are YAML workflows the AI invokes by name. They support parameter injection, secret substitution, timeouts, rollback commands, and confirmation gates.
run_skill vps_hardening vps_host=100.x.x.x vps_user=root${KEY_NAME} in skill commands — substituted after Gemini returns its output, never visible to the model.Full 18-step VPS hardening over SSH: system update, admin user, sshd, UFW, fail2ban, kernel sysctl, rkhunter, Lynis, Tailscale, rootless Docker, auditd.
Install Lynis via git clone and run a full security audit. Reports hardening index, warnings, and suggestions. Supports local and remote SSH mode.
Docker CE install, isolated internal bridge networks, seccomp + AppArmor hardening, Ollama LLM container, resource-capped bot template.
Full VPS status dashboard over Tailscale SSH: disk, memory, top processes, UFW, fail2ban, Docker, recent logins, rkhunter, Lynis score.
Drive AIworkbench headlessly. Auto-installs AIWB, injects API keys from secrets, runs make/tweak/debug pipeline, extracts code to ~/clide_exports/.
Multi-phase diagnostic for Docker containers, systemd services, or host. Captures logs, processes, resources, network — produces an AI-ready fault report.
Comprehensive snapshot: OS identity, hardware, software environment, network state, and a richly annotated file tree. Six modes.
Schedule routine maintenance: temp-file cleanup, log truncation, package-cache pruning, disk reporting. Supports install, remove, list, run.
The installer detects your architecture, downloads the pre-built binary, and walks you through Gemini + messaging setup interactively. All steps skippable.
Pre-built aarch64 binary from GitHub Releases. Falls back to cargo build --release if no binary available.
Asks for your Gemini API key, messaging platform, bot token or Matrix credentials. Every step skippable with Enter.
Copies the bundled skills library to ~/.clide/skills/ with chmod 600. Immediately available as named workflows.
clide botclideclide secret listClide controls a real shell. Every design decision reflects this. Maximum autonomy with minimum attack surface.
Complete replacement of Signal/signal-cli with Element/Matrix. Pure HTTP API via reqwest. No Java, no JVM, no patchelf. Initial sync skipping prevents history replay.
Complete rewrite from Python. Native Rust binary with zero interpreter. reqwest-based Gemini client. rusqlite bundled SQLite. Pure-Rust TLS — no OpenSSL.
Initial prototype with Signal messenger. Gemini Flash for command interpretation. Autonomous execution. SQLite memory. Safety guardrails. Termux/Android support.
Contributions welcome — bug fixes, new skills, platform improvements, docs. Drop by GitHub Discussions for questions, ideas, and show & tell.