smolagents-nory
HuggingFace Smolagents tools for x402 payments - Let your agents pay for APIs autonomously.
Installation
pip install smolagents-nory
Quick Start
from smolagents import CodeAgent, HfApiModel
from smolagents_nory import get_nory_tools
# Get all Nory payment tools
tools = get_nory_tools()
# Create agent with tools
model = HfApiModel()
agent = CodeAgent(tools=tools, model=model)
# Agent can now pay for premium data!
result = agent.run("Get the current price of Bitcoin")
print(result)
Available Tools
| Tool | Description | Cost |
|---|---|---|
NoryFetchTool |
Fetch any URL with auto x402 payment | Varies |
NoryCryptoPricesTool |
Real-time crypto prices | $0.001 |
NoryWeatherTool |
Weather + 7-day forecast | $0.002 |
NoryTranslateTool |
Translate 20+ languages | $0.005 |
Environment
export NORY_WALLET_KEY="your-solana-private-key"
Links
- Website | Docs | x402 Protocol
Metadata
Release files for smolagents-nory 0.1.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 | |
|---|---|---|---|
| smolagents_nory-0.1.0.tar.gz | 3.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| smolagents_nory-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.7 kB
Release files / smolagents_nory-0.1.0.tar.gz
| Download URL | smolagents_nory-0.1.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
de035b52f5b8d8e8656274c1f6f3636938f4d7d723f1364d0ebe3851b471de5e
|
|
BLAKE2b-256 checksum How to use checksums |
a33b858c5f92f667a31da4e6b5e12c5b4b949e024df41aec2b6769f8e51817e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.3
|
Release files / smolagents_nory-0.1.0-py3-none-any.whl
| Download URL | smolagents_nory-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1ade3105457bad24bc5e69c19e6d81a1e1581e52f746e79accb81d97aadcfdcc
|
|
BLAKE2b-256 checksum How to use checksums |
8aa5ef3b36612f2ba92352a26a33735a00e20fc241dc644baf55dfd3949a50d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.3
|