nx-ai — NeuronX AI CLI
Command-line coding assistant powered by NeuronX — 22 AI models, 185K+ code patterns, and AI security scanning.
Install
pip install nx-ai
Setup
nx-ai init
# or
nx-ai config --key YOUR_API_KEY
Get a free API key at neuronx.jagatab.uk/developers
Commands
# Chat with AI
nx-ai chat "explain async/await in Python"
nx-ai chat "how do I optimize a slow SQL query" --model neuronx-smart
# Generate code
nx-ai code "REST API with JWT auth" --lang python
nx-ai code "React hook for debounced search" --lang typescript --output hook.ts
nx-ai code "binary search tree" --lang go
# Security scan
nx-ai scan app.py
nx-ai scan --stdin < script.py
cat mycode.js | nx-ai scan --stdin --lang javascript
# AI code review
git diff HEAD | nx-ai review --stdin
nx-ai review my_changes.diff
# Search patterns
nx-ai search "connection pooling postgres"
nx-ai search "JWT authentication middleware" --limit 20
# Platform status
nx-ai status
Models
| Model | Use case | Speed |
|---|---|---|
neuronx-fast |
Quick questions | ~1s |
neuronx-smart |
Complex reasoning | ~3s |
neuronx-code |
Code generation | ~3s |
neuronx-32b |
Advanced coding | ~8s |
Environment Variables
export NEURONX_API_KEY=nx-your-key
export NEURONX_BASE_URL=https://neuronx.jagatab.uk # default
License
MIT — built on NeuronX Platform
Metadata
Release files for nx-ai 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| nx_ai-1.1.0.tar.gz | 16.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nx_ai-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 34.3 kB
Release files / nx_ai-1.1.0.tar.gz
| Download URL | nx_ai-1.1.0.tar.gz |
|---|---|
| Size | 16.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
743af45d34bfc51ce1e006078dfa2b8d9ab5b41bdd923c409c17b86e55a97322
|
|
BLAKE2b-256 checksum How to use checksums |
652d5be5d4262a0594df6094f3a267f9a42a5225f1f79612737773d2782310c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / nx_ai-1.1.0-py3-none-any.whl
| Download URL | nx_ai-1.1.0-py3-none-any.whl |
|---|---|
| Size | 17.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ea2152b38751889ec29d0d6c4530356ce3682565678ff2e3e0b7d03d532a4381
|
|
BLAKE2b-256 checksum How to use checksums |
1d0bbd50823e7c293ea45d6f7d3bb1ebc920e3e852f6fdf174e9f96450e93e27
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Security for nx-ai 1.1.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.
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.