Skip to main content

⚡ NNI: The Neural-Native Interconnect Protocol

PyPI License Status

The AI industry is running 21st-century neural networks on 1990s web protocols.
When autonomous agents, edge NPUs, and LLMs communicate, high-dimensional tensors are serialized into bloated JSON strings, wrapped in HTTP headers, and sent over TCP.

NNI replaces this "Interconnect Tax" with a hardware-native, zero-copy neural fabric.


📊 Verified Telemetry Benchmark (128-float Latent Tensor)

Deployment Tier Traditional HTTP/JSON NNI Neural Fabric Advantage
Tier 1: On-Die Silicon Reflex 3,263 µs 32.9 µs (0.03 ms) ~99x Faster (L3 Cache Seqlock)
Tier 2: Edge-to-Edge Direct LAN 3,263 µs 136.4 µs (0.13 ms) ~24x Faster (0-RTT UDP P2P)
Tier 3: Edge-to-Cloud WAN ~570.0 ms 385.4 ms Speed-of-Light Floor (India ↔ Sweden)
Local Wire Size ~1,432 Bytes 128 Bytes 91.1% Less Data
WAN Wire Egress ~1,832 Bytes (w/TLS) 200 Bytes 89.1% Less Cloud Egress
Cloud Confidentiality Cleartext / Proxy logs Zero-Knowledge AEAD End-to-End Blind Forwarding

🚀 Quickstart: 3 Lines in Python

pip install nni-mesh

1. Host an AI Endpoint (e.g. on your laptop or GPU):

import nni_mesh as nni

# Automatically joins global mesh & advertises on LAN multicast
node = nni.Node()
node.serve("vision", lambda tensor: [x * 2.0 for x in tensor])

2. Query from Anywhere on Earth (1 Line):

import nni_mesh as nni

client = nni.Client()
# Resolves target via vector resonance, negotiates keys, and streams tensor:
result = client.send("vision", [1.25] * 128)
print("Output:", result[0])  # 2.5

Metadata

Release files for nni-mesh 0.2.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for nni-mesh 0.2.5
File Interpreter ABI Platform Actions
nni_mesh-0.2.5-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for nni_mesh-0.2.5-cp311-abi3-win_amd64.whl
nni_mesh-0.2.5-cp311-abi3-manylinux_2_34_x86_64.whl CPython 3.11 abi3 Linux glibc 2.34+ x86-64 Details for nni_mesh-0.2.5-cp311-abi3-manylinux_2_34_x86_64.whl
nni_mesh-0.2.5-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for nni_mesh-0.2.5-cp311-abi3-macosx_11_0_arm64.whl

Total release size: 917.7 kB

Release files / nni_mesh-0.2.5-cp311-abi3-win_amd64.whl

Download URL nni_mesh-0.2.5-cp311-abi3-win_amd64.whl
Size 261.2 kB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
62337dbe9dc17627b4d50c02921e07439980413d8740fd514c7d55072609b73a
BLAKE2b-256 checksum
How to use checksums
d448974c51cae68f21ba6ac3c762756e98c98ad0aa792ed6705373b528bb9618
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.16.0

Release files / nni_mesh-0.2.5-cp311-abi3-manylinux_2_34_x86_64.whl

Download URL nni_mesh-0.2.5-cp311-abi3-manylinux_2_34_x86_64.whl
Size 354.6 kB
Tags CPython 3.11 Linux glibc 2.34+ x86-64 abi3
SHA-256 checksum
How to use checksums
93f1421be3f2fb965cfc6a4df5bb0a5b93579a2ad0bd440cc034bcf943615383
BLAKE2b-256 checksum
How to use checksums
333778670a5d280ca611018e79e769b9596edd07373b0d475f1db89501a3a483
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.16.0

Release files / nni_mesh-0.2.5-cp311-abi3-macosx_11_0_arm64.whl

Download URL nni_mesh-0.2.5-cp311-abi3-macosx_11_0_arm64.whl
Size 301.9 kB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
2be26c750a53bd2af6051eb46e19a8e493870b851f1d79aa1be724fe2bff2c98
BLAKE2b-256 checksum
How to use checksums
2b96342f662476ca6f3a9649b9e4365d6e4f83fb8f7d44d8c3882fe35e9e7691
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.16.0

Security for nni-mesh 0.2.5

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.2.5 This release

3 release files No provenance

0.2.0

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