agentforge-litellm
LiteLLM router-based LLM provider for AgentForge.
Wraps LiteLLM's unified interface so a single AgentForge agent can route to 100+ underlying providers (OpenAI, Anthropic, Bedrock, Vertex, Azure, Mistral, Groq, Fireworks, Together, ...) by changing the model string — no per-provider sister package needed.
When to use this vs. a native sister package:
- Prefer native (
agentforge-anthropic,agentforge-openai, ...) for production paths where you want first-class capability surface (caching, thinking, streaming with full type-checked stream events). - Use LiteLLM as a unified gateway, for tail providers AgentForge doesn't ship native packages for yet, or to experiment with new models behind a single config.
Install
pip install "agentforge-litellm[litellm]"
Use
from agentforge import Agent
# Model string is "litellm:<litellm-model-string>". The second
# half is whatever LiteLLM accepts.
agent = Agent(model="litellm:gpt-4o-mini")
agent = Agent(model="litellm:anthropic/claude-sonnet-4-7")
agent = Agent(model="litellm:bedrock/anthropic.claude-sonnet-4-7")
Capabilities
{"tools"} only. LiteLLM normalises tools across underlying
providers but doesn't expose a uniform caching / thinking /
vision / streaming surface — those vary per backend. If you
need those, use the matching native sister package.
License
Apache-2.0. See LICENSE.
Metadata
Release files for agentforge-litellm 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| agentforge_litellm-0.4.0.tar.gz | 10.9 kB | With provenance | Details for agentforge_litellm-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| agentforge_litellm-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for agentforge_litellm-0.4.0-py3-none-any.whl |
Total release size: 22.1 kB
Release files / agentforge_litellm-0.4.0.tar.gz
| Download URL | agentforge_litellm-0.4.0.tar.gz |
|---|---|
| Size | 10.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cce3b3fa7eaac1378f6ab907fee422164c0ab6b9e5a806c7f9ecb5eded646263
|
|
BLAKE2b-256 checksum How to use checksums |
9df67bfe8b5e45d8321b95376a96e8c9f19e8f7d59e8000285e44ebba2812350
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 24, 2026.
Transparency logRelease files / agentforge_litellm-0.4.0-py3-none-any.whl
| Download URL | agentforge_litellm-0.4.0-py3-none-any.whl |
|---|---|
| Size | 11.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2dbe5403dfdc874040765cdb982a22f27f91769bfffc4f2acc92bcd4f87d698a
|
|
BLAKE2b-256 checksum How to use checksums |
47f80cda24a0b20c083127d403754d83f7e0213878f6e0542f761300fe6f7cd4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 24, 2026.
Transparency logSecurity for agentforge-litellm 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for agentforge_litellm-0.4.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 24, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.