Metadata-Version: 2.4
Name: langchain-agent-hub
Version: 1.0.0
Summary: LangChain tool for Hour.IT Agent Hub - Crypto-native AI services
Home-page: https://github.com/SVG-campus/agent-hub
Author: Hour.IT Team
Author-email: your-email@example.com
License: MIT
Project-URL: Homepage, https://web-production-4833.up.railway.app
Project-URL: Documentation, https://web-production-4833.up.railway.app/docs
Project-URL: Repository, https://github.com/SVG-campus/agent-hub
Keywords: langchain,ai,crypto,payments,usdc,base,blockchain
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: langchain>=0.1.0
Requires-Dist: requests>=2.31.0
Requires-Dist: pydantic>=2.0.0
Dynamic: author-email
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python

# LangChain Agent Hub Tool

Official LangChain integration for [Hour.IT Agent Hub](https://web-production-4833.up.railway.app) - a crypto-native AI service marketplace.

## Installation

```bash
pip install langchain-agent-hub
```

## Quick Start

```python
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` |

[See all 18 services](https://web-production-4833.up.railway.app/docs)

## Payment Details

- **Network**: Base Mainnet (Chain ID 8453)
- **Currency**: USDC
- **Protocol**: x402

## License

MIT License
