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

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.19.0
File Size Uploaded
somm_langchain-0.19.0.tar.gz 8.0 kB Details

Built distribution (wheel)

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

Total release size: 14.3 kB

Release files / somm_langchain-0.19.0.tar.gz

Download URL somm_langchain-0.19.0.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e5bd4fa5b6e168cdc349190fb7473ec6eb0e7938e3d635f3dbf0437cd2113b45
BLAKE2b-256 checksum
How to use checksums
7f8aa1477734ff3f40078b15744215c6658b988166854158b25d8f95abe9160d
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 Oct 17, 2026.

Transparency log

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

Download URL somm_langchain-0.19.0-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6845147284e7bb3e6e184dcc9b1cc60e4fb3dd11f93fbf8ae6342c9b078b8c9f
BLAKE2b-256 checksum
How to use checksums
df8e7c0c91bc711c03d4b012f3fa7397bc35a49bde736d95f748e5139abfb8e8
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 Oct 17, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.19.0 This release

2 release files

0.18.0

2 release files

0.17.2

2 release files

0.17.1

2 release files

0.17.0

2 release files

0.16.0

2 release files

0.15.0

2 release files

0.14.0

2 release files

0.13.0

2 release files

0.12.0

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.1

2 release files

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