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.
- 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
- Install the required dependencies by running
pip install -r requirements.txt - Create a
.envfile and set the environment variables, you can use as a reference the.env.examplefile - Create a prompt file with the initial prompt for the AI assistant to respond to.
- Run ./install.sh to create an alias as ai.
- Exit terminal and open a new one
- Run
ai <User Prompt (Optional)> - Enter your input when prompted by the AI assistant
- To exit the program, type
quitorexitwhen prompted for input
ai <User Prompt>Describe a command you want to execute
ai cmd <User prompt>If you would like to contribute to this project, feel free to submit a pull request with your changes.
This project is licensed under the MIT License - see the LICENSE file for details.