llama-index-tools-truth-bear-gauge
LlamaIndex tool spec for Truth Bear GAUGE, a pay-per-call source of official-record signals (US federal agencies and named registries).
Installation
pip install llama-index-tools-truth-bear-gauge
No API key, no account, no signup for the two free tools.
Tools
| Method | Cost | Purpose |
|---|---|---|
coverage_check |
free | Does a signal line exist, how many objects, how fresh, is the source agency on schedule |
catalog_lookup |
free | Which entity ids are valid for a signal line — filter by signal_id or industry (one required) |
record_request |
paid (x402) | Requests one official record; returns the HTTP 402 payment challenge untouched |
Quick start
from llama_index.tools.truth_bear_gauge import TruthBearGaugeToolSpec
spec = TruthBearGaugeToolSpec()
tools = spec.to_tool_list()
# Use directly
print(spec.coverage_check(signal_id="hydrology.river-level"))
print(spec.catalog_lookup(signal_id="hydrology.river-level"))
With an agent
from llama_index.core.agent import ReActAgent
from llama_index.tools.truth_bear_gauge import TruthBearGaugeToolSpec
tools = TruthBearGaugeToolSpec().to_tool_list()
agent = ReActAgent.from_tools(tools, llm=your_llm, verbose=True)
agent.chat("Is the hydrology.river-level signal line on schedule?")
Design notes
- Standard library only — no dependency beyond
llama-index-core. - No money moves here.
record_requestreturns the x402 challenge untouched; settling it is the caller's own wallet's job. - The catalog filter is required. The unfiltered response is ~1.5 MB — too large for an agent's
context — so a call with neither
signal_idnorindustryreturns an error. - A miss is not an error. An unknown
signal_idreturns{"found": false}rather than raising. - Every paid record ships a canonical sha256
record_hashthat can be recomputed offline.
Metadata
Release files for llama-index-tools-truth-bear-gauge 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 |
|---|---|---|---|---|
| llama_index_tools_truth_bear_gauge-0.1.0.tar.gz | 4.1 kB | Without provenance | Details for llama_index_tools_truth_bear_gauge-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llama_index_tools_truth_bear_gauge-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for llama_index_tools_truth_bear_gauge-0.1.0-py3-none-any.whl |
Total release size: 9.4 kB
Release files / llama_index_tools_truth_bear_gauge-0.1.0.tar.gz
| Download URL | llama_index_tools_truth_bear_gauge-0.1.0.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4d0eb44ae4ff4a92659b3dc7451c80a251161e89789acb743b854b6cf63f9788
|
|
BLAKE2b-256 checksum How to use checksums |
31cd64e23924aa457d8824666e9fff117d6fbce6123aca0f6f41898716621527
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / llama_index_tools_truth_bear_gauge-0.1.0-py3-none-any.whl
| Download URL | llama_index_tools_truth_bear_gauge-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2475030dee82424bfe8852699c9b1824204e22a76fb8d9ae229305fcba6a7931
|
|
BLAKE2b-256 checksum How to use checksums |
658477cec8cd1a9a0ba6808edfb6ff6e55dfb777f3ec403451e659437896efc5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Security for llama-index-tools-truth-bear-gauge 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.