Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

somm-0.6.1.tar.gz (117.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

somm-0.6.1-py3-none-any.whl (93.4 kB view details)

Uploaded Python 3

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

Hashes for somm-0.6.1.tar.gz
Algorithm Hash digest
SHA256 fa243a7f990b9af12956983d05f42ffac32a166a989e5b7afa1d2c0292fc9df5
MD5 cd5799f33604a32707a745f9a1119dc1
BLAKE2b-256 13243190665a6aae8c698a9ebc6d285e6b6dc7af59428ca227677d8af6b1d997

See more details on using hashes here.

Provenance

The following attestation bundles were made for somm-0.6.1.tar.gz:

Publisher: publish.yml on lavallee/somm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for somm-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9a1cf84c0782df7c54c7dd2b88feb721ab4fa9e83bbd9f94546e833aca74db8d
MD5 92a6dddfe99f303789d0c2fba1a3dbbc
BLAKE2b-256 748aceab611c77bb6f1a255ce34e70c5f4edb5bc8c742b4663417f3bce206fc9

See more details on using hashes here.

Provenance

The following attestation bundles were made for somm-0.6.1-py3-none-any.whl:

Publisher: publish.yml on lavallee/somm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page