Skip to content

Configure AI and use it in a terminal

  1. Open the AI settings and select a provider preset, or enter the provider’s API base URL, path and model ID. Select the API format the endpoint implements: OpenAI Chat Completions, OpenAI Responses, or Anthropic Messages.
  2. Enter the provider key in the credential field and test the connection. If using Electerm’s hosted AI service, sign in at Electerm AI, get the key from your profile and use that service’s advertised endpoint.
  3. Open the AI side panel. Select a short, non-sensitive error message in a terminal and ask for an explanation. Check the response against the command and host that produced it. Text sent to a remote model goes to that provider.
  • Command suggestions and scripts produce text you can review before using it. Tell the model which shell you use and the output you need.
  • Bookmarks and themes can be drafted from a description. Open the AI tab in the corresponding editor, describe the host or colors and review the generated fields before saving. Add real credentials in the bookmark’s authentication form.
  • Agent mode can act in a terminal. Check the active session and proposed action before approving it. If chat works but tool use does not, compare the configured API format and provider’s tool support. A shared model name across providers does not guarantee the same tool behavior.
  • To connect an external assistant to Electerm, use the MCP widget and choose which capabilities it can access.