Skip to main content

langchain-breakwire

LangChain integration for Breakwire: tools an agent can call to look up an API/SDK error or check upcoming deadlines, and a callback handler that looks up errors raised in your chains, LLM calls and tools.

pip install langchain-breakwire
from langchain_breakwire import BreakwireLookupTool, BreakwireDeadlinesTool, BreakwireCallbackHandler

tools = [BreakwireLookupTool(), BreakwireDeadlinesTool()]      # give them to your agent

handler = BreakwireCallbackHandler(service="openai-api")
try:
    chain.invoke(inputs, config={"callbacks": [handler]})
except Exception as e:
    print(e.breakwire.id, e.breakwire.fix)    # same exception, explanation attached
    raise
  • BreakwireLookupTool (breakwire_lookup_error): error text (+ optional service, sdk, sdk_version, model) → compact matches with id, confidence, fix, source URL. Unmatched errors are not logged unless log_miss=True.
  • BreakwireDeadlinesTool (breakwire_deadlines): upcoming act-by dates for a service.
  • BreakwireCallbackHandler: on_llm_error / on_tool_error / on_chain_error; each exception is looked up once even though LangChain reports it at every nesting level. Never raises, never changes the error. on_match(info, error) hook.

Built on the stdlib-only breakwire client, which strips secrets before sending. Breakwire's community verification has just started; claims link primary sources, prefer those.

MIT.

Metadata

Release files for langchain-breakwire 0.1.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 langchain-breakwire 0.1.0
File Size Uploaded Provenance Actions
langchain_breakwire-0.1.0.tar.gz 5.6 kB With provenance Details for langchain_breakwire-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for langchain-breakwire 0.1.0
File Interpreter ABI Platform Actions
langchain_breakwire-0.1.0-py3-none-any.whl Python 3 none any Details for langchain_breakwire-0.1.0-py3-none-any.whl

Total release size: 10.7 kB

Release files / langchain_breakwire-0.1.0.tar.gz

Download URL langchain_breakwire-0.1.0.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
853f7c13cd325eb9bc75fb573b0d1a94df09cf961272980438dacc41b9986d50
BLAKE2b-256 checksum
How to use checksums
7463835cac65eeffda532d453fdbaf20cff1b2396b7a0a68b8b9455a42d3e93b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 28, 2026.

Transparency log

Release files / langchain_breakwire-0.1.0-py3-none-any.whl

Download URL langchain_breakwire-0.1.0-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ed22f613ae1c628cd94f0890f7ac2c0a4aa47790ed9b12e648f3d947ba39b720
BLAKE2b-256 checksum
How to use checksums
f902b5c2bc7cf22d0cac980def06c960bec0c4619b12fa510608080697c3e7e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 28, 2026.

Transparency log

Security for langchain-breakwire 0.1.0

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 langchain_breakwire-0.1.0.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 Oct 28, 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.

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