langchain-mnki
LangChain / LangGraph tools guarded by mnki (Agent Trust): every tool call is verified against the agent's delegated authority, with an evidence list, before it runs.
pip install langchain-mnki
import os
from mnki import AgentTrustClient, Guard
from langchain_mnki import guard_tools
from langgraph.prebuilt import create_react_agent
g = Guard(AgentTrustClient("https://mnki.com", api_key=os.environ["MNKI_API_KEY"]), agent="invoice-agent")
graph = create_react_agent(model, guard_tools(g, [refund, lookup]))
- Tools stay
BaseToolinstances (aGuardedToolsubclass), soToolNode,bind_toolsand isinstance checks work. - A refused call returns
{"error": "denied", "reasons": [...], "evidence": [...]}to the model;on_refused="throw"raises. - Calls that policy escalates wait for a human approval (phone app) and continue when approved.
- No account needed to try it:
Guard(world=demo_world(), agent="invoice-agent")runs the same verifier offline.
Pinned versions and the support level are in the compatibility matrix; every
integration path is on one page at https://mnki.com/docs/integrations. The implementation is
mnki.adapters.langchain in the mnki package; this distribution is its
LangChain-facing name. Apache-2.0.
Metadata
Release files for langchain-mnki 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| langchain_mnki-0.3.0.tar.gz | 6.9 kB | With provenance | Details for langchain_mnki-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| langchain_mnki-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for langchain_mnki-0.3.0-py3-none-any.whl |
Total release size: 13.7 kB
Release files / langchain_mnki-0.3.0.tar.gz
| Download URL | langchain_mnki-0.3.0.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e0ec22696321a0052d878c4b52fa243c182d30a721660b15639a5317538c69d9
|
|
BLAKE2b-256 checksum How to use checksums |
4d3e46e0348fc23c22d516507e328004aa07644c81069df47e0c4328c54782f4
|
| 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 Sep 20, 2026.
Transparency logRelease files / langchain_mnki-0.3.0-py3-none-any.whl
| Download URL | langchain_mnki-0.3.0-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3490a8bd95ffcc80c89495dacdc2b0678a54610abed0726fef5f72b087ecb07f
|
|
BLAKE2b-256 checksum How to use checksums |
6bd164fdb3e0293a307044fc5c99e3a6609758579c316e2b5a857180704d74ce
|
| 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 Sep 20, 2026.
Transparency logSecurity for langchain-mnki 0.3.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.
Attestation for langchain_mnki-0.3.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 Sep 20, 2026.
Transparency logA 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.