Groq Shell Assistant is a conversational AI assistant that can interact with users and call external tools to perform tasks.
- Python 3.8+
- pip
git clone https://github.com/skapadia3214/groq-shell-assistant.gitcd groq-shell-assistant
pip install -r requirements.txtCreate a .env file in the root of the repository with the following contents:
GROQ_API_KEY=<your-groq-api-key>
TAVILY_API_KEY=<your-tavily-api-key> (optional)python main.pyYou can run the main.py with some optional arguments:
--model: Specify the Groq model to use (default:llama-3.1-70b-versatile)--messages: Specify initial messages in JSON format--current_dir: Specify the current working directory for the shell tool.
To interact with the assistant, simply type a message and press enter. The assistant will respond with a helpful response.
Contributions are welcome! To contribute, simply fork the repository, make your changes, and submit a pull request.
This project is licensed under the Apache License 2.0. See the LICENSE file for details.