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.2

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.2
File Size Uploaded Provenance
llama_index_tools_botsrated-0.1.2.tar.gz 4.4 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 9.0 kB

Release files / llama_index_tools_botsrated-0.1.2.tar.gz

Download URL llama_index_tools_botsrated-0.1.2.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
18c8c6bcda5c8098fb85a56bb0ea330976d48e197b8dc135402915921ed4c9ba
BLAKE2b-256 checksum
How to use checksums
17e3115c81f106d1259d9c47e1c1925d8ccd13f3ba2850a7eec12b68fbf7c673
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.2-py3-none-any.whl

Download URL llama_index_tools_botsrated-0.1.2-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7eed0fc068798e3ed973fda25dedad868455bebc15afb0b1fd2acfb0a99077cd
BLAKE2b-256 checksum
How to use checksums
023dba7a889dc784b70e7c20782fb5882f76d0dd0fb3457b540e86b8588b7c42
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.2

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