Skip to main content

neuralspotx

CI Docs Release

neuralspotx is the NSX tooling repo.

NSX is a lightweight bare-metal workflow for Ambiq targets. It provides:

  • the nsx CLI
  • packaged app templates
  • packaged CMake helpers
  • built-in board definitions
  • curated metadata for module and SDK selection

The primary audience is app developers creating small, focused NSX applications for bring-up, profiling, validation, and simple demos.

NSX is also the build-and-deploy vehicle for Ambiq's Helia AI stack:

  • heliaRT — optimized LiteRT (TFLite Micro) runtime, shipped as an NSX module
  • heliaAOT — ahead-of-time compiler that generates NSX modules from .tflite models
  • heliaPROFILER — on-device model profiler built on NSX

Documentation

The documentation site is https://ambiqai.github.io/neuralspotx/: getting started, guides, the module catalog, and a CLI, Python API and configuration reference generated from the source. Agents can read llms.txt or any route's .md rendition instead.

The site itself is an Astro project in astro-site/, published from main by .github/workflows/docs.yml. To work on it:

cd <nsx-repo>
uv sync --group docs          # the reference is generated from the package
npm --prefix astro-site ci
npm --prefix astro-site run dev
npm --prefix astro-site run validate

Maintainer material that is not published lives in docs/maintainers/: release mechanics, repo layout, board and module coverage, design decisions, and how the docs site is built.

Quick Start

NSX uses an app-first flow. Each app is a self-contained project directory with vendored modules, board definitions, and build helpers.

For app users, the cleanest install path is uv, which nsx doctor already requires:

uv tool install neuralspotx
nsx doctor
nsx create-app blinky_ap510 --board apollo510_evb --template blinky

uvx --from neuralspotx nsx doctor runs a single command without installing anything. pipx install neuralspotx works too if you already manage your CLI tools that way.

For contributors working from a source checkout:

cd <nsx-repo>
uv sync
source .venv/bin/activate
uv tool install pre-commit
pre-commit install
nsx doctor
nsx create-app blinky_ap510 --board apollo510_evb --template blinky

pre-commit install sets up the lint and pre-push hooks that CI also runs. See CONTRIBUTING.md for what runs at each stage.

Build the app:

nsx configure --app-dir blinky_ap510
nsx build --app-dir blinky_ap510

After flashing with nsx flash --app-dir blinky_ap510, the first BSP LED blinks every half second. No SWO viewer is needed. Omit --template blinky to create the existing SWO hello-world app instead.

Repo Scope

This repo owns:

  • src/neuralspotx
  • packaged templates
  • packaged board definitions
  • CMake helper assets used by generated apps

Built-in firmware modules are described by the packaged registry and fetched from their default upstream repos as needed. Normal app users create standalone app directories and let NSX manage module resolution, vendoring, configuration, build, flash, and view flows.

For RTT-enabled firmware, nsx rtt --duration 10 --file capture.bin captures channel 0 using the ELF control-block address. Install neuralspotx[rtt] and SEGGER J-Link Software; pipx users can run pipx inject neuralspotx pylink-square. See the RTT capture guide.

Fully prepared apps can also build with standard CMake commands without installing NSX. See Build without installing NSX for preparation, relocation, and offline-sharing requirements.

Metadata

Release files for neuralspotx 0.9.6

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

Source distribution (sdist)

Source distribution for neuralspotx 0.9.6
File Size Uploaded Provenance Actions
neuralspotx-0.9.6.tar.gz 445.4 kB With provenance Details for neuralspotx-0.9.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for neuralspotx 0.9.6
File Interpreter ABI Platform Actions
neuralspotx-0.9.6-py3-none-any.whl Python 3 none any Details for neuralspotx-0.9.6-py3-none-any.whl

Total release size: 859.1 kB

Release files / neuralspotx-0.9.6.tar.gz

Download URL neuralspotx-0.9.6.tar.gz
Size 445.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f7a8f3e8a4af3033ad502b164c14149b4dcea5def76fa41e64b1a23db817e123
BLAKE2b-256 checksum
How to use checksums
4d280604d682a3be7c7d3214eb25b7921335d649887e755de44e8a05c835f80c
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 15, 2026.

Transparency log

Release files / neuralspotx-0.9.6-py3-none-any.whl

Download URL neuralspotx-0.9.6-py3-none-any.whl
Size 413.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5474be6c8ae753888ddf11cd1ffde25c9e317b776424eec4b1bc36bc3eeabc6a
BLAKE2b-256 checksum
How to use checksums
8019015ad73162b808537debf8ee3328463fdd8677ed4bd0f688b99a6ae18f48
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 15, 2026.

Transparency log

Security for neuralspotx 0.9.6

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 neuralspotx-0.9.6.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 15, 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.

Release history Release notifications | RSS feed

This release

0.9.6 This release

2 release files Full provenance

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