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, durable eval
gates, prompt optimization proposals, experiment campaigns, and
cross-project model memory (the sommelier). It also exposes a neutral
one-attempt harness API for Claude Code, Codex, and OpenCode so task runners
do not reimplement CLI and event-stream adapters. 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)
Async code can call await llm.agenerate(...), await llm.aembed(...),
await llm.agenerate_structured(...), or iterate llm.astream(...). These
methods use the same synchronous routing, embedding, governance, and telemetry
paths without blocking the caller's event loop.
from somm import harnesses
from somm.harnesses import HarnessRequest
result = harnesses.run("codex", HarnessRequest(
prompt="Fix the failing tests",
cwd="~/src/my-project",
capture_dir="./runs/task-1",
))
print(result.outcome, result.final_text)
Full documentation, design docs, and examples live in the somm repository.
Metadata
Release files for somm 0.19.2
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 |
|---|---|---|---|---|
| somm-0.19.2.tar.gz | 302.5 kB | With provenance | Details for somm-0.19.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| somm-0.19.2-py3-none-any.whl | Python 3 | none | any | Details for somm-0.19.2-py3-none-any.whl |
Total release size: 532.7 kB
Release files / somm-0.19.2.tar.gz
| Download URL | somm-0.19.2.tar.gz |
|---|---|
| Size | 302.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aa0f1dbfef7b0f31f1a27f2be5ead87404548e3a80f9632081c1abb72aa2ebbb
|
|
BLAKE2b-256 checksum How to use checksums |
7ab84160f67c40e447bc3de112a700297423943727750714ce224b13e1e438ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 29, 2026.
Transparency logRelease files / somm-0.19.2-py3-none-any.whl
| Download URL | somm-0.19.2-py3-none-any.whl |
|---|---|
| Size | 230.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2263844cf2183be59d815d816ba42d37c5dbf9d0dd797eef0f72b1eeebb20c8f
|
|
BLAKE2b-256 checksum How to use checksums |
39c27774a1faaaa0c23003dc0e470d6aa8074e0d17d1d95d53a8b5693bc287b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 29, 2026.
Transparency logSecurity for somm 0.19.2
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 somm-0.19.2.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 Oct 29, 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.