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.7.0.tar.gz (118.8 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.7.0-py3-none-any.whl (94.2 kB view details)

Uploaded Python 3

File details

Details for the file somm-0.7.0.tar.gz.

File metadata

  • Download URL: somm-0.7.0.tar.gz
  • Upload date:
  • Size: 118.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for somm-0.7.0.tar.gz
Algorithm Hash digest
SHA256 9d516824c0a66018246373b5079ef361a43202f069b6b26c70d3f1f28e9aeda4
MD5 6b2a05d467915aa3bf513d5bb3a4f219
BLAKE2b-256 58dc7e77c2887c099b8f6ba34fed3fe7caee1a29b9239989367cf5b6653c1aa4

See more details on using hashes here.

Provenance

The following attestation bundles were made for somm-0.7.0.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.7.0-py3-none-any.whl.

File metadata

  • Download URL: somm-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 94.2 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.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 45c13da35203de04d2eedda567e5c3e1096031216933af02332002ba62f12fa1
MD5 e0a0245a8522f8a8ece330197967fa93
BLAKE2b-256 f416710986edfb08d3fd6fe3f3efc60e04e7c560326ffb32c7f65b6002bb1d11

See more details on using hashes here.

Provenance

The following attestation bundles were made for somm-0.7.0-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