Realm

Powerful accelerators. Surrounded by glue.

OA (One API, Open Architecture) is Realm's unified, GPU-first framework and library: one execution system for numerical computing, machine learning, vision, audio, media, data, networking, crypto, rendering, interfaces, and plotting.

Rust · PythonVulkan computev0.18.0
Realm research laboratory
oa::Library

Directive

Realm is the research and engineering collective behind OA. The long objective is artificial consciousness. The immediate mission is concrete: remove infrastructure friction from the experiments required to reach it and give researchers direct, measurable control over the compute beneath their work.

OA is the instrument, not the claim. Neither this library nor the models built with it are presented as conscious. OA exists so the hard questions can be tested without first assembling an execution system from unrelated parts.

The problem

A useful intelligent system does not end at matrix multiplication. It captures or decodes data, transforms it, trains or executes a model, evaluates the result, preserves state, and then displays, plays, encodes, or transmits the output. Conventional workflows often split that path across libraries, allocators, queues, runtimes, and language boundaries.

Every handoff adds integration work. It may also add a conversion, allocation, copy, synchronization point, deployment dependency, or opaque fallback. The hardware is powerful; the surrounding glue becomes the system. OA began as a refusal to accept that arrangement.

OA answers with one library, one runtime, one resource model, and one completion contract. It keeps computational values on the device from ingestion through the final GPU consumer. Host transfer is an explicit boundary, not an accidental step between operations.

OA deliberately calls its multidimensional numerical value Matrix instead of introducing a second Tensor name for ML. That practical vocabulary does not erase domain meaning: images, audio, video frames, textures, and meshes remain distinct public values even when their representations permit storage-sharing matrix views. Views replace copies when representation and lifetime allow it.

Devices enter through Vulkan capability checks and qualified execution routes, never through a brand allow-list. Unsupported paths fail closed instead of silently changing the workload.

Runtime authority

OA is not a Vulkan object wrapper and it is not a thin front end to somebody else's SDK. It is an end-to-end runtime. High-level code describes semantic operations whileoa::Runtime owns the local device, memory, queues, kernels, scheduling, and profiling services beneath them.

The backend selects qualified kernels, manages resource lifetimes, lowers graph hazards, and coordinates execution. Eager operations return semantic values without a public submit/wait ceremony; blocking host observation may flush and wait. Explicit runtime submission remains available and returns an exact oa::Event. Values retain domain semantics; stateless lowercase module operations transform them; sessions own stateful processes.

Host values and device values

Rust uses its standard containers and primitives for ordinary host work:Vec<T>, String, Option<T>, andf32/f64. OA adds semantic values and checked domain contracts.oa::vlm owns fixed-size spatial math for cameras and rendering;oa::Matrix owns device-visible numerical storage. Host reads are explicit.

One runtime. Two front ends.

Rust and Python use the same OA runtime for Vulkan execution, gradients, and optimizer updates. In the November 17 Transformer comparison, median step times differed by at most 5.5%. Both languages reached the same final loss and accuracy for each tokenizer.

TokenizerRust · ms/stepPython · ms/stepPython vs RustFinal accuracy
Character6.15 (5.65 to 6.24)5.88 (5.86 to 5.89)−4.4%92.4%
Byte7.31 (7.00 to 7.43)7.71 (7.36 to 8.05)+5.5%92.9%
BPE7.60 (7.40 to 8.20)7.61 (7.60 to 7.79)+0.1%98.9%

Timing cells show the median and observed range from three fresh processes per language and tokenizer. Runs alternated Rust and Python, using 300 steps, batch 64, sequence 16, and AdamW at a learning rate of 0.01. The November 2026 development builds ran on a Surface Laptop 5 with Intel Iris Xe, Mesa 26.2.7, and Vulkan 1.4.354. Full measurement notes

Research objective

Today's models are formidable learned computational systems. Their ability to produce an experience of intelligence does not settle the scientific question of consciousness, and market acceptance does not close that question for us.

Realm raises the requirement before the ticket exists. We pursue observable state, mechanistic tests, persistent memory, deliberation, world models, and architectures whose claims can survive intervention—not merely presentation. OA is the laboratory substrate for that pursuit. Artificial consciousness is a research direction, not a shipped capability.

If that frontier is crossed, “artificial” will matter less than the new intelligence humanity has learned to recognize. Until then: measure, falsify, refine, persist. Read the Realm operating standard.

Quick start

Both APIs compute A × Bᵀ, using the right operand in OA’s weight layout. The result stays on the device until the example requests a host copy.

1use oa::matrix;
2
3fn main() -> oa::Result<()> {
4 let one = matrix::ones([2, 3])?;
5 let two = matrix::full([2, 3], 2.0)?;
6 let product = matrix::matmul(&one, &two)?;
7 assert_eq!(product.read_f32()?, vec![6.0; 4]);
8 Ok(())
9}
10

Open admission

OA is intended for everyone building compute-intensive systems: researchers, engineers, artists, scientists, students, and application developers. The admission rule is technical, not commercial: a platform needs a Vulkan-capable route that OA can test and qualify.

Linux is the currently qualified operating system. Windows support is planned. Apple platforms remain outside the supported matrix until a viable Vulkan route can satisfy the same correctness and capability gates. Portability is a contract, not a logo collection.