Skip to main content

smolagents-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. If Surface can't be reached, the tool answers skip, so your agent stays safe.

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

pip install smolagents-surface
from smolagents import CodeAgent
from smolagents_surface import surface_preflight

agent = CodeAgent(tools=[surface_preflight], model=model)

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 smolagents-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 smolagents-surface 0.1.0
File Size Uploaded Provenance Actions
smolagents_surface-0.1.0.tar.gz 3.1 kB Without provenance Details for smolagents_surface-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 7.4 kB

Release files / smolagents_surface-0.1.0.tar.gz

Download URL smolagents_surface-0.1.0.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
9669a2e633176f0f1711492d00bf5f5682cd195c8579c5c71ac921734d62ee70
BLAKE2b-256 checksum
How to use checksums
04751dd4995dd0afd556bad6c925c066211962ecec28ef0ed1b6821c1142be41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

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

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

Security for smolagents-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