Skip to main content

NOVA AI: Unified Adaptive Computation (NOVA-UAC)

Research Programme & Autonomous AI Engineering Platform · Version 0.1

PyPI Version npm package Python Version TypeScript License

📘 Master Documentation: For the complete unified research specification, mathematical derivations, empirical benchmark results, and full-stack SDK references, see NOVA_MASTER_DOCUMENTATION.md.

Package Repositories & Quick Install:


NOVA is an independent AI engineering platform and scientific research architecture built around a Unified Adaptive Computation (NOVA-UAC) runtime.

Unlike traditional LLM systems that require external model APIs or manually assembled RAG, CAG, MAG, and brittle agent pipelines, NOVA couples:

  1. Continuous State Evolution (Unified State Field, USF with Lipschitz contraction dynamics)
  2. Universal Multimodal Ingestion (Real-time streaming of images, videos, documents, and sensor telemetry)
  3. Dynamic Resonance Memory (DRM with transactional confidence, utility decay, and knapsack capacity controls)
  4. Experience-Coupled Adaptive Learning (ECAL with gradient conflict estimation and stability regularization)
  5. Adaptive Resource Allocation (ARA value-of-compute policies)
  6. Mobile Edge Compression (INT8 / INT4 symmetric quantization for on-device smartphone deployment)
  7. Native Agentic Workflows (StateGraph and Pipeline SDKs comparable to LangGraph/LangChain)
  8. Local REST Serving API (FastAPI model serving with telemetry trace inspection)

Architecture Overview

                      +---------------------------------------+
                      |         NOVA Python SDK / CLI         |
                      +---------------------------------------+
                                          |
                                          v
                      +---------------------------------------+
                      |        NOVA Runtime & Context         |
                      +---------------------------------------+
                                          |
                                          v
                      +---------------------------------------+
                      |    Universal Multimodal Encoder       |
                      |  [Images | Video | Docs | Telemetry]  |
                      +---------------------------------------+
                                          |
                                          v
             +--------------------> Unified State Field (USF) <----------------+
             |                                  |                              |
             |       +--------------------------+--------------------------+   |
             |       |                          |                          |   |
             v       v                          v                          v   v
+-------------------------+        +-------------------------+       +-------------------+
|  Resonance Operator     |        |   Ensemble Task Head    |       | Innovation Head   |
|  Association / Retrieval|        |  Uncertainty Estimator  |       | Scale Novelty     |
+-------------------------+        +-------------------------+       +-------------------+
             |                                  |                              |
             v                                  v                              v
+-------------------------+        +-------------------------+       +-------------------+
| Dynamic Resonance Memory|        |      ECAL Controller    |       | ARA Compute Policy|
| DRM (Write Gate & Decay)|        |  Adaptive Gradient Step |       | Refinement Budget |
+-------------------------+        +-------------------------+       +-------------------+
                                                |
                                                v
                                   +-------------------------+
                                   |   Edge Mobile Exporter  |
                                   |  INT8 / INT4 PTQ Bundle |
                                   +-------------------------+

Installation

Install directly from PyPI:

pip install nova-llm

Or install from source with dependencies:

python -m pip install -r requirements.txt

2. Developer Model API

import nova
import numpy as np

# 1. Initialize NOVA Engine
engine = nova.Engine(device="cpu", seed=42)

# 2. Instantiate Model
model = engine.create_model(
    name="my_intelligence",
    architecture="nova_uac_v0",
    input_dim=8,
    state_dim=32,
    output_dim=1,
    memory_dim=16
)

# 3. Create Dataset from real numeric dynamics
x = np.random.randn(200, 8).astype(np.float32)
y = (np.sin(x[:, :1]) + 0.5 * np.cos(x[:, 1:2])).astype(np.float32)
dataset = nova.Dataset.from_numpy(x, y)

# 4. Train with ECAL and DRM
model.fit(dataset, epochs=5, batch_size=16)

# 5. Evaluate and Save
metrics = model.evaluate(dataset)
model.save("./artifacts/my_model")

# 6. Load & Predict Deterministically
loaded = nova.load("./artifacts/my_model")
pred, trace = loaded.predict(x[:5], return_trace=True)
print(pred, trace.avg_novelty, trace.avg_uncertainty)

3. Streaming Multimodal Ingestion & Mobile Edge Export

import nova
from nova.sdk.multimodal_dataset import MultimodalStreamingDataset
from nova.compression.mobile_export import EdgeMobileExporter

# 1. Ingest any folder of images, videos, documents, or data
dataset = MultimodalStreamingDataset.from_directory("./my_uploads", embed_dim=16)

# 2. Train and adapt in real time on the stream
engine = nova.Engine(seed=42)
model = engine.create_model(input_dim=16, state_dim=32, output_dim=1, memory_dim=16)
for batch_x, batch_y in dataset.stream_batches(batch_size=16):
    model.executor.training_step(batch_x, batch_y[:, :1], model.network.init_state(batch_x.shape[0]))

# 3. Export compressed INT8 bundle for smartphones (Android / iOS)
exporter = EdgeMobileExporter(model)
manifest = exporter.export_for_mobile("./artifacts/mobile_bundle", bits=8)
print(f"Compressed {manifest['compression_ratio']}x -> {manifest['quantized_size_mb']} MB")

4. Native Agentic StateGraph (LangGraph Alternative)

from nova.workflow import Graph

graph = Graph("adaptive_pipeline")
graph.add_node("ingest", ingest_fn)
graph.add_node("assess", model_predict_fn)
graph.add_node("memory_node", consult_drm_fn)
graph.add_node("decision", finalize_fn)

graph.set_entry_point("ingest")
graph.add_edge("ingest", "assess")
# Dynamic conditional routing based on NOVA internal novelty & uncertainty
graph.add_conditional_edge("assess", lambda state: "memory_node" if state["novelty"] > 0.6 else "decision")
graph.add_edge("memory_node", "decision")
graph.add_terminal("decision")

result = graph.run({"raw_input": [0.5, 0.2, -0.9, 0.4]})

5. Local Model Serving API

python -m nova.serving.app

Endpoints:

  • GET /health
  • GET /v1/model/info
  • POST /v1/predict
  • GET /v1/memory/inspect
  • POST /v1/memory/write
  • DELETE /v1/memory/{id}

Runnable Example Scripts

All examples run on real mathematical dynamics with zero mock data:

Script Purpose & Description
test_external_data.py External Data Test Harness: Drop any folder or CSV, get AI accuracy advice, and auto-fine-tune!
01_quickstart_sdk.py Basic SDK model creation, fitting, evaluating, saving, and deterministic prediction.
02_continual_learning_stream.py Streaming distribution shifts and ECAL catastrophic forgetting prevention.
03_drm_memory_association.py Dynamic Resonance Memory association, write gating, utility decay, and knapsack budgeting.
04_agentic_workflow_graph.py Agentic StateGraph with dynamic conditional routing and cycle loop guards.
05_multimodal_ingestion_and_edge_compression.py Universal image/document/data ingestion and INT8 mobile bundle export.
06_realtime_multimodal_live_test.py Live streaming latency benchmark across modalities (~259 FPS on CPU).
07_upload_and_test_dataset.py Interactive dataset upload CLI tool for any custom files.
08_live_animated_dashboard.py Live Animated Web Dashboard: 60 FPS live graphs for Accuracy, Loss, Hamiltonian Energy, Novelty, Uncertainty!
09_autonomous_advisor_and_autotuning.py AI Accuracy Advisor & Auto-Tuner: Automatically analyzes collinearity and fine-tunes to boost accuracy!

Running Benchmarks & Tests

# Run the 27 automated unit and integration tests
python -m pytest tests/ -v

# Run the live animated web dashboard
python -m nova.dashboard
# or
python examples/08_live_animated_dashboard.py

# Run the AI accuracy advisor and auto-tuner demo
python examples/09_autonomous_advisor_and_autotuning.py

Metadata

Release files for nova-llm 0.5.1

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

Source distribution (sdist)

Source distribution for nova-llm 0.5.1
File Size Uploaded Provenance Actions
nova_llm-0.5.1.tar.gz 109.5 kB Without provenance Details for nova_llm-0.5.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nova-llm 0.5.1
File Interpreter ABI Platform Actions
nova_llm-0.5.1-py3-none-any.whl Python 3 none any Details for nova_llm-0.5.1-py3-none-any.whl

Total release size: 193.9 kB

Release files / nova_llm-0.5.1.tar.gz

Download URL nova_llm-0.5.1.tar.gz
Size 109.5 kB
Tags Source
SHA-256 checksum
How to use checksums
96afead37df433e6127c47fa0f29dde227ed8d46719cc4805c49247e21158c05
BLAKE2b-256 checksum
How to use checksums
1edda47238af1f103221cb5e53139d6ce328765cc7d69b9a36165bae587d1e6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / nova_llm-0.5.1-py3-none-any.whl

Download URL nova_llm-0.5.1-py3-none-any.whl
Size 84.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
48f69ffa7e5f46f30d7f5c5af0c339d0649b1c7a9f90299e01690ae620098976
BLAKE2b-256 checksum
How to use checksums
d40793701bf6c0ff5f4f21617ef29b21517e65e42f485030bc9b3e00efcff840
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Security for nova-llm 0.5.1

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.

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