LangChain Agent Hub Tool
Official LangChain integration for Hour.IT Agent Hub - a crypto-native AI service marketplace.
Installation
pip install langchain-agent-hub
Quick Start
from langchain_agent_hub import AgentHubTool
# Initialize tool
tool = AgentHubTool()
# Call a service (will return payment instructions if unpaid)
result = tool._run(
service="sentiment",
params={"text": "I love AI agents!"}
)
# After sending USDC payment, retry with transaction hash
result = tool._run(
service="sentiment",
params={"text": "I love AI agents!"},
payment_tx="0xYourTransactionHash"
)
print(result)
Available Services
| Service | Price | Endpoint |
|---|---|---|
| Sentiment Analysis | $0.05 | sentiment |
| Translation | $0.05 | translate |
| Summarization | $0.08 | summarize |
| Web Scraping | $0.15 | scrape |
| Data Extraction | $0.10 | extract |
Payment Details
- Network: Base Mainnet (Chain ID 8453)
- Currency: USDC
- Protocol: x402
License
MIT License
Metadata
Release files for langchain-agent-hub 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| langchain_agent_hub-1.0.0.tar.gz | 25.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| langchain_agent_hub-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 57.5 kB
Release files / langchain_agent_hub-1.0.0.tar.gz
| Download URL | langchain_agent_hub-1.0.0.tar.gz |
|---|---|
| Size | 25.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
21b3a345ace2e36924f207d095c7c9a04496528406a00d6ab894f710525f19be
|
|
BLAKE2b-256 checksum How to use checksums |
9c16fb5c283c6348a4f4d9c1fc471c17de1d9b8003e1419c0f19eabf9e85acbd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.1
|
Release files / langchain_agent_hub-1.0.0-py3-none-any.whl
| Download URL | langchain_agent_hub-1.0.0-py3-none-any.whl |
|---|---|
| Size | 31.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bbc836f9e92e73aa08110a570355309177e15830532576c32a182080f6b7bef0
|
|
BLAKE2b-256 checksum How to use checksums |
312777d49d59ef942cdd289097233c4e634b7407ffeda1c66124ec3735040a0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.1
|