ANER MODULES · NATIVE DATA SCIENCE

Find the tools for
your next experiment.

From physical measurements to model evaluation, choose a module by the work you need to do. Each module opens a complete reference, with specialist guides and runnable examples close at hand.

32
root modules
5
research task groups
API + examples
at every module root

Browse every module function and value method

01 · 8 MODULES

Data and measurements

Give observations a known source, structure and scientific meaning.

Implemented
Aner 0.1.0 or newer

aner.data

Keep the evidence with your observations.

Infer and review schemas, compose exact native conditions and load immutable tables with managed batches and automatic disk storage. Cached overviews retain structural context and basic statistics; deeper profiles and native chart adapters are explicit development capabilities.

  • Declared CSV schemas and exact missing tokens
  • Unit aware imports and streaming statistics
  • Bounded previews with execution receipts
Capabilities and limits
  • Schema recommendations with exact wide numeric policy, explicit UTC timestamps and recognized physical units
  • Reusable combined conditions, named multi column selection and immutable derived table snapshots
  • Native batches, private automatic spill storage and explicit RAM, disk and source work controls
  • Cached table overviews with structural context, missing counts and basic statistics
  • Opt in deterministic sampled quantiles, bounded categories and explicit CPU profiling workers
  • Direct missingness, distribution, category and paired scatter charts with units and retained source lineage
  • Current and ancestral completion receipts, source hashes and versioned transformation recipes
  • AdaptiveFrame retains observation identity, field roles and supported scientific context
  • Native SQL and document results convert through aner.db to typed DataTable snapshots
  • These new data APIs require matching development runtime and local editor support; no new package is published
  • Joins, exact external memory quantiles, general correlations and automatic model streaming remain future work
Implemented

aner.dataset

Well known datasets, ready to load.

Load bundled Iris, Wine, Titanic and Diabetes by name without preparing CSV files, or open verified local MNIST files. Inspect feature, label and source metadata, retain immutable row identity, and split before fitting preprocessing.

  • Offline teaching data with source attribution
  • Protected partitions, groups and audited folds
  • Lazy mini batches and training fitted scaling
Capabilities and limits
  • Offline Iris, Wine, Titanic and Diabetes
  • Catalogue discovery and named loading helpers
  • Binary and multiclass classification targets
  • Declared feature representations and dataset license notices
  • Source row IDs and immutable row views
  • Seeded train/test partitions
  • Standardization fitted on training data
  • Verified compact MNIST IDX loading without network access
  • Training/validation/test partitions, grouped folds and immutable source row audits
  • Lazy deterministic mini batches and training only streamed standardization
Implemented

aner.units

Give scalar measurements checked units.

Keep physical units in concise native scalar types and packed Array, DynamicArray and NDArray buffers. Convert compatible distances and temperatures, preserve interval statistics, and inspect exact units before explicit numeric export.

  • Distinct quantities and absolute temperature points
  • Packed unit arrays and explicit conversion
  • 23 registered codes; uncertainty is separate
Capabilities and limits
  • Concise numeric unit literals such as 2.0@m and 20.0@degC
  • Distinct Quantity and Point types prevent invalid temperature algebra
  • One shared registry with 23 exact codes for scalar and scientific tensor conversion
  • Compatible arithmetic retains checked units and registered derived dimensions
  • Immutable scalar values in class fields, outcome wrappers and isolated repetition parameters
  • Explicit magnitude readout and complete local research examples
  • Packed unit bearing arrays with checked affine temperature arithmetic, broadcasting, registered physical products, typed statistics and detached conversion
Implemented

aner.science

State what a measurement means.

Declare unknown, exact or source aware affine evidence. Preserve shared calibration and observation identity through supported CPU Float64 measurement operations, with explicit scientific unit rules.

  • Declared exact, unknown or affine evidence
  • Shared calibration correlations stay attached
  • Bounded CPU Float64 measurement operations
Capabilities and limits
  • Explicit independent reading noise with one shared calibration source
  • Gather and copying retain the original source correlations
  • Source aware affine means, differences and physical unit conversion
  • Frozen affine measurement propagation with separate interpretation from model uncertainty
  • CPU Float64 kernels with bounded sparse source coefficients; nonlinear, GPU and general NN evidence propagation remain future work
Implemented

aner.geo

Keep locations geographically meaningful.

Construct checked WGS84 positions and rectangular extents. Preserve longitude and latitude order, handle dateline wrapping and calculate explicitly spherical distances with physical units.

  • Checked WGS84 longitude and latitude
  • Explicit wrapped geographic extents
  • Spherical distances with physical units
Capabilities and limits
  • Immutable GeoPosition and GeoExtent native values
  • Explicit longitude then latitude in WGS84 decimal degrees
  • Inclusive extents including antimeridian crossings
  • Approximate great circle distance returned as Quantity<m>
  • Typed geographic chart observations without implicit region assignment
  • Coordinate reference transformations and point in polygon joins remain planned
Development APIs

aner.lidar

Measure elevation and coverage from point returns.

Read native LAS point clouds, retain coordinate metadata, and summarize a selection on a grid. Send the selection directly to Aner Plot for a reproducible 3D preview.

  • Local, uncompressed LAS 1.4 point formats 6 through 8
  • Spatial windows and source classifications with separate withheld flags
  • Bounded CPU execution and full selection grid summaries
Capabilities and limits
  • Local, uncompressed LAS 1.4 point formats 6 through 8
  • Spatial windows and source classifications with separate withheld flags
  • Bounded CPU execution and full selection grid summaries
  • Native 3D previews, grid coverage charts, and offline HTML export
Implemented

aner.plot

Give your analysis a clear visual story.

Tell a scientific story with native 2D and 3D charts, explicit scatter time frames from keyed CSV tables and optional offline maps. Inspect a fourth numeric variable through color, step through captured observations and export SVG or standalone interactive HTML with shared scales and explicit data contracts.

  • Scientific charts with labels, captions and annotations
  • Offline USA and world maps with explicit region joins
  • Light, dark and company themes in native notebooks
Capabilities and limits
  • Development data adapters connect cached profiles and named table columns directly to bounded charts with source lineage
  • Line, scatter, bar, histogram, box, heatmap and choropleth charts
  • Cartesian 3D scatter, ordered trajectories and regular grid surfaces
  • Offline mouse orbit and X/Y/Z plot rotation controls with reset and orthogonal views
  • Source authored 3D rotation, zoom and frame plus live PNG, vector SVG and restorable HTML exports
  • Explicit scatter time frames with a slider, local Play/Pause and shared scales
  • Bounded typed CSV time frames aligned by stable site IDs and captured for offline HTML
  • A fourth scalar in color, fixed numeric limits, rotation and orthogonal views
  • Independent country and subdivision packs with explicit coverage and provenance, including Colorado detail for Boulder
  • Immutable chart and theme values with light, dark and company palettes
  • Named comparison lines, labels, captions and coordinate annotations
  • GeoPosition observations with separate color and circle area values
  • Offline notebook pan and zoom with labels that appear as space opens
  • Native notebook cell output, SVG fallback and standalone offline HTML export
  • Requires Aner 0.0.3 or newer and matching editor integration
  • Facets, interpolated animation, framed lines and surfaces, volume rendering, statistical intervals and standalone runtime PNG export remain planned
  • Linked site selection across maps, bars and daily series
  • Optional administrative maps for all twelve South American countries
  • Insert authored static chart snapshots into PDF reports through aner.pdf, requiring Aner 0.0.10 or greater and PDF module 0.1.1 or greater
Implemented
Aner 0.0.10 or newer

aner.pdf

Turn analysis into a reproducible report.

Create paginated PDF reports, insert native chart snapshots, reuse header and footer templates, and extract page text with retained source identity. Install the native worker explicitly before importing the module.

  • Explicitly installed native worker with an independent package version
  • Reusable report templates, native charts and scientific tables
  • Page extraction with retained source identity
Capabilities and limits
  • Requires Aner 0.0.10 or greater
  • Separately installed, independently versioned native PDF worker
  • Paginated headings, paragraphs, tables, PNG images and DataTable values
  • Direct native Plot snapshots with PDF module 0.1.1 or greater
  • Reusable metadata templates with header and footer text and images
  • No generated header or footer when no template is attached
  • Page text and metadata extraction with source SHA256 and a DataTable bridge
  • Explicit latest or exact version installation and scoped offline uninstall
  • Bounded local processing; scanned documents require a separate OCR workflow
02 · 10 MODULES

Numerics and models

Choose numerical storage, fit supported models and build native language or scientific generators with explicit evaluation.

Implemented

aner.math

Native scalar mathematics with checked domains.

Calculate Float64 roots, powers, exponentials, logarithms and trigonometric functions through native scalar operations with explicit finite, domain and range contracts.

  • Eight native Float64 scalar functions
  • Checked domains, finite values and range
  • Raw scalar arguments; trigonometry in radians
Capabilities and limits
  • Eight native Float64 functions with positional and named arguments
  • Domain, nonfinite and range diagnostics with source locations
  • Trigonometry in raw radians and explicit scalar behavior
  • Admitted pure calls inside isolated CPU repetition
  • Units, tensor differentiation and vector kernels have separate contracts
Implemented

aner.random

Seed once and replay the sequence.

Sample uniform real values, unbiased integers, weighted alternatives and normal values using an owned native generator or explicit sample identities.

  • Seed once with an owned native generator
  • Uniform, integer, weighted choice and normal sampling
  • Addressed draws match sequential and parallel work
Capabilities and limits
  • Owned RandomGenerator handles advance one cursor per successful sample
  • Uniform, normal and discrete sampling with checked parameters
  • Versioned native Philox counter and key engine
  • Unbiased integer selection and finite nonnegative relative weights
  • Retained seed, position and explicit reseeding support replay
  • Addressed draws retain the same samples across worker schedules
  • Existing neural and dataset seeded recipes retain their compatibility contracts
Implemented

aner.tensor

A common numerical foundation.

Construct Float64 and Float32 Tensors with checked shapes and explicit placement. Existing matrix operations support CPU and available accelerators; bounded sequence composition adds CPU, Metal/MPS and CUDA kernels with its own contract.

  • Checked matrix and bounded sequence shapes
  • Explicit supported CPU and accelerator placement
  • Opt in coordinates, units and deliberate export
Capabilities and limits
  • Neutral tensor construction
  • Rows, columns, and value inspection
  • CPU and native CUDA Float64/Float32 storage; native Metal/MPS Float32 storage in compatible builds
  • Explicit shape and value validation
  • Bounded logical ranks, reshape, permutation, slicing, broadcasting, reductions and batched matrix multiplication for native CPU, Metal/MPS and CUDA sequence composition; mixed precision and general distributed Tensor execution remain planned
  • Opt in SemanticTensor coordinates and bounded physical units with exact arithmetic, explicit reindexing and acknowledged raw export
Implemented
Aner 0.1.0 or newer

aner.nn

Describe the model. See the learning.

Dense, convolutional and recurrent networks share native Tensor/autodiff, explicit devices and retained training snapshots. Development source adds sparse graph models and a shared held out evaluation workflow.

  • Dense and differentiable sequence primitives
  • Full batch or mini batch SGD and Adam
  • Explicit precision and optimizer checkpoint continuation
Capabilities and limits
  • Dense layers with explicit weights, Xavier or He initialization
  • Dedicated model parameter references for Dense networks, SGD and Adam, CNNs, recurrent networks and native generators
  • Updated Dense Dropout stages support optional controlled seeds and recorded automatic seeds in the matching development runtime
  • Xavier MLP exploration and explicit Dense initialization, forward objectives, gradients and parameter updates
  • Reverse mode automatic differentiation
  • Full batch and lazy mini batch SGD/Adam with explicit loss, validation and fixed epochs
  • Measured progress, fixed epoch ETA, and optimizer checkpoint continuation
  • Float64 preservation, compatibility adaptation, and explicit Float32 performance policy
  • Explicit CPU, Metal/MPS and CUDA placement; development CNN/recurrent APIs add AMP and MPI/NCCL gradient sessions
  • Updated Dense v7 checkpoints retain optimizer state, dropout seed and schedule, cumulative updates and source membership history
  • Supported Dense replica training through ml.fit with explicit execution contexts with native CPU, Metal/MPS and CUDA forward and backward computation
  • Bounded embedding, normalization, GELU, causal attention, cross entropy and gradient clipping for custom sequence models on CPU Float64/Float32, native Metal/MPS Float32 and native CUDA Float64/Float32
  • Development CNNModel builders and native vision architecture graphs, including ResNet, DenseNet, EfficientNet, ConvNeXt and Inception
  • Development RecurrentModel builders for RNN/LSTM/GRU with automatic CUDA layer fusion, masked variable lengths, explicit streaming state and truncated training
  • CPU DeepAR, ConvLSTM, AWD LSTM and stabilized scalar/matrix xLSTM profiles; optional acceleration requires a compatible backend and hardware
  • Aner 0.0.7-dev.1 source adds GraphData and GNNModel for sparse GCN, GraphSAGE and GIN, with supervised node or graph indices separate from message passing topology
  • Aner 0.0.7-dev.1 source adds detached NeuralEvaluation metrics and explicit CNN/recurrent optimizer phase controls; published package availability is separate
Implemented
Aner 0.1.0 or newer

aner.ml

A shared workflow for learning.

Fit nearest neighbor, clustering, neural classifier and contextual regression models. Use explicit fitted preprocessing, protected Dataset roles, typed prediction and complete API contracts.

  • KNN, K means, decision trees and Dense pipelines
  • Preparation fitted only on training data
  • Contextual CPU Float64 regression and retained identities
Capabilities and limits
  • Dedicated KNN, K means and decision tree references with complete variables, tensor shapes, tie rules, scaling and runnable inspection examples
  • Fitted KNN classifiers
  • Seeded K means clustering
  • Neural classifier pipelines with scaling fitted only on training data
  • Explicit prediction and evaluation
  • Native classification trees with Gini or entropy criteria and text, DOT and SVG export; SVM and general model interfaces remain planned
  • Immutable mini batch training contracts with validation, final or best epoch selection, and historical test exclusion
  • FeatureLedger retains preprocessing fitted on training data; contextual CPU Float64 least squares regression preserves prediction identities and target meaning
  • Explicit context ml.fit Dense replicas; placement and protected role contracts are documented in Distributed neural training
Implemented
Aner 0.1.0 or newer

aner.metrics

Make evaluation explicit.

Evaluate classification, numeric predictions, and cluster partitions through a shared module, with clear contracts for shapes and labels.

  • Accuracy and confusion matrices
  • Mean squared error for matching numerical tensors
  • Adjusted Rand index for cluster partitions
Capabilities and limits
  • Accuracy and confusion matrices
  • Numeric prediction metrics
  • Clustering evaluation independent of label numbering
  • Common tensor and label contracts
  • Examples evaluating data reserved for testing
Implemented
Aner 0.1.0 or newer

aner.nlp

Keep language experiments grounded in traceable evidence.

Prepare source linked document features and evidence, train contextual POS and named entity taggers, and create exact token batches for native neural composition.

  • Training fitted sparse text features with document identity
  • Inspectable BM25 evidence and exact token budgets
  • Token batches and explicit neural composition
Capabilities and limits
  • Immutable document IDs and partition roles with fitted provenance
  • Unicode normalization and case folding under an explicit analyzer policy
  • Training fitted count, binary and TF IDF sparse text features
  • BM25 lexical memory with per term score explanations and deterministic ties
  • Whole document context assembly under the exact tokenizer budget
  • Exact integer token batches, padding masks and visible truncation
  • Composes with native tokenizers, differentiable FFN and masked pooling
  • Fits local models on supplied text and annotations
  • Source aligned POS and strict BIO2 entity tagging with contextual sequence models
  • Exact token and entity metrics with confusion counts and source spans
  • Seeded structured training and exact checkpoint continuation
Implemented
Aner 0.1.0 or newer

aner.token

Fit the vocabulary on training data.

Encode exact bytes or fit native byte BPE, retain document roles and content identity, and save a tokenizer with its fitting provenance for reproducible language model research.

  • Exact byte encoding and native byte BPE
  • Training fitted vocabulary and document roles
  • Tokenizer and corpus fingerprints
Capabilities and limits
  • Fixed byte vocabulary and deterministic native byte BPE with byte fallback
  • Explicit training, validation and test corpus roles, tokenizer fingerprints and exact document overlap checks
  • Versioned tokenizer artifacts retain merge order and training provenance
  • Bounded in memory fitting and corpora; group, subject and temporal partition policy remains a research decision
Implemented
Aner 0.1.0 or newer

aner.gen

Build, train and test a native generator.

Initialize bounded generators or import supported dense Llama GGUF with the optional native pretrained backend. Select full fine tuning or explicit adapters, inspect qualified CPU/V100 FP32 execution, and retain typed training jobs, checkpoints and deployment identities in the matching development runtime.

  • From scratch decoder training and generation
  • Checkpoint continuation, freezing and LoRA
  • Conditional scientific series and field diffusion
Capabilities and limits
  • Native decoder training, token weighted evaluation, checkpoint continuation and seeded generation
  • Typed resident KV arena and fused inference attention, explicit uncached reference policy and bounded memory lifetime
  • Full fine tuning, parameter freezing and LoRA with exact base and tokenizer identity
  • Explicit CPU Float64/Float32, native Metal/MPS Float32 and native CUDA Float64/Float32 sequence execution, memory estimates and one bounded GPT2LMHeadModel import
  • Conditional time series and small field diffusion with reproducible statistical and physical validation
  • Reference architectures demonstrate the mechanisms; compose more complex models from supported aner.tensor and aner.nn primitives within resource limits
  • Broader pretrained architectures, mixed precision, fused GPU NF4 kernels and volunteer distributed training remain future work
  • Development LibTorch C++ full fine tuning, LoRA, rsLoRA, LoRA FA and TinyLoRA with qualified CPU/V100 FP32 execution and frozen NF4/double-quantized storage
  • Typed PretrainedPlan, PretrainedJob and PretrainedResult, exact same profile checkpoints and effective base GGUF deployment; published 0.0.5 packages do not include these additions
Implemented
Experimental module

aner.quantum

Explore circuits before choosing the hardware.

Build immutable quantum circuits with concise Aner syntax, inspect ideal probabilities and seeded measurements on the experimental CPU simulator, and prepare for explicit accelerator or quantum hardware backends.

  • Experimental CPU circuits and Bell measurements
  • Explicit future GPU, cluster and quantum backends
  • Hybrid scientific objectives and parameter shifts
Capabilities and limits
  • Experimental native CPU statevector simulation with 1 to 20 qubits
  • Immutable gates, parameterized rotations and checked qubit indices
  • Exact ideal probabilities and Z expectations; seeded finite shot counts
  • One circuit and explicit backend selection as the portability contract
  • GPU simulation, GPU clusters and compatible physical quantum hardware remain planned and unavailable
  • Unavailable backend execution fails explicitly without silent CPU fallback
  • Classical parameter shift examples for scientific and variational research; quantum autodiff remains planned
  • Statevector memory grows exponentially with qubit count; no quantum speedup is promised
03 · 7 MODULES

Media and signals

Capture audio and video, analyze typed still images, preserve clocks and coordinates, and connect perception to native models and plots.

Implemented
Aner 0.1.0 or newer

aner.media

Keep audio and video on one timeline.

One native demux owner produces typed audio/video events with a common timestamp origin and explicit bounded buffers.

  • One selected audio/video demux session with source and session identity
  • Shared PTS origin preserves offsets rather than independently zeroing tracks
  • Reusable audio blocks and video frames connect to independent model pipelines
Capabilities and limits
  • Unpublished 0.0.9-dev.2 source; published packages have separate availability
  • One selected audio/video demux session with source and session identity
  • Shared PTS origin preserves offsets rather than independently zeroing tracks
  • Reusable audio blocks and video frames connect to independent model pipelines
  • No hardware phase synchronization, automatic drift correction or combined audiovisual recorder is implied
Implemented
Aner 0.1.0 or newer

aner.audio

Preserve the signal. Analyze bounded audio.

Float32 samples, recordings and device or remote analysis sources with explicit rate, channels, sample clocks and gap metadata.

  • Native bounded WAV reads and incremental recording; optional installed FFmpeg codecs and resampling
  • Reusable sample blocks and immutable snapshots with explicit sample metadata
  • Owned CPU Float32 tensor exports and stateful signal/speech/plot connections
Capabilities and limits
  • Unpublished 0.0.9-dev.2 source; published packages have separate availability
  • Native bounded WAV reads and incremental recording; optional installed FFmpeg codecs and resampling
  • Reusable sample blocks and immutable snapshots with explicit sample metadata
  • Owned CPU Float32 tensor exports and stateful signal/speech/plot connections
  • Analysis capture is distinct from low latency duplex playback; no implicit gain or denoising
Implemented
Aner 0.1.0 or newer

aner.signal

Make every frequency and feature reproducible.

Native complex FFT, streaming STFT, explicit Mel/MFCC recipes and persistent channel filters with physical plotting axes.

  • Native radix 2 FFT/IFFT with explicit amplitude, power and PSD units
  • Bounded persistent STFT overlap, final padding and model tensor layouts
  • Explicit HTK/Slaney Mel recipes, orthonormal MFCC and stateful biquads
Capabilities and limits
  • Unpublished 0.0.9-dev.2 source; published packages have separate availability
  • Native radix 2 FFT/IFFT with explicit amplitude, power and PSD units
  • Bounded persistent STFT overlap, final padding and model tensor layouts
  • Explicit HTK/Slaney Mel recipes, orthonormal MFCC and stateful biquads
  • Recipe compatibility and data split discipline remain the caller’s responsibility
Implemented
Aner 0.1.0 or newer

aner.speech

Turn audio into timed, inspectable evidence.

Native speech activity, optional local Whisper transcription, explicit CTC decoding and Unicode error metrics connected to Aner NLP.

  • Bounded RMS hysteresis VAD with explicit source relative intervals
  • Optional pinned CPU Whisper backend and local user supplied weights
  • Typed immutable transcripts, CTC decoding, WER/CER and NLP corpus bridge
Capabilities and limits
  • Unpublished 0.0.9-dev.2 source; published packages have separate availability
  • Bounded RMS hysteresis VAD with explicit source relative intervals
  • Optional pinned CPU Whisper backend and local user supplied weights
  • Typed immutable transcripts, CTC decoding, WER/CER and NLP corpus bridge
  • Energy activity is not semantic speech recognition; model quality and estimated token timing require evaluation
Implemented
Aner 0.1.0 or newer

aner.video

Bring live observations into your research.

Capture cameras, recorded files and remote media through bounded native queues, reusable RGB frame slots and explicit timing. Record standard video and compose acquisition with numerical models.

  • Unpublished 0.0.9-dev.1 source; published packages have separate availability
  • Dependency free deterministic synthetic sources and optional installed FFmpeg camera, file and network adapters
  • Independent source workers, ordered file playback and latest frame live queues with explicit budgets
Capabilities and limits
  • Unpublished 0.0.9-dev.1 source; published packages have separate availability
  • Dependency free deterministic synthetic sources and optional installed FFmpeg camera, file and network adapters
  • Independent source workers, ordered file playback and latest frame live queues with explicit budgets
  • Reusable native frame slots, retained snapshots, source/session identity and separate presentation/receipt timestamps
  • New lossless Matroska recordings with explicit finalization and refusal to overwrite
  • CPU RGB8 interchange; hardware decode, zero copy GPU capture, automatic reconnect and synchronized exposure remain future work
Implemented
Aner 0.1.0 or newer

aner.image

Keep pixel meaning close to the analysis.

Analyze typed still images with explicit physical coordinates, masks and region measurements. Share bounded native resources and connect images to tensors, video, vision and plots.

  • Typed immutable CPU pixels, shared read only region and channel views, and explicit numerical conversions
  • One shared context for retained image buffers, declared workspace and reusable local CPU execution
  • Explicit masks, deterministic connected labels and pixel or physical region measurements
Capabilities and limits
  • Unpublished 0.0.9-dev.3 source; published packages have separate availability
  • Typed immutable CPU pixels, shared read only region and channel views, and explicit numerical conversions
  • One shared context for retained image buffers, declared workspace and reusable local CPU execution
  • Explicit masks, deterministic connected labels and pixel or physical region measurements
  • Native file inspection and codecs with format and precision boundaries exposed through capabilities
  • Detached tensor exports, owned video frame imports, native vision preprocessing and bounded plot previews
Implemented
Aner 0.1.0 or newer

aner.vision

Give image models an explicit input contract.

Resize and normalize RGB frames into native NCHW Float32 tensors. Retain source geometry and postprocess supplied object boxes with deterministic class aware suppression.

  • Unpublished 0.0.9-dev.1 foundation with reusable native input and detection slots
  • Letterbox, stretch and center crop geometry with nearest or bilinear resize and explicit channel normalization
  • Detached CPU Float32 NCHW tensors for aner.nn and explicit flattened features for aner.ml
Capabilities and limits
  • Unpublished 0.0.9-dev.1 foundation with reusable native input and detection slots
  • Letterbox, stretch and center crop geometry with nearest or bilinear resize and explicit channel normalization
  • Detached CPU Float32 NCHW tensors for aner.nn and explicit flattened features for aner.ml
  • Validated supplied Nx6 detector rows, inverse geometry, clipping and deterministic class aware NMS
  • Source/session/frame identity retained in prepared inputs and box results
  • Pretrained detector import/execution, segmentation, tracking and GPU preprocessing remain future work
04 · 3 MODULES

Execution and inspection

Select resources, observe actual computation and retain bounded evidence.

Implemented
Aner 0.1.0 or newer

aner.parallel

One computation, explicit resources.

Schedule checked independent local CPU tasks from private inputs, retain ordered numeric results, and inspect worker admission and execution accounting. Algorithms, random sampling and model fitting belong to their source programs or owning modules.

  • Checked local repetitions on worker threads with private inputs
  • Iteration seeds and ordered numeric results
  • Configured worker contexts and supported Dense replicas
Capabilities and limits
  • Bounded reusable native worker threads scheduled by the operating system
  • Checked parallel.repeat functions with copied initial state, deterministic task seeds and ordered numeric output
  • Immutable SimulationResults access, statistics, timing and explicit CSV export
  • Explicit local worker policy and CPU budget inventory
  • Shared enrolled worker context consumed by supported ml.fit Dense replica training
  • Generic remote repeat callbacks, GPU task execution and shared closures remain planned
Implemented

aner.dev

Make important moments visible.

Capture bounded observations of variables, objects, collections, and neural training in development. Production uses the same computation with automatic recording disabled.

  • Read only variable and object observations
  • Completed cell notebook and inspection reports
  • Explicit recording mode and bounded snapshots
Capabilities and limits
  • Named, read only snapshots with dev.capture
  • Stable object references and collection mutation observations
  • Offline inspection reports and separate fit loss curves
  • VS Code Inspector and optional Jupyter completed cell views
  • Pause, step, and streaming observations remain planned
Implemented

aner.viz

Inspect what the model actually did.

Record selected training steps on the actual tensor device and explore topology, loss, and available gradient summaries in standalone browser, JSON, and terminal reports.

  • Recorded topology, loss and available gradients
  • Offline interactive HTML, JSON and text reports
  • Optional raw values with capture limits
Capabilities and limits
  • Actual training captures
  • Offline interactive HTML reports
  • JSON and terminal summaries
  • Bounded raw values included only when requested
  • Completed cell inspection also uses development mode; streaming and general plotting remain planned
05 · 4 MODULES

Connections and serving

Reach databases and model providers through explicit sessions, credentials and service contracts.

Implemented

aner.db

Native sessions. Bounded results.

Connect through native PostgreSQL, MySQL, Microsoft SQL Server and MongoDB clients. The aner.db reference explains shared sessions, private credentials and bounded results, then links to a complete guide and runnable example for each connector.

  • PostgreSQL, MySQL, SQL Server and MongoDB
  • Optional native clients and opaque credentials
  • Bounded SQL results and BSON document operations
Capabilities and limits
  • One database module reference with dedicated PostgreSQL, MySQL, Microsoft SQL Server and MongoDB guides
  • Optional native client features inspected through db.available in the installed executable
  • Opaque aner.secrets credential references and connector specific verified TLS defaults
  • Bound SQL values with a shared SQL query, command and typed result API
  • Native MongoDB BSON find, insert_one and command operations with canonical Extended JSON
  • Shared connection lifetime, explicit close and independent completed results
  • Bounded DataTable conversion and explicit numeric feature tensor preparation
  • Complete fictional connection examples and synthetic data setup for each connector

Native connectors are optional build features and require their client runtimes. Inspect the installed executable with db.available.

Implemented

aner.secrets

A credential reference belongs in source.

Keep key values outside source and notebooks. Native opaque references resolve through an operating system store, an injected process environment, managed file storage or one explicitly selected dotenv file.

  • Opaque stored, environment, managed file and explicit dotenv references
  • Native macOS and Windows credential stores
  • Explicit POSIX file fallback with owner permissions
Capabilities and limits
  • Hidden interactive credential input through aner secrets set
  • Native macOS Keychain and Windows Credential Manager storage adapters
  • Explicit environment references without implicit project file loading
  • Explicit secrets.dotenv references to .env, .env.production, .env.development or .env.local
  • No dotenv discovery, merging or process environment mutation
  • Managed file fallback with strict owner permissions on POSIX
  • Credential status and deletion without exporting values
  • No silent plaintext fallback; Linux system vault integration remains planned
Implemented

aner.llm

Choose provider or native model execution.

Connect to supported services through native adapters, or run compatible GGUF models locally or on an explicitly connected trusted worker. Match the runtime capability to the model, memory budget and device; provider clients retain explicit credentials and typed usage.

  • Six explicit local and cloud provider adapters
  • Ordered messages and typed responses
  • Explicit credentials and bounded synchronous requests
Capabilities and limits
  • Native Anthropic Messages, Gemini stable v1 Interactions, OpenRouter chat completions, Ollama, OpenAI Responses and vLLM adapters
  • Switch OpenRouter model slugs with one opaque credential reference
  • Simple prompt generation and explicit ordered typed messages
  • Opaque credential references resolved at request execution
  • Verified HTTPS, loopback local connections and bounded synchronous transport
  • Input, output and total token counts with cache and reasoning details; unavailable counts remain explicit
  • No automatic retries; OpenRouter controls upstream routing and provider fallbacks
  • Service client streaming, embeddings and tool execution remain planned
  • Native GGUF loading with explicit model lifetime and compatible deployment adapters
  • CPU/GPU memory planning and fixed context fitted loading in the matching native runtime profile
  • Explicit remote inference workers keep model weights, context and sampling in their own memory domain
  • Optional verified worker weight caching retains model files without retaining prompts or conversation state
Implemented

aner.api

One preloaded model. A checked public contract.

Expose fitted neural inference or a configured language model through native fixed routes. Keep model, checkpoint, preprocessing, effective device, credentials and transport under explicit application control.

  • Preloaded classifier and language model routes
  • Checked inputs and OpenAPI 3.1 descriptions
  • Explicit HTTPS, authentication and request limits
Capabilities and limits
  • Immutable APIApp builders with fixed classifier and language model routes
  • Strict finite numerical input rows and checked prediction/probability results
  • OpenAPI 3.1 descriptions of request and response contracts
  • Native TLS, explicit permitted hostnames and opaque inbound bearer references
  • Loopback defaults, bounded bodies, rows, request waiting and process rate admission
  • One serialized inference with retained fitted preprocessing and model placement
  • Service to service integration; general callback routes, streaming and browser CORS remain outside the current contract
PUT THE MODULES TO WORK

Start from a research task.

Complete examples connect the pieces. Each example states its runtime requirements and shows the source you can inspect and run.

THE LANGUAGE UNDER THE LIBRARY

Core values, with their own contracts.

Language values have dedicated references rather than module entries. Contextual types belong to their owning modules; the links below make that distinction explicit.

Core values

Numeric values and precision

Number preserves concrete numeric representations. Eight integer types, Float32 and Float64 provide explicit checked arithmetic and storage.

Core values

Core scalar references

String provides immutable Unicode text; Bool keeps conditions strictly Boolean. Both are built in and require no import.

Core values

Temporal value references

Separate dates, wall clock positions, fixed offset instants and exact durations. Checked parsing and arithmetic require no import.

Core values

Binary data and iteration references

Bytes stores immutable unsigned bytes with explicit text encoding. Range provides lazy checked integer progression. Both need no import.

Core values

Typed outcome references

Optional represents typed presence or absence; Result represents typed success or a recoverable error. Payload access remains explicit.

Core values

Core collection references

Native collections need no import. Each reference covers construction, supported operations, ownership and time and space complexity.

Core containers

Typed array references

Primitive Int64, Float64, Bool and String arrays need no import. Unit bearing Quantity and Point arrays require aner.units; their physical rules are documented separately.

Core containers

NDArray reference

Explicit primitive types and shapes support contiguous matrices and ranks 1 through 8 without an import. Quantity and Point element types require aner.units. Broadcasting, ownership and matrix multiplication have checked contracts.

Module contextual types

Native contextual data references

Opt in through the owning data, tensor, science and ML modules. Retain observation identity, fitted influences, coordinates or affine measurement evidence within each supported contract.