AI Settings
Configure AI providers, models, and interaction modes to customize your AI experience.
Prerequisites
Before configuring AI settings, make sure you have:
- A Chaterm installation (version with AI support)
- Use the built-in model or an API key or credentials for at least one model provider (see Model Configuration for supported providers)
- Network access to your chosen provider's API endpoint (or a local Ollama instance)
Creating a New AI Dialog
Each AI dialog is an independent session with its own mode, model, and context. You can run multiple dialogs simultaneously.
- Click "AI" in the left menu to open the AI dialog panel.
- Click the "New Chat" button at the top of the panel.
- Choose an interaction mode:
- Command — AI generates commands for the active terminal
- Agent — AI autonomously executes multi-step tasks
- Select a model from the dropdown list. Only models you have configured will appear.
- (Agent mode only) Type
@in the input box to select one or more target hosts. - Type your message and press Enter to begin.
TIP
You can have multiple dialogs open at once, each using a different mode or model. This is useful for comparing model responses or working on parallel tasks.
For a detailed explanation of each mode, see AI Dialogs.
Configuring a Model Provider
To use AI features, you need at least one configured model provider.
- Open Settings by clicking the gear icon in the top-right corner.
- Navigate to the "Models" tab in the left menu.
- Click "Add Model".
- Select an API provider from the list:
- LiteLLM — Unified interface supporting multiple providers
- OpenAI — OpenAI-compatible API
- Bedrock — Amazon Bedrock (enterprise)
- Anthropic — Anthropic API
- DeepSeek — DeepSeek API
- Ollama — Locally deployed models
- Fill in the required authentication fields for your chosen provider (API key, endpoint URL, region, etc.).
- Enter or select a model name.
- Click "Test Connection" to verify the configuration.
- If the test succeeds, click "Save".
WARNING
Keep your API keys secure. If you suspect a key has been compromised, rotate it immediately with your provider and update the configuration in Chaterm.
For provider-specific field reference tables and detailed setup instructions, see Model Configuration.
Exporting a Chat
You can export any conversation for sharing or archival.
- Open the conversation you want to export.
- Click the export button (typically in the top-right area of the dialog panel).
- Choose the export format and save location.
Exported chats preserve the full conversation including AI responses, commands, and execution output.
Related Documentation
- AI Dialogs — Understand Chat, Command, and Agent modes in depth
- Model Configuration — Provider-specific setup guides and field references
- AI Preferences — Configure reasoning depth, auto-execution, security, and proxy settings