langchain-ucashpay
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 ucashpay_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-ucashpay 0.1.2
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_ucashpay-0.1.2.tar.gz | 3.1 kB | Without provenance | Details for langchain_ucashpay-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| langchain_ucashpay-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for langchain_ucashpay-0.1.2-py3-none-any.whl |
Total release size: 6.6 kB
Release files / langchain_ucashpay-0.1.2.tar.gz
| Download URL | langchain_ucashpay-0.1.2.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
06f1160f38231866f3a3004abeaaefa913d72501bdf5fe144f0d986d55465a5b
|
|
BLAKE2b-256 checksum How to use checksums |
e9389978029cd78eabb640f721877af4986d3bd4ed24bf3786c55f08625b7fac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / langchain_ucashpay-0.1.2-py3-none-any.whl
| Download URL | langchain_ucashpay-0.1.2-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d7822a5fe3a573a8136c17a0415079bb48b599c2ff33979c6a2cf57f194580e5
|
|
BLAKE2b-256 checksum How to use checksums |
4079b934514127f0c70287041f66110075c0d44bb0c39538566fef45ad52fb9a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Security for langchain-ucashpay 0.1.2
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.