Drop this file into any LangChain project to give your agent access to 80+ paid AI endpoints via x402 micropayments.
- Install:
pip install langchain-core requests
- Usage:
from aipaygent_langchain import AiPayGentToolkit from langchain.agents import AgentExecutor, create_openai_tools_agent
tools = AiPayGentToolkit(x402_token=”your_token”).get_tools() agent = create_openai_tools_agent(llm, tools, prompt) executor = AgentExecutor(agent=agent, tools=tools)
result = executor.invoke({“input”: “Research quantum computing and summarize it”})
Metadata
Release files for aipaygent-langchain 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aipaygent_langchain-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / aipaygent_langchain-1.0.1-py3-none-any.whl
| Download URL | aipaygent_langchain-1.0.1-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0574d81762a2ec67f36605fb42a133750219fd17c6ab23af98aa3b1875e35b59
|
|
BLAKE2b-256 checksum How to use checksums |
2f635763740bb8bdfd51c0e9644a9e02028718d8129aaacd63a2c453cfd2ac08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.2
|
Security for aipaygent-langchain 1.0.1
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.