KHANH NGUYENENGINEERING · AI · PRODUCTS
EN

Products / Infra Companion

Infra Companion

A desktop SSH client for people who manage many servers: everything you expect from Termius, plus a local-first encrypted vault, end-to-end encrypted sync to storage you own, bulk execution, agentless monitoring, and AI help that can run against a local model.

v0.4.7 · Oct 2026 Electron · TypeScript · React · SQLite Source Download

The problem

The SSH clients I could buy wanted a cloud account just to sync my hosts, charged per user per month, had no monitoring or bulk execution, locked their AI features to their own cloud, and were closed source. For someone who logs into dozens of servers a day, each of those is a daily cost.

Infra Companion is for DevOps engineers, SREs and developers who live in SSH, and for small teams who want to share access without handing their credentials to a vendor.

Architecture

A pnpm monorepo. All connection, crypto and storage logic lives in packages/core, which must stay free of Electron imports. The Electron main process wires core services to the UI through typed IPC; the renderer is only a view.

Infra Companion: the React renderer talks to the Electron main process over typed IPC; main calls the core package, which reaches hosts over SSH, stores data in encrypted SQLite, syncs encrypted blobs, and calls LLMs. RendererReact 19 · xterm.js Electron mainIPC router · tray packages/core (no Electron) connection · SSH/SFTP/serialvault · sync · secrets monitor · bulk · jobsai · plugins · localdev SQLiteAES-256-GCM fields Remote hostsssh2 · no agent Sync backendfolder·Drive·WebDAV·S3 LLMsClaude·OpenAI·Ollama typed IPC SSH exec encrypted blob
Monitoring reads /proc and df over the same SSH channel every 3 seconds. Nothing is installed on the host.

Key decisions

Platform

Electron and TypeScript, not Tauri

The Node ecosystem for SSH, PTY and serial ports is mature. Tauri would have meant reaching feature parity two to three months later, a cost I chose not to pay for a smaller binary.

Layering

The renderer is only a view

SSH, crypto and storage live in core, so the same logic can later back a CLI, a server or a mobile client. Private keys are decrypted only in the main process.

Vault

Field-level encryption, not whole-database

Secrets are encrypted per field with AES-256-GCM under an argon2id-derived key. Hostnames and labels stay plaintext so search stays instant.

Sync

Last-write-wins per field, with tombstones

Only an encrypted blob ever leaves the machine, to a folder, Google Drive, WebDAV or S3 you control. Conflicts resolve per field without a conflict UI; deletes are tombstoned so they propagate.

AI

Suggest, never execute

The assistant inserts commands into the terminal for you to review; it never runs them. A sensitive-command guard errs toward asking.

Evidence

1,415Vitest tests
71versioned releases in the changelog
15replication-health rules, each with a runbook
8hosts in parallel for bulk execution

Monitoring history is kept as one-minute buckets for 48 hours and ten-minute buckets for 30 days. Runtimes downloaded by the local PHP/WordPress dev stack are verified against SHA-256 hashes pinned in the app. CI includes secret scanning.

Roadmap

  • An SFTP transfer queue, including remote-to-remote transfers.
  • Jumping between shell prompts in the terminal.
  • MCP servers, so the assistant can work with your infrastructure as context.
  • Mobile access through the desktop app acting as a gateway.
  • Later: a self-hosted team sync server with roles, SSO and shared terminals.

Working on a hard problem?

I’m happy to talk about retrieval, backend architecture, developer tools, or anything on this site.