AI Terminal Assistant

AI helps you work smarter in the terminal

Overview

HejShell's AI Terminal Assistant is a powerful feature that recommends commands in natural language, analyzes errors, and helps with complex tasks.

  • Natural language command search and recommendations
  • Error message analysis and solution suggestions
  • Automatic shell script generation
  • Log file analysis and summarization
  • System status diagnostics

How to Use

The AI assistant can be accessed directly from the terminal screen.

  1. Click the AI button (purple/blue gradient) at the bottom-right of the terminal
  2. Describe what you want in natural language in the AI panel that opens on the right
  3. Review and execute the AI-suggested command
  4. Use the chat interface to ask follow-up questions if needed

Ask the AI

You can ask the AI in the following ways in the AI panel.

Check current directory size

Recommends a command to check disk usage

Find errors in nginx log

Generates a command to search for errors in log files

Fix this error: [error message]

Analyzes the error message and suggests solutions

Create a backup script

Generates a shell script based on your requirements

Token System

AI features are provided on a token basis. Tokens automatically reset every 3 hours.

Basic

50,000

/3 hours

Pro

100,000

/3 hours

Team

300,000

/3 hours

How Tokens Work

  1. Each AI request consumes tokens based on input and output length
  2. Tokens automatically reset to maximum every 3 hours
  3. Check remaining tokens in Settings > AI Tokens
  4. If you run out of tokens, wait for the next reset or upgrade your plan

Use Cases

Command Search

When you don't remember complex options, describe what you need and get the exact command

Error Resolution

Paste an error message and get analysis with solution suggestions

Script Writing

Describe the automation you want and get a shell script generated

Log Analysis

Extract important information from large logs and get summaries

💡 Tips for Effective Use

  • The more specific your request, the more accurate the response
  • Copy and paste the entire error message
  • Use previous conversation context for follow-up questions
  • Break complex tasks into smaller steps

Request AI Features

Have a feature you'd like to see in the AI assistant? Feel free to contact us. dev@hej.ai.kr

Hej Shell | Hej Shell