A
mozilla-ai/any-llm★ 2,269 · Python
In-process Python SDK for hosted and local LLMs behind one typed API
Apache-2.0 · Commercial Friendly1.55.2
Cross-track 2026 comparison (LLMs & Inference vs RAG, Data & Memory): weaviate/weaviate leads both total GitHub adoption (★ 17k) and recent 7-day momentum. Licensing: Apache-2.0 · Commercial Friendly vs Custom / Check Repo.
In-process Python SDK for hosted and local LLMs behind one typed API
Go vector database for filtered hybrid retrieval in production RAG stacks
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | mozilla-ai/any-llm | weaviate/weaviate |
|---|---|---|
| Total GitHub Stars | ★ 2,269 | ★ 16,974 |
| 24h / 7d Velocity | +0 / +2 | +1 / +19 |
| 7-Day Trend Curve | ||
| Engineering Health | A+ · 93/100 | A · 82/100 |
| Deployment Signals | API · Local AI | Docker · Self-Hosted · API |
| Primary Language | Python | Go |
| Commercial License | Apache-2.0 · Commercial Friendly | Custom / Check Repo |
| Activity | Updated today | Updated today |
| Latest Release | 1.55.2 | v1.41.0 |
| Best For | Python applications that need to switch among hosted providers or a local inference endpoint, reuse clients in services, and validate a common subset of model features without running a proxy | Production RAG and internal search teams that need to store documents and embeddings together, combine semantic and keyword retrieval with metadata filters, and retain a self-hosted deployment option |
completion from any_llm and select a backend using separate arguments or a provider:model string.AnyLLM.create(...) supports client and connection-pool reuse.openresponses-types.responses and aresponses require a supporting provider.pip install 'any-llm-sdk[mistral,ollama]' export MISTRAL_API_KEY="YOUR_KEY_HERE" # or OPENAI_API_KEY, etc from any_llm import completion import os # Make sure you have the appropriate environment variable set assert os.environ.get('MISTRAL_API_KEY') response = completion( model="mistral-small-latest", provider="mistral", messages=[{"role": "user", "content": "Hello!"}] ) print(response.choices[0].message.content)
docker compose up -d
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy