Skip to main content

llama-index-tools-surface

Surface is the link-safety layer between an AI agent and the open web. Before your agent opens a link someone pasted, Surface checks it: it unwraps short links (t.co, bit.ly, lnkd.in, youtu.be), follows the redirects, and answers fetch or skip, along with where the link really goes. It never downloads the page for you, so it's fast and cheap.

This package gives llamaindex agents that check as one ready-made tool: surface_preflight.

pip install llama-index-tools-surface
from llama_index.tools.surface import SurfaceToolSpec

tools = SurfaceToolSpec().to_tool_list()

The tool returns:

{"next": "fetch", "fetch": true, "url": "https://youtu.be/jNQXAC9IVRw",
 "final_url": "https://www.youtube.com/watch?v=jNQXAC9IVRw&feature=youtu.be",
 "final_host": "youtube.com", "status": 200, "redirects": 1, "shortener": true,
 "reason": "unwrapped youtu.be → youtube.com · alive, worth a fetch"}

Free to start

The first 1M requests a month are free. It works with no key at all (shared demo limit), or grab your own free key in one call, with no email and no card:

curl -s -X POST https://nova-otter-delta-cloud.grok.me/v1/keys
export SURFACE_API_KEY=...

After the free tier: $0.25 USD per 1,000 preflights.

Prefer MCP?

Point any MCP client at https://nova-otter-delta-cloud.grok.me/mcp (tool preflight_url).

Made by Canada Site Ops. MIT licensed.

Metadata

Release files for llama-index-tools-surface 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-surface 0.1.0
File Size Uploaded Provenance Actions
llama_index_tools_surface-0.1.0.tar.gz 3.3 kB Without provenance Details for llama_index_tools_surface-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 8.0 kB

Release files / llama_index_tools_surface-0.1.0.tar.gz

Download URL llama_index_tools_surface-0.1.0.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1af0691d6a8f53881e296bc6e68d447c49268f5c7c602a6f7d5f81771e118618
BLAKE2b-256 checksum
How to use checksums
2f65ec68623d2c69ed8d670dfcef46bd350eb9d4d0fb426f960fe69b29506084
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_surface-0.1.0-py3-none-any.whl

Download URL llama_index_tools_surface-0.1.0-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fa0a3c74be19d3a512e994a30a1b9060ec400b1a0d911c87c57514f3d88314b1
BLAKE2b-256 checksum
How to use checksums
5d6b428fac7118a4bb962c52ebfe57c4018af1c6ba6c1538bebf78247824a67f
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-surface 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