Skip to content

Chat-CLI is a terminal AI assistant that uses OpenAI Compatible API. It allows users to chat and run complex linux commands by describing the desired result.

License

Notifications You must be signed in to change notification settings

constLiakos/AI-Chat-CLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI-Chat-CLI: Terminal AI Assistant & Command Executor

License: MIT

AI-Chat-CLI is a terminal AI assistant that uses OpenAI Compatible API. It allows users to chat and run complex linux commands by describing the desired result.

  • 💬 Chat with AI - Chat with LLM models throught terminal
  • 🧠 Personas - Create Desired Persona based on the given system prompt.
  • Run Command - Run terminal commands by describing desired result.

Features

  • Utilizes the LLM model for natural language processing
  • Can provide information such as the current date, time, user's name, and AI assistant's name
  • Allows users to input commands for the AI assistant to execute
  • Provides execution results for commands

Setup

  1. Install the required dependencies by running pip install -r requirements.txt
  2. Create a .env file and set the environment variables, you can use as a reference the .env.example file
  3. Create a prompt file with the initial prompt for the AI assistant to respond to.
  4. Run ./install.sh to create an alias as ai.
  5. Exit terminal and open a new one

Usage

  1. Run ai <User Prompt (Optional)>
  2. Enter your input when prompted by the AI assistant
  3. To exit the program, type quit or exit when prompted for input

Functions

AI Assistant Chat

ai <User Prompt>

Execute Command - cmd

Describe a command you want to execute

ai cmd <User prompt>

Contributing

If you would like to contribute to this project, feel free to submit a pull request with your changes.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Chat-CLI is a terminal AI assistant that uses OpenAI Compatible API. It allows users to chat and run complex linux commands by describing the desired result.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •