Skip to main content

autogen-surface

Surface checks a short link before your agent opens it. The answer is fetch or skip. It never returns the page. A hop or a 1×1 pixel counts the same way, with no install. Free for the first million requests a month. https://nova-otter-delta-cloud.grok.me

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

Surface by Canada Site Ops. Ontario, Canada.

This package also ships an agent skill at src/autogen_surface/skills/surface-preflight/SKILL.md. Skill installers that scan Python packages will find a keyed init-then-preflight recipe.

Get a free API key in about 10 seconds

No email, no card. Then set SURFACE_KEY or SURFACE_API_KEY. The tool sends it as Authorization: Bearer <key>.

curl -s -X POST https://nova-otter-delta-cloud.grok.me/v1/keys
# returns {"key","created_at","free_monthly":1000000,"usage_url"}
export SURFACE_KEY=...       # or SURFACE_API_KEY; paste the key value

A key gets its own million free requests a month. The tool also runs without a key on a shared demo limit.

python -m surfaceapi init
python -m surfaceapi preflight https://youtu.be/jNQXAC9IVRw

The first command writes .env. The second reads that key and calls POST /v1/preflight. The answer is fetch or skip.

Install

pip install autogen-surface
from autogen_agentchat.agents import AssistantAgent
from autogen_surface import surface_preflight

agent = AssistantAgent("researcher", model_client=model_client, tools=[surface_preflight])

The tool returns next: fetch or next: skip, plus where the link really goes (unwraps t.co, bit.ly, lnkd.in, youtu.be). It never downloads the page. On any error it answers skip.

Prefer MCP?

Mint a key first, then paste this into your MCP settings (tool preflight_url):

{
  "mcpServers": {
    "surface": {
      "type": "http",
      "url": "https://nova-otter-delta-cloud.grok.me/mcp",
      "headers": {
        "Authorization": "Bearer REPLACE_WITH_YOUR_KEY"
      }
    }
  }
}

Also listed

Metadata

Release files for autogen-surface 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for autogen-surface 0.1.5
File Size Uploaded Provenance Actions
autogen_surface-0.1.5.tar.gz 4.3 kB Without provenance Details for autogen_surface-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for autogen-surface 0.1.5
File Interpreter ABI Platform Actions
autogen_surface-0.1.5-py3-none-any.whl Python 3 none any Details for autogen_surface-0.1.5-py3-none-any.whl

Total release size: 11.0 kB

Release files / autogen_surface-0.1.5.tar.gz

Download URL autogen_surface-0.1.5.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
dc9c8eb149bd9da81e89ab01a578475ca97a656630ccba9c7dc4c11ed6487669
BLAKE2b-256 checksum
How to use checksums
8bc1a879bbdbe4d890a2a7b7665f421bb81199fc54107f87b5558a2ce3ba7977
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / autogen_surface-0.1.5-py3-none-any.whl

Download URL autogen_surface-0.1.5-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e81453be4907dfadb2161e7635e73cebbb1989df94e69325d3c1f504d9844047
BLAKE2b-256 checksum
How to use checksums
619ec034670b82dd8ed8513198cc6c690cca12636019320bd01999318bca7ded
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Security for autogen-surface 0.1.5

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