Configuring AI Features

Last updated: April 2026

RockTerm includes an AI assistant that can help you interpret terminal output, troubleshoot errors, and navigate unfamiliar configuration syntax. The assistant supports two providers: Anthropic Claude and OpenAI GPT. You choose which one to use and supply your own API key. This article explains what the AI can do, how to enable it, and how to use it effectively.

What AI Can Do

The AI assistant acts as a knowledgeable advisor sitting alongside your terminal session. It can:

Enabling AI Features

AI features require you to configure a provider and API key before they can be used. To set them up:

  1. Open Edit → Preferences
  2. Navigate to the AI Assistant tab
  3. Select a Provider: Anthropic or OpenAI
  4. Select a Model from the provider's available list
  5. Enter your API key (see AI API Key Setup for details on obtaining one)
  6. Click Save

Once configured, open the AI Assistant panel from View → AI Assistant or with Ctrl+Shift+I.

How to Use the AI Assistant

The AI assistant is a persistent right-side dock panel. There are several ways to invoke it:

The panel's top bar shows the active provider and model so you always know which service your queries will hit. Type your question in the input field at the bottom and press Enter or click Submit.

Terminal Context

When you submit a question, RockTerm optionally includes recent terminal output as context so the model understands what you are asking about. There are two kinds of context:

Both are visible in the panel before you submit, so you can see exactly what will be sent. Every context block that gets sent to the model is also recorded in the chat history as a distinct block right before your question, so past conversations stay interpretable when you re-open them later.

Quick Prompts and Actions

The panel, its history, and the terminal session all stay alive together. You can type commands in the terminal and interact with the AI simultaneously, and chat history persists across session switches and theme changes until you clear it.

Example Prompts

Here are some practical prompts to get you started:

Error Interpretation

What does this error mean?
Why am I getting "Permission denied (publickey)" when connecting?
Explain the BGP notification message in the output above.

Command Assistance

How do I configure OSPF area 0 on this interface?
What's the command to show the ARP table on NX-OS?
How do I create a static route to 10.10.0.0/16 via 192.168.1.1 on IOS-XE?

Output Explanation

Explain this routing table.
Are there any problems visible in this BGP summary?
What do these syslog messages indicate?
Summarize the interface status output above.

Configuration Help

Generate a config for an HSRP group on VLAN 100 with priority 110.
Write an iptables rule to allow inbound TCP 443 and drop everything else.
Help me write a netplan config for a bonded interface with LACP.

Limitations

The AI assistant is a powerful tool, but it is important to understand its boundaries:

Still need help?

If you're still experiencing issues, contact us or email info@rockriverresearch.com.