LoweCLI is a command line tool that uses AI to help you with various tasks. It can assist with code debugging, command suggestions, document lookup and more. The tool is designed to be easy to use and integrate into your workflow.
- AI Powered error debugging.
- Fast documentation search for programming languages
- Get command suggestions based on your command history
- Use RAG to answer questions about the indexed knowledge base
- Python 3.13
- uv package management
- Langchain for LLM and vector store integration
- Gemini AI for llm inference
- ChromeDB for vector storage
- Setup
.envfile:
cp .env.example .env- Edit the
.envfile to configure the following environment variables:GEMINI_API_KEY: Your Gemini API key.KNOWLEDGE_BASE_URL: The URL of the knowledge base app (e.g.,http://localhost:4000if running locally).MODEL_NAME: The name of the model you want to use (e.g.,gemini-2.0-flash).MODEL_PROVIDER: The provider of the model you want to use (e.g.,google_genai).
- Install the
uvpackage manager: https://docs.astral.sh/uv/getting-started/installation/ - Change directory to lowe-cli:
cd lowe-cli- Install the package using
uv:
uv sync- Run the CLI tool:
bin/lowe-cliTo install globally, do the following steps:
Add the following to your .bashrc or .zshrc file to set up the environment:
export PATH=/PATH_TO_INSTALLATION/bin/:$PATHRun lowe-cli from the command line:
lowe-cliOur Contributors
