Skip to main content

Horizon Desk SDK v1.3.0 🚀

The official Python SDK for building, testing, and publishing plugins for Horizon Desk.

What's New in v1.3.0

  • Externally Hosted Plugins: Support for plugins hosted on custom local ports (e.g., Flask, Django backends) using the hosted_url manifest field.
  • Package Renaming: The SDK is now officially horizondesk_sdk.
  • Strict Navigation Policy: Built-in support for the new Horizon Desk security model which forces external links to the system browser.

Installation

pip install horizondesk_sdk

Quick Start

  1. Initialize:

    horizondesk_sdk init MyPlugin
    
  2. Develop: Edit main.py and add your tools. Use HorizonPlugin to register them.

  3. Link UI: Set custom_ui=True and provide a custom_ui_path (for static HTML) or hosted_url (for Flask/Django).


CLI Command Reference

Execute commands using horizondesk_sdk <command>.

Command Arguments Description
init <name> Scaffolds a new plugin directory with a template.
run <file.raf> Launches the Workshop GUI to visually debug your plugin.
test [--prompt] Runs a rapid CLI test using a MockAgent.
install — Installs the current plugin into the local Horizon Desk app.
login — Authenticates your workstation with the Rapnss Store.
logout — Clears local authentication credentials.
whoami — Displays current developer profile and ad balance.
publish — Packages and uploads your plugin to the Horizon Store.
status — Lists your published plugins and their approval status.

Manifest Reference (horizon_plugin.raf)

The .raf file is a JSON manifest that defines your plugin's identity and capabilities.

Field Type Required Description
name string Yes The unique name of your plugin (PascalCase preferred).
version string Yes Semantic version (e.g., "1.3.0").
developer string Yes Your developer name or handle.
description string Yes A short summary of what the plugin does.
entry_point string Yes The main Python file (usually "main.py").
category string No general, utilities, productivity, creative, system.
custom_ui boolean No Set to true to enable a sidebar tab.
custom_ui_path string No Relative path to the folder containing index.html.
hosted_url string No (New in v1.3.0) Local URL for Flask/Django UIs (e.g. http://localhost:5000).
icon string No Relative path to a 128x128 PNG sidebar icon.

Security & Best Practices

  • SecretStorage: Never hardcode API keys. Use SecretStorage.get_secret("MY_KEY").
  • PII Redaction: Use SecretStorage.redact_pii(text) to sanitize data before sending to external LLMs.
  • Timeouts: Always use timeout= in network requests (e.g., requests.get(url, timeout=10)).

Support

Metadata

Release files for horizondesk-sdk 1.4.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 horizondesk-sdk 1.4.0
File Size Uploaded Provenance Actions
horizondesk_sdk-1.4.0.tar.gz 15.3 kB Without provenance Details for horizondesk_sdk-1.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for horizondesk-sdk 1.4.0
File Interpreter ABI Platform Actions
horizondesk_sdk-1.4.0-py3-none-any.whl Python 3 none any Details for horizondesk_sdk-1.4.0-py3-none-any.whl

Total release size: 30.8 kB

Release files / horizondesk_sdk-1.4.0.tar.gz

Download URL horizondesk_sdk-1.4.0.tar.gz
Size 15.3 kB
Tags Source
SHA-256 checksum
How to use checksums
6c4deb83ea26930bcc639528cb113b30f8ee272a52ef83398ef11694d719e30d
BLAKE2b-256 checksum
How to use checksums
afda7b4a7512ead6758193fdf93403ee4a0a0ab283573e64229ac537fe4a1a43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Release files / horizondesk_sdk-1.4.0-py3-none-any.whl

Download URL horizondesk_sdk-1.4.0-py3-none-any.whl
Size 15.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2ffbca1ffe66f5684e7de1c08aaec7b5df10c0f0c835fa017a371eb9cf01682e
BLAKE2b-256 checksum
How to use checksums
bb8c66fb05ae0d4ff4f041919796f354ddb2c5855e7685af3ec03df29ec114db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Security for horizondesk-sdk 1.4.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