Skip to main content

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)
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.

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.14.0.tar.gz (201.7 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.14.0-py3-none-any.whl (153.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for somm-0.14.0.tar.gz
Algorithm Hash digest
SHA256 50f9950711fdc8bc7fd0b3064c6e75c2901c822955ffd70670b61194fe89959d
MD5 2835990b69da263565d4e36bb1e84845
BLAKE2b-256 d80bb05f70aa3e2c76d41de9ffda6dc4ae4d65111e04f24c68dd663d77e1bd11

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: somm-0.14.0-py3-none-any.whl
  • Upload date:
  • Size: 153.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for somm-0.14.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bc1b113e491edd994edc20fbc5aba91040ebaedb84f53ebc24147dbaf2389554
MD5 db70213ab2fe2ede99e0c147bca3bf59
BLAKE2b-256 ff2acc713d7eee94bc5925c5f89d0d1b809d7f6edee3a66511c2c5c32329c799

See more details on using hashes here.

Provenance

The following attestation bundles were made for somm-0.14.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 Sentry Error logging StatusPage Status page