Skip to main content

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 plugin/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_runtime from requirements.txt instead of keeping a generated helper file in plugin/
  • 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 plugin/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-runtime when 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 plugin/plugin_runtime.py scaffold surface.

Docs

Metadata

Release files for plugin-kit-ai-runtime 1.2.4

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

Source distribution (sdist)

Source distribution for plugin-kit-ai-runtime 1.2.4
File Size Uploaded
plugin_kit_ai_runtime-1.2.4.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for plugin-kit-ai-runtime 1.2.4
File Interpreter ABI Platform
plugin_kit_ai_runtime-1.2.4-py3-none-any.whl Python 3 none any Details

Total release size: 8.3 kB

Release files / plugin_kit_ai_runtime-1.2.4.tar.gz

Download URL plugin_kit_ai_runtime-1.2.4.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b55cef55ec2b0a300af92df78bc5ebd37336ca06101968704a4eaff83e072d35
BLAKE2b-256 checksum
How to use checksums
8114f2a65fd18fe3e341caa9f1435c125747b415ae5b7d07d1f023e1bd06ed95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 24, 2026.

Transparency log

Release files / plugin_kit_ai_runtime-1.2.4-py3-none-any.whl

Download URL plugin_kit_ai_runtime-1.2.4-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d027c73cc65ea80565c7388888f699463728d7b1de2bc15089d08393b0eb8709
BLAKE2b-256 checksum
How to use checksums
a8169f53e05bf67bdcf1bf58235a61e80e1604fc2f34b4e631ce8a60e1fbed89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 24, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.2.4 This release

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.6

2 release files

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