{"repo":"cortesi/misanthropy","free":true,"listed":false,"github":"https://github.com/cortesi/misanthropy","clone":"git clone https://github.com/cortesi/misanthropy.git","description":"Rust bindings to the Anthropic API","language":"Rust","stars":34,"topics":["ai","anthropic","anthropic-ai","claude","rust"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Misanthropy Misanthropy is set of Rust bindings for Anthropic API, providing easy access to Claude and other Anthropic models. It consists of two main components: 1. misanthropy : A Rust client library for the Anthropic API 2. misan : A command-line interface (CLI) tool for quick interactions with the API --- Community Want to contribute? Have ideas or feature requests? Come tell us about it on Discord. --- Features - Simple, idiomatic Rust interface for the Anthropic API - Support extended thinking and tool usage - Support for text and image content in messages - Support for streaming real-time responses - Configurable client with defaults for model and token limits - CLI tool for quick interactions with the API from the command line --- Usage Library Here's a basic example of using the misanthropy library: For more examples, please check the examples directory in the misanthropy crate. These examples demonstrate various features and use cases of the library. CLI The misan CLI tool provides a command-line interface for interacting with the Anthropic API. For usage instructions, run: --- Configuration - ANTHROPIC API KEY : Set this environment variable with your Anthropic API key. - Default model and max tokens can be set when creating the Anthropic client or overridden per request. --- Advanced Features Streaming Responses The library supports streaming responses for real-time interactions: Using Tools The library supports defining and using tools in conversations. Tools are","default_branch":null,"files":null,"tree":[],"storefront":"/r/cortesi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cortesi/misanthropy/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}