Skip to content

claude-ai-toolkit

Python

Python wrapper and CLI for Anthropic Claude.

A lightweight Python API wrapper and CLI for Anthropic's Claude language models. Supports Claude 3.5 Sonnet and Claude 3 Opus/Sonnet/Haiku for chatbots, text generation, and image analysis.

python claude anthropic cli

[features]

Conversational AI

Interactive chatbots and assistants

Image Captioning

Generate descriptions from images

Text Generation

Contextually relevant text from prompts

Lightweight

Only requires requests package

[install]

git clone https://github.com/RMNCLDYO/claude-ai-toolkit.git
cd claude-ai-toolkit
pip install -r requirements.txt

[usage]

# CLI
python cli.py --chat
python cli.py --text --prompt "Write a story"
python cli.py --vision --prompt "Describe" --image image.jpg

# Python
from claude import Chat, Text, Vision
Chat().run()

[requirements]

[license]

This project is licensed under the MIT license.

[links]