Skip to content

skrun-native

Py owns the PyO3 module boundary for the core.

Language: rust

Path: crates/py

Owns:

  • skrun_native Python module
  • CoreCommand/CoreResponse JSON ABI entrypoint
  • executable skill runtime JSON ABI entrypoints
  • Python-to-Rust error conversion
  • module-local Core state for prototype bindings

Must Not:

  • duplicate core business logic in Python
  • expose database internals
  • render UI

Inputs:

  • CoreCommand JSON
  • executable skill artifact directories
  • executable skill JSON input

Outputs:

  • CoreResponse JSON
  • executable skill runtime JSON values

Depends On:

  • engine
  • server
  • model
  • runtime

Used By:

  • python/skrun CoreClient.native

Verify:

  • cargo check -p skrun-native