Skip to main content

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..."})

Metadata

Release files for tools402-langchain 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tools402-langchain 0.1.0
File Size Uploaded
tools402_langchain-0.1.0.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tools402-langchain 0.1.0
File Interpreter ABI Platform
tools402_langchain-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.1 kB

Release files / tools402_langchain-0.1.0.tar.gz

Download URL tools402_langchain-0.1.0.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d6e6de6be41d292572a6195197afa4ca33af740ac5aa576ba14069a9ca4b43de
BLAKE2b-256 checksum
How to use checksums
993c92aa80e3d46c0b2b6edc5afb39d36a62c2eaf137ac1ab404257132ab1179
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release files / tools402_langchain-0.1.0-py3-none-any.whl

Download URL tools402_langchain-0.1.0-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a8b80989632c92cf447a575a2a41e96b1a47322067f48d4a3ea0b3c4e84a2ae4
BLAKE2b-256 checksum
How to use checksums
e2766cfe495a21fc758e03d53eeda08de5550b9beef229cae83bb9f5a1463097
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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