LLM CLI

A simple command-line tool to interact with AI models using OpenRouter's API. It provides a minimal chat interface, stream-based responses, and basic conversation history management.

Key Features

Setup

  1. Clone the repo and install dependencies:
    git clone https://github.com/lunarzack/llm-cli.git
    pip install requests python-dotenv
  2. Set up your OpenRouter API key in a `.env` file or hardcode it.

Usage

Run the script with:

python llm-cli.py
Type your message, and the AI responds in real-time. Type exit to quit.

Configuration

Code Highlights

Acknowledgements

Thanks to OpenRouter for the API and DeepSeek AI for the language models.