Skip to main content

axemere-gateway-langchain

License: MIT

LangChain BaseChatModel integration for the Axemere AI Gateway. Drop ChatAiGateway into any LangChain chain or agent — the gateway adds cost controls, policy enforcement, and an append-only audit ledger to every call.

Install

pip install axemere-gateway-langchain

Usage

from axemere.gateway.langchain import ChatAiGateway

llm = ChatAiGateway(provider="openai", model="gpt-4o-mini")
# reads AXEMERE_GATEWAY_URL + AXEMERE_GATEWAY_TOKEN from env

response = llm.invoke("Hello")
print(response.content)

Works anywhere a LangChain BaseChatModel is accepted — chains, agents, LCEL pipelines.

Configuration

Env var Description
AXEMERE_GATEWAY_URL Gateway base URL, e.g. http://localhost:7080
AXEMERE_GATEWAY_TOKEN Bearer token issued by the gateway

Links

License

MIT

Metadata

Release files for axemere-gateway-langchain 0.3.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 axemere-gateway-langchain 0.3.0
File Size Uploaded
axemere_gateway_langchain-0.3.0.tar.gz 9.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for axemere-gateway-langchain 0.3.0
File Interpreter ABI Platform
axemere_gateway_langchain-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 18.8 kB

Release files / axemere_gateway_langchain-0.3.0.tar.gz

Download URL axemere_gateway_langchain-0.3.0.tar.gz
Size 9.4 kB
Tags Source
SHA-256 checksum
How to use checksums
65034d3ce898e7ff1bb4faf4fee998e9056f47f3aad5a6188d8a2b2897359c56
BLAKE2b-256 checksum
How to use checksums
fe7e93962240553741665d32f259ad4ad808f8648d6f6deeb737209887c43c7a
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 Aug 19, 2026.

Transparency log

Release files / axemere_gateway_langchain-0.3.0-py3-none-any.whl

Download URL axemere_gateway_langchain-0.3.0-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
afd7cbbf70b96e2707ee66e07a3bee5181aab8101f1e5bc880dbec415817c77e
BLAKE2b-256 checksum
How to use checksums
c331ffb381082595c0c683b8bb5d6d2fa74716a3b6ca8ec27ecfcb130680d442
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 Aug 19, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.0

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