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
tools = BotsRatedToolSpec(BotsRatedClient(budget_usd="0.02", paying_get=session.get)).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.0

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.0
File Size Uploaded Provenance
llama_index_tools_botsrated-0.1.0.tar.gz 3.9 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 8.2 kB

Release files / llama_index_tools_botsrated-0.1.0.tar.gz

Download URL llama_index_tools_botsrated-0.1.0.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
82b428b34c6f5919ae2bc9c5ea5b48390bcd6effba8990aeaa35c2d11eaaab9c
BLAKE2b-256 checksum
How to use checksums
ac49409f57f106d6c706c40649dea6344c6f798f34406b997f7fbeb7eb473a96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

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

Download URL llama_index_tools_botsrated-0.1.0-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
663b6bd535f9db1fde5881815876295b99762b6a5e2d73403d8d37a40fe520f0
BLAKE2b-256 checksum
How to use checksums
89e817bbd00f6250e8c44341ba0382aac8463134da9e3762cf4ea0a4f2b4a3d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Security for llama-index-tools-botsrated 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.

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