AI & automation

AI assistance and voice

Set up your preferred AI provider, ask questions in plain English, and use voice dictation safely.

3 min read User guide

How AI help works in LeapTerm

LeapTerm's AI tools are completely optional and designed to help you explain terminal output, draft commands, or set up connections without memorizing technical syntax. You can also use supported voice features to speak your questions out loud or have responses read back to you.

Asking the AI companion for help from the bottom composer bar

When you type in the terminal or omnibox, LeapTerm always checks your local command history and built-in completions first. It only sends a question to an AI model when you ask the AI Companion or enable AI suggestions. Remember that when you send a prompt to an external AI provider, that provider processes the text you send—so always choose a provider you trust.

Set up your AI connection

  1. Open Settings → AI to view your connection options.
  2. If you want to use your own API key or a local model server on your computer (and those options are hidden), first turn on I'm Advanced user in Settings → Help & Diagnostics.
  3. Under Inference source, choose LeapTerm account (when signed in) or My API key. If you choose My API key, pick your Server preset (such as Ollama, LM Studio, or a cloud provider), enter your API key if needed, and choose a Model.
  4. Click Discover models to load the available models from your provider, then click Verify inference to run a quick test message.
  5. Click Save settings, then try a simple test question before using it on an important server.

AI settings showing model configuration and auto-approval countdown options

Your API key is stored safely inside your workspace's encrypted credential vault rather than in plain text settings files. If you use a local server like Ollama or LM Studio on your own machine, you can select Authentication → None so no external key is sent.

Using coding agents installed on your server

You can also select Installed host coding agent as your AI source when connecting to a server that already has a supported coding tool installed:

  • Currently, LeapTerm supports Claude Code and Gemini CLI (requiring Gemini CLI 0.21.3 on the connected server), while Codex and OpenCode are marked inference unavailable in the selector.
  • Even if a tool's built-in selector integration is unavailable, you can still run any command-line coding tool directly inside an ordinary SSH terminal session.

Voice dictation and read-aloud settings

To speak commands or listen to responses:

  1. Open Voice settings (or Voice & STT Settings… from the terminal's voice menu).
  2. Select Device / Browser Speech when supported by your computer, phone, or browser, and pick your preferred voice.
  3. Click Save Voice Settings (unlocking your vault first if prompted).

Only grant microphone access when you want to use voice input, and turn the microphone off when you finish. Because your operating system or browser may use an online speech service to transcribe audio, avoid speaking passwords or secret keys out loud.

Always review suggested commands

AI models can occasionally misread a situation or suggest the wrong file path. Take a moment to read any suggested command before running it—and check out agents and supervised tasks and connected assistants to learn how to supervise multi-step tasks safely.

Features vary by release, platform and connection route. Check availability before planning your setup.

Search the guides

Search runs in your browser.

Your search stays here. No account or external search service.