any-llm A single interface to use and evaluate different llm providers.
Key Features
any-llm offers:
Simple, unified interface - one function for all providers, switch models with just a string change
- one function for all providers, switch models with just a string change Developer friendly - full type hints for better IDE support and clear, actionable error messages
- full type hints for better IDE support and clear, actionable error messages Leverages official provider SDKs when available, reducing maintenance burden and ensuring compatibility
when available, reducing maintenance burden and ensuring compatibility Stays framework-agnostic so it can be used across different projects and use cases
so it can be used across different projects and use cases Actively maintained - we use this in our own product (any-agent) ensuring continued support
- we use this in our own product (any-agent) ensuring continued support No Proxy or Gateway server required so you don't need to deal with setting up any other service to talk to whichever LLM provider you need.
Motivation
... continue reading