llamaindex-nory
LlamaIndex tools for x402 payments - Let your agents pay for APIs autonomously.
Installation
pip install llamaindex-nory
Quick Start
from llama_index.core.agent import ReActAgent
from llama_index.llms.openai import OpenAI
from llamaindex_nory import NoryPaymentToolSpec
# Create tool spec
tool_spec = NoryPaymentToolSpec()
# Create agent with Nory tools
llm = OpenAI(model="gpt-4")
agent = ReActAgent.from_tools(tool_spec.to_tool_list(), llm=llm)
# Agent can now pay for premium data!
response = agent.chat("Get the current price of Bitcoin")
print(response)
Available Tools
| Tool | Description | Cost |
|---|---|---|
fetch_paid |
Fetch any URL with auto x402 payment | Varies |
crypto_prices |
Real-time crypto prices | $0.001 |
weather |
Weather + 7-day forecast | $0.002 |
translate |
Translate 20+ languages | $0.005 |
web_summary |
Extract webpage content | $0.01 |
Environment
export NORY_WALLET_KEY="your-solana-private-key"
Links
- Website | Docs | x402 Protocol
Metadata
Release files for llamaindex-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 | Provenance | Actions |
|---|---|---|---|---|
| llamaindex_nory-0.1.0.tar.gz | 3.7 kB | Without provenance | Details for llamaindex_nory-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llamaindex_nory-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for llamaindex_nory-0.1.0-py3-none-any.whl |
Total release size: 7.8 kB
Release files / llamaindex_nory-0.1.0.tar.gz
| Download URL | llamaindex_nory-0.1.0.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
85dc4ba5109afd491162523737d4a58c7954aa6feb0c660ebf5feccbffdfe82e
|
|
BLAKE2b-256 checksum How to use checksums |
399547143692152924945e23f7419bafd3dbc943d1590256e804180236ee4018
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.3
|
Release files / llamaindex_nory-0.1.0-py3-none-any.whl
| Download URL | llamaindex_nory-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6529046847dbf4b8c0283640ea73ce7061fe716c4843ba10235a6bce4f6573af
|
|
BLAKE2b-256 checksum How to use checksums |
dbb9b2990e6d0fe436a625f2a398ae8e20ffa811deee962b7785f7775b368826
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.3
|
Security for llamaindex-nory 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.