LangChain tool for Hour.IT Agent Hub - Crypto-native AI services
Project description
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
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
langchain_agent_hub-1.0.0.tar.gz
(25.5 kB
view details)
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 langchain_agent_hub-1.0.0.tar.gz.
File metadata
- Download URL: langchain_agent_hub-1.0.0.tar.gz
- Upload date:
- Size: 25.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21b3a345ace2e36924f207d095c7c9a04496528406a00d6ab894f710525f19be
|
|
| MD5 |
10075c744b3a59338ecc26f8dcd89df4
|
|
| BLAKE2b-256 |
9c16fb5c283c6348a4f4d9c1fc471c17de1d9b8003e1419c0f19eabf9e85acbd
|
File details
Details for the file langchain_agent_hub-1.0.0-py3-none-any.whl.
File metadata
- Download URL: langchain_agent_hub-1.0.0-py3-none-any.whl
- Upload date:
- Size: 31.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bbc836f9e92e73aa08110a570355309177e15830532576c32a182080f6b7bef0
|
|
| MD5 |
94644c5aaec5e016e94e4f645c70dec2
|
|
| BLAKE2b-256 |
312777d49d59ef942cdd289097233c4e634b7407ffeda1c66124ec3735040a0a
|