Skip to main content

💬 Kel

Install with pip PyPI - Version

Kel is your AI assistant in your CLI.

Kel கேள் means ask in Tamil.

🎥 Demo

Kel-Demo

✅ Features

  • Free and Open Source
  • Bring your own API keys
  • Supports multiple Large Language Models (LLMs) like GPT-4, Claude, ollama2, and Google.
  • Supports OpenAI assistants to chat with your documents
  • Customizable

🧩 Installation

Pre-requisites

  • Python 3.6 or higher
  • pip3
  • API keys for OpenAI and other LLMs

⛳ Steps

python3 -m pip install --user pipx
python3 -m pipx ensurepath
pipx install kel-cli

# copy the default config file to current user's home directory
curl -O https://raw.githubusercontent.com/QAInsights/kel/main/config.toml
mkdir -p ~/.kel
mv config.toml ~/.kel/config.toml 

Open the config file to customize the settings.

Update the LLM API keys in the OS environment variables.

Usage

kel -v
kel -h
kel "git command to rebase"
kel "command to get active connections in linux"
kel "What was the population of India in 1990?"

> I'm sorry, I can only assist with questions related to software engineering and command line tools. 
I am unable to provide information on the population of India in 1990.

Now change the prompt and ask the same question.

kel "What was the population of India in 1990?" -p "You are a demography expert" 

> The population of India in 1990 was around 874 million people.

Now change the LLM and ask the same question.

kel "What was the population of India in 1990?" -p "You are a demography expert" -c ollama -m llama2 

To view the config file details, run the following command.

kel -s openai

🧰 Configuration

Kel can be configured using a config file. It is a TOML file and supports vast number of options.

The default config file is ~/.kel/config.toml or ~/.config/kel/config.toml or KEL_CONFIG_FILE environment variable.

⚙️ Defaults

  • OpenAI's gpt-3.5-turbo-1106
  • Display stats
  • Default prompt focuses on developers
  • Copies the answer to clipboard
  • and more...

💰 Support

If you like this project, please consider donating to the following addresses.

Metadata

Release files for kel-cli 0.0.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kel-cli 0.0.13
File Size Uploaded Provenance Actions
kel_cli-0.0.13.tar.gz 31.8 kB Without provenance Details for kel_cli-0.0.13.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for kel-cli 0.0.13
File Interpreter ABI Platform Actions
kel_cli-0.0.13-py3-none-any.whl Python 3 none any Details for kel_cli-0.0.13-py3-none-any.whl

Total release size: 51.9 kB

Release files / kel_cli-0.0.13.tar.gz

Download URL kel_cli-0.0.13.tar.gz
Size 31.8 kB
Tags Source
SHA-256 checksum
How to use checksums
442b8da3c3eca21fc9ae14936b83fe07c5a89be03fa2f950a3b4ba9ac836a43b
BLAKE2b-256 checksum
How to use checksums
f8e295bf5c5466b8f0578a707f29d4ad6164a5c9b7eece5ef4e3de18c7d56cfa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.11

Release files / kel_cli-0.0.13-py3-none-any.whl

Download URL kel_cli-0.0.13-py3-none-any.whl
Size 20.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6348c0739ce1665aedb826520f5219f86bf4d76eb0b14b7acb9534c304f372c2
BLAKE2b-256 checksum
How to use checksums
382cdb3062f77b69d4299f5731ee6cde7eeb722d003d62f3c0707b852a3549ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.11

Security for kel-cli 0.0.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page