Skip to main content

langchain-agentic-iam

Route your LangChain agent's HTTP calls through Agentic IAM Proxy. Your agent never holds a real API key, and risky calls wait for a human to approve them in Slack.

pip install langchain-agentic-iam
from langchain_agentic_iam import SecureAPIWrapper

stripe = SecureAPIWrapper(agent_token="...")  # proxy_base_url defaults to http://localhost:8000/api/v1/proxy
stripe.post("https://api.stripe.com/v1/refunds", data={"charge": "ch_123"})

The wrapper sends the URL's origin in X-Target-Url, appends its path and query to the proxy URL, and authenticates with the agent token. It returns the response text, including denials such as "Action denied by human overseer". get, post, put, patch and delete take the usual requests arguments (data= sends form data, json= sends JSON).

See examples/langchain_stripe.py for a complete LangChain agent.

Licensed under Apache-2.0.

Metadata

Release files for langchain-agentic-iam 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-agentic-iam 0.1.0
File Size Uploaded Provenance Actions
langchain_agentic_iam-0.1.0.tar.gz 9.2 kB Without provenance Details for langchain_agentic_iam-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 17.2 kB

Release files / langchain_agentic_iam-0.1.0.tar.gz

Download URL langchain_agentic_iam-0.1.0.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
17de715abd829dd6b443aa5d6ec7b80fd8886a344914113a2be95240b14a287d
BLAKE2b-256 checksum
How to use checksums
29ba4d675e36bdbef6751ad7dcff8309e0e4e6bb39026eb4c8cf29714ff2efdc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

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

Download URL langchain_agentic_iam-0.1.0-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e590c1ec4dbd07086f304dec13a0d168b5fcb49813b5e7d61023d563e3256cc9
BLAKE2b-256 checksum
How to use checksums
bf1bb24ac2acc6b2ff58b12b0a0521df2d29518e0e2613fa87351cd80157c81e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Security for langchain-agentic-iam 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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.1.0 This release

2 release files No 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