Official Python runtime helpers for plugin-kit-ai executable plugins
Project description
plugin-kit-ai-runtime (PyPI authoring helper)
Official Python helper package for launcher-based plugin-kit-ai plugins.
Use it when you want the supported handler-oriented API as a shared dependency instead of generating a local src/plugin_runtime.py helper in each repo.
Most teams should start with the default local-helper path first and switch to this package only when they want one reusable helper dependency across multiple repos.
Start Here
Use this package when:
- you want the same helper dependency across multiple plugin repos
- you want to import
plugin_kit_ai_runtimefromrequirements.txtinstead of keeping a generated helper file insrc/ - you already know that the shared-package path is the right long-term fit
Do not use this package just because it sounds more production-like.
It does not remove the Python runtime requirement from the machine that runs the plugin. If you want the simplest first repo, use the default local-helper path instead.
Fastest Working Setup
Scaffold a Python project directly on the shared-package path:
plugin-kit-ai init my-plugin --platform codex-runtime --runtime python --runtime-package
cd my-plugin
plugin-kit-ai doctor .
plugin-kit-ai bootstrap .
plugin-kit-ai generate .
plugin-kit-ai validate . --platform codex-runtime --strict
plugin-kit-ai test . --platform codex-runtime --event notify
If Claude hooks are your real first requirement, scaffold with --platform claude instead and use:
plugin-kit-ai test . --platform claude --all
If you are testing from a local development build of the CLI instead of a released version, pass --runtime-package-version explicitly during init.
Released stable CLIs pin the matching helper version automatically.
Install:
pip install plugin-kit-ai-runtime
Minimal src/main.py
Typical entrypoint when you want this mode from day one:
from plugin_kit_ai_runtime import CodexApp, continue_
app = CodexApp()
@app.on_notify
def on_notify(event):
_ = event
return continue_()
raise SystemExit(app.run())
Keep stdout reserved for tool responses and write diagnostics to stderr only.
Quick Decision Rule
- choose the default local-helper path when you want the smoothest first repo
- choose
plugin-kit-ai-runtimewhen you want one reusable helper dependency across repos - choose Go instead when you want the cleanest packaging and distribution story
Notes
- Go is still the recommended path when you want the most self-contained delivery model.
- Python authoring remains a stable supported lane, but the machine running the plugin still needs Python
3.10+. - The helper API mirrors the generated
src/plugin_runtime.pyscaffold surface.
Docs
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file plugin_kit_ai_runtime-1.1.0.tar.gz.
File metadata
- Download URL: plugin_kit_ai_runtime-1.1.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ddaac4d269d96f322447987252ee10cc94d45d44939d3b15b16fb5bdb4991e1d
|
|
| MD5 |
0ee4421506bc23208cdd12df7758dbaa
|
|
| BLAKE2b-256 |
6c74071eaee3c144d11d95701a8d9f3223c20d8c0ea25c0827fa297ee555f29b
|
Provenance
The following attestation bundles were made for plugin_kit_ai_runtime-1.1.0.tar.gz:
Publisher:
pypi-runtime-publish.yml on 777genius/plugin-kit-ai
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
plugin_kit_ai_runtime-1.1.0.tar.gz -
Subject digest:
ddaac4d269d96f322447987252ee10cc94d45d44939d3b15b16fb5bdb4991e1d - Sigstore transparency entry: 1338579349
- Sigstore integration time:
-
Permalink:
777genius/plugin-kit-ai@c2114493c8c0e55bf57d42f8bb9624a8640e87a4 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/777genius
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-runtime-publish.yml@c2114493c8c0e55bf57d42f8bb9624a8640e87a4 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file plugin_kit_ai_runtime-1.1.0-py3-none-any.whl.
File metadata
- Download URL: plugin_kit_ai_runtime-1.1.0-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a020a040d351c9e1fb5f2373451bc4b081b5612971993f30fbe94e7d4ec3357c
|
|
| MD5 |
1256adea3561ff249e5ca6074b777f3c
|
|
| BLAKE2b-256 |
e1199928666bc6eda9f7a6eddfc36524109cd17a2672b0731c2c8172dd960302
|
Provenance
The following attestation bundles were made for plugin_kit_ai_runtime-1.1.0-py3-none-any.whl:
Publisher:
pypi-runtime-publish.yml on 777genius/plugin-kit-ai
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
plugin_kit_ai_runtime-1.1.0-py3-none-any.whl -
Subject digest:
a020a040d351c9e1fb5f2373451bc4b081b5612971993f30fbe94e7d4ec3357c - Sigstore transparency entry: 1338579357
- Sigstore integration time:
-
Permalink:
777genius/plugin-kit-ai@c2114493c8c0e55bf57d42f8bb9624a8640e87a4 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/777genius
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-runtime-publish.yml@c2114493c8c0e55bf57d42f8bb9624a8640e87a4 -
Trigger Event:
workflow_dispatch
-
Statement type: