Execute, query and study a model as an artifact.
LARQL is the reference implementation of VINDEX3 and a research system for model execution, representation and evidence. VINDEX3 describes a model's logical objects, physical representations and executable semantics. LARQL can run that program, record its computation, inspect its structure, and test claims about its behavior.
Encode · Run · Represent · Observe · Intervene · Query describes the project's scope. Each surface has its own maturity and evidence boundary; status distinguishes supported interfaces from active research. Planned: sharded/partial execution and multimodal embedding handoff; both are explicitly refused until their execution contracts and parity gates exist (planned capabilities). The graph-database thesis remains: the model itself is the object being queried, rather than a separate database of extracted facts.
Class: CURRENT. Start with What is VINDEX3?. Machine-derived facts give this checkout's versions, schemas and command inventory. vindex3.org teaches the format; the candidate specification is its versioned contract.
Use the repository's pinned Rust toolchain:
cargo build --release -p vindex-cli -p larql-cliOn Linux and Windows add --no-default-features; the default GPU feature uses
Metal on macOS. Invoke the binaries from Cargo's release target directory or
add it to PATH. With a local, supported Hugging Face checkpoint:
# Admit the source, encode its declared structure, inspect the result.
vindex plan /path/to/checkpoint --json
vindex encode /path/to/checkpoint --output model.vindex3
vindex inspect model.vindex3 --json
vindex verify model.vindex3
# Read its executable program and record a real decode.
larql vindex3 ops model.vindex3
larql vindex3 observe model.vindex3 --backend production \
--prompt "The capital of France is" --record run.jsonlplan and encode also accept hf://org/repo@revision. Admission and backend
support are explicit gates, not a promise that every checkpoint executes.
See execution for generation and serving, and the
standalone vindex README for format operations.
The canonical decode path exposes carrier writes with site identity and provenance. Optional lenses read states through the model's normalization and head. The Observatory imports records for coordinated inspection and replay. Head/source attribution and intervention research build on these records, with separate contracts for descriptive evidence and causal claims. A projected contribution is not a counterfactual.
Observation and intervention explains those boundaries. Current research links the evidence and frozen protocols.
VINDEX3 separates logical model identity from physical encodings. REPRESENT compiles alternate representations and provides accounting, candidate identity, evidence ingestion and measurement/search contracts. Smaller bytes, executable support and acceptable behavior are separately established claims.
# Compile a 4-bit deployment image, then measure it against the source.
larql vindex3 represent model.vindex3 --output deploy.vindex3 --encoding NVFP4 --deployment
larql vindex3 token-bank export model.vindex3 \
--prompts bench/prompts/quality-bank-1/prompts.json --output bank/
larql vindex3 measure --reference model.vindex3 --reference-backend production \
--candidate deploy.vindex3 --candidate-backend production-nvfp4 \
--bank bank/ --sequences 69 --label nvfp4 --output out/nvfp4Start with representation and its contract
indexes. Encodings and execution providers this build does not ship load from
shared libraries with --plugin; see plugins.
VINDEX2 extraction, mmap gate queries, LQL, patch overlays and compilation remain part of LARQL. Default extraction still follows the generation policy; use an explicit V3 encoding path for the workflow above. Base vindexes are immutable: mutations use overlays and compilation produces a new artifact.
For those workflows, use the LQL guide, language specification, operations and patches, Factory, and Python bindings.
Stack architecture maps ownership across every crate;
generated workspace facts track dependencies
and features. VINDEX3 architecture explains the
container execution path.
larql-vindex owns the container and canonical interpreter; CPU and Metal
crates provide numerical backends; larql-inference owns runtime/session
composition. CLI, LQL and server layers expose those capabilities.
cargo test -p vindex-cli
cargo test -p larql-vindex
make ci
python3 scripts/current_facts.py --checkUse --no-default-features for portable Cargo builds/tests. Model-backed and
performance experiments have additional controls; a fixture pass is not a
model-wide fidelity or speed claim. AGENTS.md documents workspace
invariants and build conventions.
The documentation index leads to specifications, runtime contracts, research records and ADRs. The documentation policy keeps current explanations separate from versioned contracts and historical evidence. Historical benchmarks retain their original conditions in research records rather than serving as a universal performance promise.
See LICENSE.