Skip to main content

llama-index-tools-botsrated

A LlamaIndex tool spec for BotsRated (beta). Use it as a pre-payment check before an agent pays an x402 seller.

Status: published on PyPI: llama-index-tools-botsrated 0.1.0. It depends on the botsrated package. LlamaIndex no longer accepts new integration packages in its monorepo, so this package is published on its own.

pip install llama-index-tools-botsrated
from llama_index.tools.botsrated import BotsRatedToolSpec

tools = BotsRatedToolSpec().to_tool_list()      # ["preflight"] (free)

from botsrated import BotsRatedClient
# x402_client: an x402.x402ClientSync with your signer; it only signs BotsRated's quote rebuilt from
# allowlisted fields (no Permit2, no payment extensions).
tools = BotsRatedToolSpec(BotsRatedClient(budget_usd="0.02", x402_client=x402_client)).to_tool_list()
# ["preflight", "paid_check"]: paid_check costs $0.001 (first 100/day free, charged: false) and stops at the budget

preflight(url, pay_to=None, network=None, amount=None) returns the latest probe. When pay_to is given, it also returns decision.action (allow or block) and the reasons.

Tests: pytest tests.

Metadata

Release files for llama-index-tools-botsrated 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llama-index-tools-botsrated 0.1.1
File Size Uploaded Provenance
llama_index_tools_botsrated-0.1.1.tar.gz 4.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for llama-index-tools-botsrated 0.1.1
File Interpreter ABI Platform
llama_index_tools_botsrated-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 8.7 kB

Release files / llama_index_tools_botsrated-0.1.1.tar.gz

Download URL llama_index_tools_botsrated-0.1.1.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
6cf5d0fe77548076f2be4c63b572dc08c302cb1c7ae2cf6368a12d22d684c51c
BLAKE2b-256 checksum
How to use checksums
3dcf4ed8f7738f240b5874b25229fee587af087d2eebeb7f85ec53cb3c940484
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / llama_index_tools_botsrated-0.1.1-py3-none-any.whl

Download URL llama_index_tools_botsrated-0.1.1-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3ab22d8a5b793446267ab834cbe35dba1647427b10e97f9b85c624a9aca31c63
BLAKE2b-256 checksum
How to use checksums
c9f2ac69fa8f378f1acdd74b7a055e069596262da4ab4371abfe656237c588fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for llama-index-tools-botsrated 0.1.1

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page