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.2.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.2.0
File Size Uploaded Provenance Actions
naas_abi_proto-0.2.0.tar.gz 89.9 kB With provenance Details for naas_abi_proto-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 201.9 kB

Release files / naas_abi_proto-0.2.0.tar.gz

Download URL naas_abi_proto-0.2.0.tar.gz
Size 89.9 kB
Tags Source
SHA-256 checksum
How to use checksums
534dda2e94d4059512cc90f4f041707101f0bd2d82b1f844caa0ac2c98aa17ce
BLAKE2b-256 checksum
How to use checksums
ce3f19b0179c966f1a0dbd663fef3f6f9d2aebd5ffe2727561eb6af197f35bc6
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 Oct 26, 2026.

Transparency log

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

Download URL naas_abi_proto-0.2.0-py3-none-any.whl
Size 111.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
807714255e1d7f69161996e0c6ce1751c03a0ca837c516befc2d3777bd6e2f75
BLAKE2b-256 checksum
How to use checksums
c719e01cb153cddbd3e8c45c80ef0602cc70368cacf6ebf1114a49dea1fe34d8
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 Oct 26, 2026.

Transparency log

Security for naas-abi-proto 0.2.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.2.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 Oct 26, 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