Skip to main content

semantic-kernel-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 Semantic Kernel agents that check as one ready-made tool: SurfacePlugin.

Surface by Canada Site Ops. Ontario, Canada.

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

Quickstart

The first call mints a free key (POST /v1/keys, no email, no card), makes a keyed preflight, and caches the key in .env and ~/.config/surface/key. The answer is fetch or skip. A key gets its own million free requests a month.

pip install semantic-kernel-surface
python -c "from semantic_kernel_surface import preflight; print(preflight('https://youtu.be/jNQXAC9IVRw'))"

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>.

KEY=$(curl -s -X POST https://nova-otter-delta-cloud.grok.me/v1/keys | python3 -c "import sys,json; print(json.load(sys.stdin)['key'])")
export SURFACE_KEY="$KEY"
curl -s -H "Authorization: Bearer $KEY" "https://nova-otter-delta-cloud.grok.me/v1/preflight?url=https://youtu.be/jNQXAC9IVRw"

That is one copy-paste: it mints a free key and makes the first keyed preflight. The answer is fetch or skip. You can also set SURFACE_API_KEY to the same value.

A key gets its own million free requests a month. If no key is set, the first preflight call mints a free key (POST /v1/keys), keeps it for later calls, and writes it to .env and ~/.config/surface/key when possible. Prefer setting SURFACE_KEY yourself when you already have one.

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 semantic-kernel-surface
from semantic_kernel import Kernel
from semantic_kernel_surface import SurfacePlugin

kernel = Kernel()
kernel.add_plugin(SurfacePlugin(), plugin_name="surface")

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 semantic-kernel-surface 0.1.8

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

Source distribution (sdist)

Source distribution for semantic-kernel-surface 0.1.8
File Size Uploaded Provenance Actions
semantic_kernel_surface-0.1.8.tar.gz 5.6 kB Without provenance Details for semantic_kernel_surface-0.1.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for semantic-kernel-surface 0.1.8
File Interpreter ABI Platform Actions
semantic_kernel_surface-0.1.8-py3-none-any.whl Python 3 none any Details for semantic_kernel_surface-0.1.8-py3-none-any.whl

Total release size: 13.9 kB

Release files / semantic_kernel_surface-0.1.8.tar.gz

Download URL semantic_kernel_surface-0.1.8.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
653df110b819d54c38528a79fbb4aed50f25cbc06176c87093fca991f84798d3
BLAKE2b-256 checksum
How to use checksums
8ce2a48354f5b24fa1f6b05105477bd08c9e615c7a9107dd96f72e401e0d9439
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / semantic_kernel_surface-0.1.8-py3-none-any.whl

Download URL semantic_kernel_surface-0.1.8-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7eea9d6bc79417aabffb8eaad485cb08e6b4a0b5002bca4cf8187acec8c9cf46
BLAKE2b-256 checksum
How to use checksums
9c5f0130b7800d181aca97c7830ac04131111f5198d97bba1dc14a230fd45b57
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Security for semantic-kernel-surface 0.1.8

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