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.1.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.1-py3-none-any.whl (94.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: somm-0.7.1.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.1.tar.gz
Algorithm Hash digest
SHA256 1775a7d9057c017a70093eb28b7fbf81b34fa0623748fbdf1c023f60643cf1fe
MD5 dc96b218b92fa8b587636a8e5d736898
BLAKE2b-256 1fce7c308788577172f0b18948f3af7eb092b76fd71ef7301dac4d1523af7516

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: somm-0.7.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ed9f2ad7af8eb78e67b5bcfc74dc230df855fddc3884a1750770fca7e63d8d9d
MD5 6564de417c6263902baf6c043a82a2a0
BLAKE2b-256 56e8c3fd24debb22072d0fde4bcbe38a6ebecad777e2ac81f38ab5a49c3a3c8d

See more details on using hashes here.

Provenance

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