LangChain integration for tools402 — 100 AI agent tools via x402/USDC
Project description
tools402-langchain
LangChain integration — expose all 146 tools402 endpoints as StructuredTool.
pip install tools402-langchain
from tools402_langchain import make_tools
from langchain.agents import AgentExecutor, create_openai_tools_agent
from langchain_openai import ChatOpenAI
tools = make_tools(wallet_private_key="0x...")
agent = create_openai_tools_agent(ChatOpenAI(model="gpt-4o"), tools, prompt)
executor = AgentExecutor(agent=agent, tools=tools)
executor.invoke({"input": "Transcribe this audio file..."})
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tools402_langchain-0.1.0.tar.gz.
File metadata
- Download URL: tools402_langchain-0.1.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6e6de6be41d292572a6195197afa4ca33af740ac5aa576ba14069a9ca4b43de
|
|
| MD5 |
9f1c51c02f5bd583de5f55553150f829
|
|
| BLAKE2b-256 |
993c92aa80e3d46c0b2b6edc5afb39d36a62c2eaf137ac1ab404257132ab1179
|
File details
Details for the file tools402_langchain-0.1.0-py3-none-any.whl.
File metadata
- Download URL: tools402_langchain-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8b80989632c92cf447a575a2a41e96b1a47322067f48d4a3ea0b3c4e84a2ae4
|
|
| MD5 |
be106eedc20d87573eac1ff3a35c3507
|
|
| BLAKE2b-256 |
e2766cfe495a21fc758e03d53eeda08de5550b9beef229cae83bb9f5a1463097
|