A simple CLI program, slcc, to chat with multiple LLM providers
(e.g., ChatGPT and Claude) through a unified interface.
- Support for ChatGPT (OpenAI) and Claude (Anthropic)
- Conversation history maintained throughout the session
Have an API key for ChatGPT or Claude and that the keys are exported
as environment variables OPENAI_API_KEY or ANTHROPIC_API_KEYi.
-
Install
pipxif you don't have it. For more info, refer to its documentation -
Install directly from GitHub:
pipx install git+https://github.com/quietlyecho/simple-llm-chat-cli.git- The
slcccommand is now available globally:
slcc --provider claudeslcc -p claude
# or below
slcc --provider claudeSpecify a custom model:
slcc --provider chatgpt --model gpt-4o
slcc --provider claude --model claude-sonnet-4Adjust maximum tokens:
slcc --provider chatgpt --max-tokens 2048Adjust temperature (randomness):
slcc --provider chatgpt --temperature 0.7
slcc --provider chatgpt --temperature 1.0 # More creative
slcc --provider claude --temperature 0.2 # More deterministicslcc -hOptions:
-p, --provider(required): Choose provider (chatgptorclaude)-m, --model(optional): Specify model name (uses provider default if not specified)--max-tokens(optional): Maximum tokens in response (default: 1024)--temperature(optional): Sampling temperature 0.0-1.0, higher is more random (default: 0.5)
- Type your prompts and press Enter to send
- Type
exitorquitto end the conversation - Press Ctrl+C to interrupt the conversation