This release is a pre-release and may not be stable for production use.
Photon (v0-beta) — by Nanoware AI
Massless, local-first code intelligence. An approximately 49 MB quantized ONNX (48.62 MB INT4) patch engine for Python and TypeScript compiler/runtime errors, paired with a <4 ms Symbol-Dependency AST Slicer and zero-config MCP server.
Verified v0-beta Benchmarks
Measured on Kaggle x86_64 CPU (4 threads, KV-Cached INT4 ONNX) and NVIDIA T4 GPU:
| Metric | Measured Result | Hardware / Conditions |
|---|---|---|
| ONNX Model Footprint | 48.62 MB | Self-contained INT4 (block_size=32) |
| AST Slicer Compression | 3,444 -> 23 tokens (3.77 ms) |
600-line Python file (x86_64 CPU) |
KV-Cached CPU Decode (<=281 tokens) |
60.0 – 79.0 tok/s | 2.50 – 3.59 / 4 speculative hit rate (x86_64 CPU) |
KV-Cached CPU Decode (1,037 tokens) |
16.4 tok/s | 1.37 / 4 speculative hit rate (x86_64 CPU) |
| GPU Decode Throughput | 727.4 tok/s | NVIDIA T4 FP16 (3.60 / 4 speculative hit rate) |
Quickstart
pip install --pre nanoware-photon
photon fix app.py --line 42 --err "NameError: name 'requests' is not defined" --apply
MCP Configuration (Cursor, Claude Code, Windsurf, Cline)
{
"mcpServers": {
"photon": {
"command": "photon",
"args": ["mcp"]
}
}
}
Nanoware Private Patch Intelligence (B2B Custom Adaptation)
- Pilot Deployment (
₹9,999one-time introductory offer): Custom adaptation of Photon on 1 approved internal repository or SDK, reproducible benchmark report, and local~49 MBONNX deployment with strict dataset isolation and post-training deletion guarantees. - Business & Enterprise Deployments: Multi-repository adaptation, IDE workflow integration, and ongoing maintenance agreements.
Licensing
- CLI, AST Slicer & MCP Interface: Apache-2.0 (
LICENSE). - Model Weights:
WEIGHTS_LICENSE.md.
Metadata
Release files for nanoware-photon 0.1.0b1
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 | Actions |
|---|---|---|---|---|
| nanoware_photon-0.1.0b1.tar.gz | 9.3 kB | Without provenance | Details for nanoware_photon-0.1.0b1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nanoware_photon-0.1.0b1-py3-none-any.whl | Python 3 | none | any | Details for nanoware_photon-0.1.0b1-py3-none-any.whl |
Total release size: 19.9 kB
Release files / nanoware_photon-0.1.0b1.tar.gz
| Download URL | nanoware_photon-0.1.0b1.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8ab634844ed92fbe85ac8bb76031c0511e8ee71052259251a9be80c18ed314ec
|
|
BLAKE2b-256 checksum How to use checksums |
81a88923450c69c3947cbc5b8cd0b0bd791a87c45c85c1ad5dc1a2204b5de7b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.18
|
Release files / nanoware_photon-0.1.0b1-py3-none-any.whl
| Download URL | nanoware_photon-0.1.0b1-py3-none-any.whl |
|---|---|
| Size | 10.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
31eed0f8a89436ced859a9451ae80943bace0b845b2e9d6135748c6bb2013707
|
|
BLAKE2b-256 checksum How to use checksums |
46599a831441172b0c1e18dcb8e0c2f830ea4136041f8ab0d48799870c8fb7b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.18
|
Security for nanoware-photon 0.1.0b1
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.