A feature-rich terminal-based chat client for Claude AI using the Anthropic API.
CClient is an interactive terminal application that provides a sophisticated interface to chat with Claude, Anthropic's AI model. It features:
- Rich text formatting and colored output
- Support for multiple Claude models (3.5, Opus, Sonnet, Haiku)
- ASCII art welcome screens and headers
- System tool integration (bash commands and file editing)
- Markdown support in chat
- Interactive command system
- Python 3.8 or higher
- An Anthropic API key
# Clone the repository
git clone https://github.com/yourusername/cclient.git
# Install dependencies
pip install -r requirements.txt
# Set up your Anthropic API key
export ANTHROPIC_API_KEY='your-api-key-here'To start the chat client:
python cclient.py/help: Show help information/model: Switch between different Claude models/clear: Clear the current conversation/quit: Exit the application
This section was added by Claude to demonstrate its capabilities. Last updated: 2024-10-26 11:04
-
ASCII Art Headers
!figlet[Your Text Here] -
Rich Markdown Support
- Code blocks with syntax highlighting
- Tables
- Lists and headings
-
System Tools
- Execute bash commands directly from chat
- Edit files interactively
-
Multiple Model Support
- claude-3-5-sonnet-20241022
- claude-3-opus-20240229
- claude-3-sonnet-20240229
- claude-3-haiku-20240307
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.
Please make sure to:
- Update requirements.txt if adding new dependencies
- Test your changes thoroughly
- Follow the existing code style