Skip to main content

somm-langchain

LangChain BaseChatModel adapter for somm.

Lets LangChain / LangGraph / deepagents apps use somm as their LLM substrate — telemetry, routing, cost tracking, provider fallback, sommelier model memory — all without changing the agent-framework call sites.

import somm
from somm_langchain import SommChatModel

llm = somm.llm(project="my_agent")
chat = SommChatModel(somm_llm=llm, workload="agent_thinking")

from deepagents import create_deep_agent
agent = create_deep_agent(model=chat, tools=[...])

SommChatModel supports bind_tools() and routes tool-using calls through somm's neutral tool-calling shape (see docs/tool-calling.md). The adapter is thin: message translation in, somm.llm().generate() through, ChatGeneration out.

Built for agent orchestrators that run on deepagents and similar LangChain-based stacks, which mandate a tool-calling BaseChatModel.

Metadata

Release files for somm-langchain 0.26.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for somm-langchain 0.26.2
File Size Uploaded Provenance Actions
somm_langchain-0.26.2.tar.gz 8.0 kB With provenance Details for somm_langchain-0.26.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for somm-langchain 0.26.2
File Interpreter ABI Platform Actions
somm_langchain-0.26.2-py3-none-any.whl Python 3 none any Details for somm_langchain-0.26.2-py3-none-any.whl

Total release size: 14.3 kB

Release files / somm_langchain-0.26.2.tar.gz

Download URL somm_langchain-0.26.2.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b8559d4ce05f61b45e945e9e15af95377776ec2767d205a049cc5749f1b6fd5e
BLAKE2b-256 checksum
How to use checksums
fe16f0a867936e4682597d83727024ede01f0c0a1e3def39e7ca6f5a39d40b3e
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 Nov 10, 2026.

Transparency log

Release files / somm_langchain-0.26.2-py3-none-any.whl

Download URL somm_langchain-0.26.2-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b4d1ff9819a918e19083bfa6f6ef1c50dd3a341ed1f1394e0429088f273c12c2
BLAKE2b-256 checksum
How to use checksums
c1b99aaa9ef27318f9d1e79a3253e20c0d8f60771c2e146ce2bc63af1a7a0d46
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 Nov 10, 2026.

Transparency log

Security for somm-langchain 0.26.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.

Select from 2 files

Attestation for somm_langchain-0.26.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 Nov 10, 2026.

Transparency log

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

Release history Release notifications | RSS feed

This release

0.26.2 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page