Tổng quan
The project provides direct completion functions for scripts and experiments, plus a reusable AnyLLM client for applications making multiple requests. The repository describes support for OpenAI, Anthropic, Azure / Microsoft Foundry, Mistral, Ollama, OpenAI-compatible endpoints, and additional providers listed in its documentation. It is framework-agnostic and does not require a proxy.
Tính năng chính
- Unified completion interface across multiple LLM providers
- Separate provider and model parameters or combined provider:model syntax
- Direct synchronous API functions for stateless requests
- Reusable AnyLLM clients with connection pooling
- Streaming and tool support
- OpenAI-style Responses API support for providers that implement it
- Provider-specific installation extras
- Type hints and actionable error messages
- Use of official provider SDKs when available
- Framework-agnostic operation without a required proxy
- Model listing when supported by the selected provider
- Support for custom OpenAI-compatible endpoints
Yêu cầu, cài đặt và bắt đầu nhanh
Cách sử dụng
Khả năng tương thích của mô hình và trường hợp sử dụng
The README explicitly names OpenAI, Anthropic, Azure / Microsoft Foundry, Mistral, and Ollama, plus custom OpenAI-compatible endpoints. Model identifiers are passed directly to providers. Exact provider and model coverage should be checked at https://docs.mozilla.ai/any-llm/providers/. OpenAI-style Responses API functionality is limited to providers that implement that API.
Ghi chú về giấy phép và rủi ro
Licensed under Apache License 2.0 according to the repository metadata and README. License reference: https://api.github.com/licenses/apache-2.0.
Phát hành và bảo trì
No release notes or version history are included in the supplied repository record. The repository was created on 2025-07-14, and the supplied metadata reports its latest push as 2026-08-03.