Skip to main content

naas-abi-proto

The canonical ABI v1 protobuf schemas, generated Python classes, and type stubs. The only runtime dependency is protobuf. This package does not import ABI core, the SDK, NATS, domain implementations, or engine frameworks.

from naas_abi_proto.object_storage.v1 import object_storage_pb2
request = object_storage_pb2.PutObjectRequest(prefix="demo", key="hello", content=b"world")

Schemas live in naas_abi_proto/<service>/v1/. Wire packages (abi.<service>.v1), field numbers, message names, and NATS subjects are unchanged by extraction. Core's old Python modules re-export these exact classes; old .proto files import publicly from this package. Compile legacy schemas with both package roots in the include path. Do not regenerate duplicate definitions under the old namespace.

Generated files are checked in and included in both wheels and source distributions. Run make generate with UV to use pinned grpcio-tools==1.78.0, isolated from the engine's dependency environment. It regenerates Python files and SDK clients, then applies the repository formatter. Run make deps test lint build locally.

Only additive changes belong in v1. Breaking changes require v2 schemas and subjects. This extraction preserves existing validation semantics: v1 currently has no Protovalidate annotations. The engine's adapters remain the validation boundary; this package does not claim client-side semantic validation. Introducing annotations and the corresponding runtime is a separate contract change.

Remote workflows and pipelines

discovery/v1/discovery.proto lists what a module serves in ModuleDescriptor.processes (ProcessDescriptor: name, kind workflow or pipeline, description, contract major; field 9) and AuthorizeProcessRequest/Response let the serving module ask discovery whether a caller may call one. process/v1/process.proto (abi.process.v1) is the call: RunRequest (parameters as JSON, the caller's deadline) answers RunResponse (result_json for a workflow, graph_nt, N-Triples, for a pipeline), and DescribeRequest/DescribeResponse give the parameters' JSON schema. They travel on abi.mod.<project>.<instance_id>.process.<kind>.<name>.run|describe. A payload above one message follows from parameters_inbox / body_inbox, pulled with abi.app.v1 BodyPull/BodyChunk. It has no client class: the SDK's process_host and process_proxy use the messages directly (tools/generate_clients.py skips the package).

Documentation

Metadata

Release files for naas-abi-proto 0.3.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 naas-abi-proto 0.3.0
File Size Uploaded Provenance Actions
naas_abi_proto-0.3.0.tar.gz 124.0 kB With provenance Details for naas_abi_proto-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for naas-abi-proto 0.3.0
File Interpreter ABI Platform Actions
naas_abi_proto-0.3.0-py3-none-any.whl Python 3 none any Details for naas_abi_proto-0.3.0-py3-none-any.whl

Total release size: 267.4 kB

Release files / naas_abi_proto-0.3.0.tar.gz

Download URL naas_abi_proto-0.3.0.tar.gz
Size 124.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0c051f31f364bae31ac99aaacf2c8ffc6c801a96fff339437886a73aef7cd131
BLAKE2b-256 checksum
How to use checksums
8e214682b709d7adddaaf6c122aae81f44f0505eab502070c10741cd96487c46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Nov 7, 2026.

Transparency log

Release files / naas_abi_proto-0.3.0-py3-none-any.whl

Download URL naas_abi_proto-0.3.0-py3-none-any.whl
Size 143.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ad49348840cd01a8a3b0313d40ee94f31971d1f358285eec66e9a6c433091fc7
BLAKE2b-256 checksum
How to use checksums
33318a428639a0ce601139dc63e8e76c434afd9d08c161fe92dfc027c204d1aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Nov 7, 2026.

Transparency log

Security for naas-abi-proto 0.3.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for naas_abi_proto-0.3.0.tar.gz

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 Nov 7, 2026.

Transparency log

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