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.4.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.4.0
File Size Uploaded Provenance Actions
naas_abi_proto-0.4.0.tar.gz 124.7 kB With provenance Details for naas_abi_proto-0.4.0.tar.gz

Built distribution (wheel)

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

Total release size: 268.6 kB

Release files / naas_abi_proto-0.4.0.tar.gz

Download URL naas_abi_proto-0.4.0.tar.gz
Size 124.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e4d9c531efbbc228252960ad8d0b5b4c0a9b681b0d51712b2033b6074f41ccb9
BLAKE2b-256 checksum
How to use checksums
850505e114e06a8507e75a661b5dedcdee0ff13aeda5cf8c959fcfd3ddf31d92
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 16, 2026.

Transparency log

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

Download URL naas_abi_proto-0.4.0-py3-none-any.whl
Size 143.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
126b65f64a57435e774b97f62ae1a8a4435ec9fbe8a5a6d0c188b3dcf26286f2
BLAKE2b-256 checksum
How to use checksums
ae6f5f0a59980c38769f9ee8a8172baf4c86b27e6d2d35aba4a9e7d4f4677a46
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 16, 2026.

Transparency log

Security for naas-abi-proto 0.4.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.4.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 16, 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