Skip to main content

SXP Python SDK

Zero-dependency Python SDK and CLI v2.0.0 for SXP (Scoped Execution Protocol).

Install

python -m pip install "https://github.com/matthewmajo/sxp/releases/download/v2.0.0/scoped_execution_protocol-2.0.0-py3-none-any.whl"

The distribution is named scoped-execution-protocol. Use import sxp in Python and sxp at the command line.

Quickstart

from sxp import AgentKernel, AppConnector, EffectClass, HardRail

app = AppConnector("notes", summary="Local markdown notes", untrusted=False)

@app.tool(effect=EffectClass.READ)
def search_notes(query: str, limit: int = 5):
    """Search saved markdown notes."""
    return {"query": query, "limit": limit}

kernel = AgentKernel(rails=[HardRail.require_preview_for_writes(), HardRail.block_tainted_egress()])
kernel.connect_app(app)

CLI

python3 -m sxp host-config --host cursor --config .mcp.json
# or once installed:
sxp host-config --host cursor --config .mcp.json

Documentation

Metadata

Release files for scoped-execution-protocol 2.0.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 scoped-execution-protocol 2.0.0
File Size Uploaded Provenance Actions
scoped_execution_protocol-2.0.0.tar.gz 182.0 kB With provenance Details for scoped_execution_protocol-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for scoped-execution-protocol 2.0.0
File Interpreter ABI Platform Actions
scoped_execution_protocol-2.0.0-py3-none-any.whl Python 3 none any Details for scoped_execution_protocol-2.0.0-py3-none-any.whl

Total release size: 303.7 kB

Release files / scoped_execution_protocol-2.0.0.tar.gz

Download URL scoped_execution_protocol-2.0.0.tar.gz
Size 182.0 kB
Tags Source
SHA-256 checksum
How to use checksums
be985a69395a9f8d75cc20100d4b51f123cf0ade48afecf0035da5fe3396d080
BLAKE2b-256 checksum
How to use checksums
02db2be7a4283975e63c797b0bcbd0b7a39dfe3816f67efe88d3bcbcea0df8f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / scoped_execution_protocol-2.0.0-py3-none-any.whl

Download URL scoped_execution_protocol-2.0.0-py3-none-any.whl
Size 121.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
41720b29b62f4bcfeb603f1271c6f2d83b4d87209945dbe371123d8bc70f34c6
BLAKE2b-256 checksum
How to use checksums
5fc34a28061418f3dd6ad9e4ea6490d3b74c62262698777d01808099d86b88b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Security for scoped-execution-protocol 2.0.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for scoped_execution_protocol-2.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files Full provenance

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