Skip to main content

LangChain toolkit for AiPayGent — 123 AI endpoints via x402 micropayments (USDC on Base)

Project description

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”})

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aipaygent_langchain-1.0.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file aipaygent_langchain-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for aipaygent_langchain-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0574d81762a2ec67f36605fb42a133750219fd17c6ab23af98aa3b1875e35b59
MD5 5954e5b06710302711897b622d7c5219
BLAKE2b-256 2f635763740bb8bdfd51c0e9644a9e02028718d8129aaacd63a2c453cfd2ac08

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page