Skip to main content

langchain-ucash

LangChain tools for U.CASH agent monetization over HTTP-402. Give a LangChain agent the ability to create priced resources and check its earnings.

pip install agents-u-cash langchain-core
from ucash_langchain import tools
from langchain.agents import initialize_agent, AgentType
from langchain_openai import ChatOpenAI

ucash = tools(api_key="uxc_...")  # your U.CASH agent API key
agent = initialize_agent(ucash, ChatOpenAI(), agent=AgentType.OPENAI_FUNCTIONS, verbose=True)
agent.run("Create a $0.05 resource for my endpoint, then list my resources.")

Tools: create_priced_resource(amount, currency), list_resources(), get_settlements(). Each buyer pays per request via U.CASH Pay (HTTP-402); settlement is non-custodial, direct to your wallet.

License

MIT.

Metadata

Release files for langchain-ucash 0.1.3

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-ucash 0.1.3
File Size Uploaded Provenance
langchain_ucash-0.1.3.tar.gz 3.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for langchain-ucash 0.1.3
File Interpreter ABI Platform
langchain_ucash-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 6.6 kB

Release files / langchain_ucash-0.1.3.tar.gz

Download URL langchain_ucash-0.1.3.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
622ee686c6fac443f0505d7f9b5d783284506bf668d1583eaee807b3b32aca95
BLAKE2b-256 checksum
How to use checksums
ccea42ec08e141a2dab62e6c4cd724558ff151e07505fcd5193661d87c03ef30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / langchain_ucash-0.1.3-py3-none-any.whl

Download URL langchain_ucash-0.1.3-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
351da0111fee483affdce1ffbc3204f0d83693307c3da6b9b45e9312afe0b854
BLAKE2b-256 checksum
How to use checksums
d662d7cf70014412e516ab28f75af8de701c3d0d81079833297a0d82909e9499
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Security for langchain-ucash 0.1.3

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.

Release history Release notifications | RSS feed

This release

0.1.3 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