Skip to main content

llama-index tools SibFly integration — measured ground motion per US address from NASA InSAR

Project description

LlamaIndex Tools: SibFly

SibFly tool spec for LlamaIndex — measured ground motion for any US address.

Give it a US address (or lat/lon) and it tells your agent how fast the ground is sinking or rising, in mm/year, measured from NASA OPERA Sentinel-1 satellite radar (InSAR) — measured, not modeled. Negative mm/year = sinking.

Agent-friendly pricing: $0.40 per covered report, and misses are free. A free check_coverage preflight lets you size a query before spending.

Install

pip install llama-index-tools-sibfly
export SIBFLY_API_KEY="sf_live_..."

Get a key with free starter credits at sibfly.com. Agents can self-register: POST https://sibfly.com/api/v1/autonomous/register.

Usage

from llama_index.tools.sibfly import SibflyToolSpec

sibfly = SibflyToolSpec()  # reads SIBFLY_API_KEY

# Free preflight
print(sibfly.check_coverage(address="1100 Congress Ave, Austin, TX"))

# Paid report ($0.40 if covered)
doc = sibfly.check_ground_motion(address="1100 Congress Ave, Austin, TX")
print(doc.text)       # short verdict
print(doc.metadata)   # structured fields

# Free dry-run preview
sibfly.check_ground_motion(lat=30.3244, lon=-97.8102, dry_run=True)

Route logic on metadata["assessment_code"] — one of rapid_subsidence, notable_subsidence, stable, mild_uplift, strong_uplift.

Use it in an agent

from llama_index.tools.sibfly import SibflyToolSpec
from llama_index.core.agent.workflow import FunctionAgent
from llama_index.llms.anthropic import Anthropic

agent = FunctionAgent(
    tools=SibflyToolSpec().to_tool_list(),
    llm=Anthropic(model="claude-sonnet-5"),
)

Links

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llama_index_tools_sibfly-0.1.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llama_index_tools_sibfly-0.1.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file llama_index_tools_sibfly-0.1.0.tar.gz.

File metadata

File hashes

Hashes for llama_index_tools_sibfly-0.1.0.tar.gz
Algorithm Hash digest
SHA256 231a95c2f36645261428ff74382f135f4049350425160af08060017e0d254338
MD5 2ddf8f8a9fed279ac977a9da7ed55da1
BLAKE2b-256 14042f7c0fe590aca592cb03d3dec6065d2add3e39e81087a770fc9a84f7217e

See more details on using hashes here.

File details

Details for the file llama_index_tools_sibfly-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for llama_index_tools_sibfly-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a163cac8ec56de0ae507fdbe446ca9fddd762a8d16cb023b5ae9259e6236050d
MD5 a3b771a9133d8257b348eac47cc51ee7
BLAKE2b-256 ee9e5a08685b7ae41a16c2bd48a5988071cc53e8bed2690a7d8ea4f6e3f413c2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page