Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Nex

A deterministic language and protocol for agent understanding and alignment.

Status: alpha (0.1.0a1). This repository is the Nex Alpha 1.0 reference protocol and runtime. It is a pre-release: not published to PyPI, and the quantum-related and network features are out of scope.

Quick start

pip install -e ".[dev]"
pytest
nex demo                          # signed two-agent handshake + request
nex glyph Kamyar --format svg     # Nex-G glyph (also json | png | scene)
nex error E709                    # describe an error code
python benchmarks/bench.py        # simple benchmarks

What is implemented

  • Nex-J / Nex-T parsing, strict JSON-Schema validation (cached validators), RFC 8785-style canonical JSON.
  • Runtime: handshake, sessions, Ed25519 signatures, nonce/replay protection, duplicate-id detection, task state machine, error registry (E-codes) and ERROR responses, memory and SQLite stores, cleanup worker.
  • Nex-G: deterministic integer-only glyph geometry, SVG, PNG, and a deterministic 3D scene description.
  • Experimental (non-normative): ultrasonic symbol encoding, NEP-0007. It never changes Nex-J, which stays canonical.
  • Crypto agility: documented in NEP-0002, including a reserved slot for a future post-quantum signature algorithm. No post-quantum or quantum features are implemented.

Layout

See CONTRIBUTING.md, SECURITY.md and CHANGELOG.md.

Metadata

Release files for nex-protocol 0.1.0a1

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

Source distribution (sdist)

Source distribution for nex-protocol 0.1.0a1
File Size Uploaded Provenance Actions
nex_protocol-0.1.0a1.tar.gz 54.1 kB With provenance Details for nex_protocol-0.1.0a1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nex-protocol 0.1.0a1
File Interpreter ABI Platform Actions
nex_protocol-0.1.0a1-py3-none-any.whl Python 3 none any Details for nex_protocol-0.1.0a1-py3-none-any.whl

Total release size: 106.0 kB

Release files / nex_protocol-0.1.0a1.tar.gz

Download URL nex_protocol-0.1.0a1.tar.gz
Size 54.1 kB
Tags Source
SHA-256 checksum
How to use checksums
9730ac51d291718562b7e87ab054d3c8ed81329db5b24d5e31a938851cf4b56f
BLAKE2b-256 checksum
How to use checksums
a47816cd85ff9a0a1e0274b98370fac687ddbd144a4e9196bea24664698eadac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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

Transparency log

Release files / nex_protocol-0.1.0a1-py3-none-any.whl

Download URL nex_protocol-0.1.0a1-py3-none-any.whl
Size 51.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
057c0a10c190857ddc11e0613d4424c8675a4f376fe044ec0cb049000f78d2d5
BLAKE2b-256 checksum
How to use checksums
2755f0a53b31c8bead37fd4bd80f331e16721f5b1e78649e59918c3837c8498f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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

Transparency log

Security for nex-protocol 0.1.0a1

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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for nex_protocol-0.1.0a1.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 1, 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