somm — self-hosted LLM telemetry, routing, and intelligence loop (library)
Project description
somm
Self-hosted LLM telemetry, routing, and intelligence loop.
The main library: SommLLM — one call wraps telemetry, provider routing
across ten providers, tool calling, streaming, embeddings, multimodal
dispatch, cost tracking, budget gates, online evaluation, and
cross-project model memory (the sommelier). Zero-config, privacy-first,
no phone-home.
import somm
llm = somm.llm(project="my_app")
result = llm.generate(prompt="Reply with exactly: pong", workload="ping")
print(result.text, result.provider, result.cost_usd)
Full documentation, design docs, and examples live in the somm repository.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file somm-0.6.1.tar.gz.
File metadata
- Download URL: somm-0.6.1.tar.gz
- Upload date:
- Size: 117.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa243a7f990b9af12956983d05f42ffac32a166a989e5b7afa1d2c0292fc9df5
|
|
| MD5 |
cd5799f33604a32707a745f9a1119dc1
|
|
| BLAKE2b-256 |
13243190665a6aae8c698a9ebc6d285e6b6dc7af59428ca227677d8af6b1d997
|
Provenance
The following attestation bundles were made for somm-0.6.1.tar.gz:
Publisher:
publish.yml on lavallee/somm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
somm-0.6.1.tar.gz -
Subject digest:
fa243a7f990b9af12956983d05f42ffac32a166a989e5b7afa1d2c0292fc9df5 - Sigstore transparency entry: 2061355725
- Sigstore integration time:
-
Permalink:
lavallee/somm@6a82606416dbec39f5b65b3165830e24aaac9359 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/lavallee
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6a82606416dbec39f5b65b3165830e24aaac9359 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file somm-0.6.1-py3-none-any.whl.
File metadata
- Download URL: somm-0.6.1-py3-none-any.whl
- Upload date:
- Size: 93.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a1cf84c0782df7c54c7dd2b88feb721ab4fa9e83bbd9f94546e833aca74db8d
|
|
| MD5 |
92a6dddfe99f303789d0c2fba1a3dbbc
|
|
| BLAKE2b-256 |
748aceab611c77bb6f1a255ce34e70c5f4edb5bc8c742b4663417f3bce206fc9
|
Provenance
The following attestation bundles were made for somm-0.6.1-py3-none-any.whl:
Publisher:
publish.yml on lavallee/somm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
somm-0.6.1-py3-none-any.whl -
Subject digest:
9a1cf84c0782df7c54c7dd2b88feb721ab4fa9e83bbd9f94546e833aca74db8d - Sigstore transparency entry: 2061356096
- Sigstore integration time:
-
Permalink:
lavallee/somm@6a82606416dbec39f5b65b3165830e24aaac9359 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/lavallee
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6a82606416dbec39f5b65b3165830e24aaac9359 -
Trigger Event:
workflow_dispatch
-
Statement type: