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.3

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.3
File Interpreter ABI Platform Actions
nni_mesh-0.2.3-cp314-cp314-manylinux_2_34_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.34+ x86-64 Details for nni_mesh-0.2.3-cp314-cp314-manylinux_2_34_x86_64.whl
nni_mesh-0.2.3-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details for nni_mesh-0.2.3-cp314-cp314-macosx_11_0_arm64.whl
nni_mesh-0.2.3-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for nni_mesh-0.2.3-cp312-cp312-win_amd64.whl

Total release size: 915.8 kB

Release files / nni_mesh-0.2.3-cp314-cp314-manylinux_2_34_x86_64.whl

Download URL nni_mesh-0.2.3-cp314-cp314-manylinux_2_34_x86_64.whl
Size 353.8 kB
Tags CPython 3.14 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
58a456520e33613701eacf92fa0b572e0b828b3532291e9d35bc4a09aaf316c7
BLAKE2b-256 checksum
How to use checksums
883f78abdb3c60469b8c9fbaec7ed7e8d947095b6c72eed045050e3a322a4af9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.16.0

Release files / nni_mesh-0.2.3-cp314-cp314-macosx_11_0_arm64.whl

Download URL nni_mesh-0.2.3-cp314-cp314-macosx_11_0_arm64.whl
Size 300.9 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
b711397078bad278037ed037977da98b8570bb63cd771b83f6b6e114111170a6
BLAKE2b-256 checksum
How to use checksums
9c82204caa04cd558913296c7c9db35227ecab609b2f7fb30b60dc3e6863d287
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.16.0

Release files / nni_mesh-0.2.3-cp312-cp312-win_amd64.whl

Download URL nni_mesh-0.2.3-cp312-cp312-win_amd64.whl
Size 261.0 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
2cbc8bac443e1464e151a2fe42432bfa58b33f247ac1b01eaffba42fe4fac437
BLAKE2b-256 checksum
How to use checksums
aaab141f0aebdcf56e94de5eeaea193031e71de7cff314a6847a9cd4df36a02b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.16.0

Security for nni-mesh 0.2.3

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.3 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