Skip to content

Python SDK

Python extensions use insitu.sdk, which ships in the insitu wheel; the engine itself is the native binary. The reference below is generated from the SDK's docstrings on the documentation site.

Extension(*, name: str, version: str)

Register typed capabilities, then serve them over stdin/stdout.

Context(root: Path, location: Location, _peer: JsonRpcPeer, dependencies: list[str], trace: tuple[str, ...]) dataclass