Skip to content
In depthPrototype

Verace Yantra: system designs

A set of system specifications and Python verification code for a byte-level, soliton-memory reasoning engine, its optimizer and its engineering agent.

Verace Research
  1. Soliton memory ring: Fixed size, instead of a growing cache
  2. Attention key-value cache: What the design sets out to replace
  3. Raw bytes: Read with no vocabulary table
  4. Tool output written back: Sandboxed Python results enter the ring
Figure 1. Fixed-size soliton memory in the Verace Bytewise design. Schematic: raw bytes feed a reasoning core that, by design, holds context in a fixed-size soliton memory ring instead of a growing attention cache. Most of this exists only as a design, with prototype scripts.
Open the simulator on its own pageLooking back, or keeping a fixed memory: an interactive toy model of the principle. You can also try it below

Overview

Verace Yantra's system designs are the specifications and verification code from which the product's architecture is defined. They cover four bodies of work: the Verace Bytewise design of a vocabulary-free reasoning engine, a consumer-hardware variant of it, a Riemannian optimizer, and the Verace Forge design of an autonomous engineering agent. The question they address is whether discrete tokenizers, the attention key-value cache and long gradient descent can be replaced by continuous mathematical objects: wavelets over raw bytes, soliton memory, sheaf sections and geodesic averaging on a manifold.

The core pipeline has four stages. A byte translator maps raw bytes to multi-scale wavelets with no vocabulary table. A reasoning core is designed to store context in a Korteweg-de Vries soliton ring instead of a growing cache and to run a reversible symplectic stack with det⁡(J)≡1\det(J) \equiv 1, so activations need not be stored. An instanton engine sets reasoning depth from a tunnelling barrier. A Fréchet barycenter optimizer adapts the model by geodesic averaging. Each design is written as an INVENT-GRAPH specification: a typed AND-OR tree that is critiqued until open objections reach zero.

The code is a set of Python scripts that run, train and verify the Verace Bytewise pipeline, benchmark the consumer variant and the optimizer, and lay out the Verace Forge modules. In the verification harness, inputs of 64 to 1,024 bytes all map to one output of shape [4, 1, 256], the operational meaning of task length L=1L = 1. The harness reports a cocycle defect of 23.038097 and an average latency of 0.442 ms per task on CUDA. The training scripts overfit one byte pair for 150 epochs, or ten dialogue pairs padded to 128 bytes.

Status: the specifications are complete documents. Only a small part of what they describe exists as code: the pipeline scripts, the benchmarks and the class layout of the engineering agent. The recorded measurements are shape checks, one latency figure and one cocycle value. The harness marks the cocycle test passed even though the defect it prints is not zero, while the gluing condition requires zero. No task-quality evaluation, language-modelling result or trained model of useful size is recorded. The design documents also state speedups, communication savings and memory budgets. These are targets, not measured results.

Status

Prototype. The design specifications are accompanied by Python scripts that run, overfit and shape-check the pipeline, with one recorded verification output and no task-quality evaluation.

Simulator

A row of tokens is read two ways at once: the newest token looks back at every earlier one, and every token is also written into one memory of fixed size that fades.

  • looking back: one arc for every earlier token
  • fixed memory: how much of each token it still holds
  • newest token at the right
Looking back, this token
23 comparisons
Looking back, whole sequence
276 comparisons
State kept: looking back / fixed
24 tokens / 1 state
Fixed memory: a token is half faded after
4.3 tokens

Lengthen the sequence: the arcs multiply, the fixed memory stays one state. Lower the decay and it forgets sooner.

This simulator is an illustration of the principle, with made-up numbers. It does not run the lab's code or show the lab's data, and nothing in it is a measurement.

Architecture

  1. Embedded topos wavelet translator

    The input stage of the Verace Bytewise pipeline. It replaces a tokenizer by projecting raw bytes into multi-scale wavelets, so there is no vocabulary table in memory.

  2. CHCS soliton reasoning core

    The central reasoning stage. The design specifies that it keeps context in a Korteweg-de Vries soliton memory ring of fixed size and processes it with a reversible symplectic field stack.

  3. Coleman-De Luccia instanton engine

    The System-2 controller. It computes a bounce action and tunnelling rate and from them sets how long the model ponders, its proper-time depth.

  4. Riemannian Fréchet barycenter optimizer

    An optimizer that computes the geometric center of points on a manifold by iterating log and exp maps. The specification targets 3 to 10 geodesic steps.

  5. Consumer-grade topos engine

    The edge variant of the pipeline: translator, soliton core, Fréchet optimizer and a deconvolution render head. It is designed for a fixed RAM footprint under 2.5 GB of VRAM.

  6. SFT and chain-of-thought engine

    The supervised fine-tuning design. It masks prompt bytes out of the loss, lengthens instanton depth inside think tags and adds a Fréchet regularizer.

  7. Reinforcement learning and PRM stack

    A training design built on continuous GRPO over soliton reasoning paths, a continuous process reward model and a deterministic outcome verifier.

  8. Tool-integrated reasoning engine

    A design that interleaves reasoning with sandboxed Python blocks. The outputs of those blocks are written back into the soliton ring so arithmetic is exact.

  9. Distributed sheaf cognition mesh

    The cluster design. Nodes reach consensus by gluing at chart boundaries, or by averaging tangent vectors, over GPUDirect RDMA instead of a dense all-reduce.

  10. Fault tolerance and invariant auditing

    A design that checks cocycle loss, a univalence norm, zero-torque and curvature bounds on chip. It uses them to detect silent bit flips and to quarantine or rebuild failing parts.

  11. Verace Forge engineering agent

    The design of an autonomous engineering specialization, with desktop actuation, code ingestion, formal proving, hardware design and distributed orchestration modules around a central coordinator. In the code these modules are known only by their class names.

  12. Deployment specifications

    Slurm, Kubernetes custom resource and Terraform designs for a cluster of 12,288 nodes and 98,304 GPUs, with Prometheus telemetry.

Implementation

Mechanisms as they are implemented in the source code, with the constants the code uses.

Fixed-shape byte-to-section collapse
verify_uats_system.py passes byte inputs of varied length through the pipeline and asserts the output shapes. In the recorded run, inputs of 64, 128, 256, 512 and 1,024 bytes all produce a tensor of shape [4, 1, 256]. The harness reports this as compression to a single global sheaf section.
Cocycle defect readout
The same harness computes and prints a sheaf cocycle defect after the forward pass. It also times the full forward pass and reports the average latency per task. The recorded run gives a defect of 23.038097 and 0.442 ms on a CUDA device.
Single-pair overfit training
train_uats_engine.py trains the whole pipeline for 150 epochs on one input-to-target byte pair, saves the weights and decodes the output. test_uats_inference.py reloads trained_uats_engine.pt and runs that one memorized payload through the pipeline again.
Dialogue transcript overfit training
train_uats_gemini.py, through train_uats_on_gemini(), parses the last 10 user and agent pairs from a JSONL transcript of an outside agent. It pads or truncates each pair to 128 bytes with pad_truncate() and overfits the pipeline on them as a small demonstration.
Untrained forward-pass probe
test_uats_direct_framework.py sends one binary payload through a freshly initialized pipeline and prints the decoded bytes. The script itself notes that the output may look like noise.
Conversation smoke test
test_uats_conversation.py runs test_conversations() over four byte prompts, loading trained weights if they exist. It prints the decoded text through byte_to_text() together with latency.
Consumer VRAM and context benchmark
run_consumer_system_benchmark() in verify_consumer_llm.py runs the pipeline, translator and Fréchet optimizer. It measures VRAM, latency across context lengths and embedding-table memory, and asserts that peak VRAM stays under 2.5 GB.
Fréchet barycenter on the sphere
run_frechet_system_tests() in verify_frechet_system.py applies RiemannianFrechetBarycenter to random points on a sphere. The intended update is the Karcher step μk+1=Expμk(1N∑iLogμk(xi))\mu_{k+1} = \mathrm{Exp}_{\mu_k}\left(\frac{1}{N}\sum_i \mathrm{Log}_{\mu_k}(x_i)\right).
Simulated 64-node tangent-mean reduction
The same script simulates 64 nodes, each holding a local tangent vector, and reduces them to their mean. This is the code form of the design claim that the global update equals the average of local tangent vectors.
Soliton memory ring and instanton engine classes
The Verace Forge code names two classes, KdVSolitonMemoryRing and InstantonReasoningEngine. They are known only by these names, which correspond to the memory and reasoning-depth components of the designed core.
Saga orchestration and lock-free queue
distributed_saga_orchestrator.py defines classes named DistributedSagaOrchestrator, SagaStep and SagaStepStatus, and the agent also names a LockFreeSPSCQueue. They are known only by their class names, which correspond to the orchestration layer of the design.
Formal and constraint solving modules
formal_verification_lean4.py defines a class named Lean4FormalProver, and the agent also names a Z3ConstraintSolver. They are known only by their class names; in the design specification they stand for the formal prover components of the engineering kernel.
Hardware design modules
hardware_cad_engine.py defines a class named ParametricCADSolid, and the agent also names a SynthesizableVerilogGenerator. They are known only by their class names, which correspond to the hardware design components of the specification.
Actuation and kernel-level modules
VirtualHIDController is a named component that the specification places on the Linux virtual input driver as a virtual keyboard and mouse. kernel_actuation_ebpf.py defines a class named WireSpeedEBPFFilter; both are known only by their class names.
Frontend rendering modules
frontend_wasm_engine.py holds classes named DOMFreePretextLayoutEngine and WebGPUCanvasRenderer. They are known only by their class names, which correspond to the frontend layer of the engineering agent.
End-to-end agent test suite
test_asi_engineer_end_to_end.py contains a test_suite() function tied to MasterASIEngineer, the most connected class of the agent, defined in master_asi_engineer.py. In the design it is the central coordinator of the named modules.

Results

From the lab's own experiments and records. They have not been independently replicated.

  1. Variable byte inputs map to one fixed section

    In the lab's verification run, inputs of 64 to 1,024 bytes all produced an output of shape [4, 1, 256]. This confirms the fixed output size. It does not show how much information the section retains.

  2. Cocycle defect of 23.04 marked as passing

    The verification harness printed a sheaf cocycle defect of 23.038097 and reported the gluing test as passed. The equalizer condition in the design requires a defect of zero, so this check does not establish consistency.

  3. Sub-millisecond forward latency on CUDA

    The lab's harness recorded an average end-to-end latency of 0.442 ms per task, against a design threshold of 5.0 ms. This figure times the forward pass only; the records hold no output-quality measurement alongside it.

  4. Training recorded only as overfitting demonstrations

    The training scripts memorize one byte pair over 150 epochs, or ten dialogue pairs padded to 128 bytes. No held-out evaluation is recorded, and the untrained pipeline is documented as producing output that may look like noise.

  5. Consumer memory budget asserted in code

    The consumer benchmark asserts peak VRAM under 2.5 GB and measures latency across context lengths. Its results are not recorded beyond the assertion itself.

  6. Throughput and communication figures are design targets

    The 37.3x kernel speedup, 160 to 215 tokens per second on consumer GPUs, 99.98% lower mesh communication and 1000x faster personalization appear only in the design documents. None is a recorded measurement.

Concepts

Korteweg-de Vries soliton memory
The KdV equation ut+6uux+uxxx=0u_t + 6uu_x + u_{xxx} = 0 is an integrable nonlinear wave equation whose solitary waves have sech2\mathrm{sech}^2 profiles. The design specifies these waves as memory slots in a ring of constant size. The specifications give about 11.5 to 15 MB for the core and about 50 MB per session for the consumer engine.
Task length L equals 1
Verace Bytewise represents a whole task as one global section of a sheaf, written Γ(X,F)\Gamma(X, \mathcal{F}). The sequence length the core sees is therefore 1, whatever the input length.
Sheaf gluing equalizer
Local pieces of context are glued into a global section only if the restriction maps agree on overlaps: ρij(si)−ρji(sj)=0\rho_{ij}(s_i) - \rho_{ji}(s_j) = 0. The design reads this agreement as the absence of contradiction between local contexts.
Čech cocycle check
The cocycle condition from Čech cohomology serves as a convergence and integrity check. A nonzero cocycle loss signals inconsistency, or a silent bit flip in the fault-tolerance design.
Fréchet variance and zero torque
The Fréchet mean minimizes V(μ)=12N∑id2(μ,xi)V(\mu) = \frac{1}{2N}\sum_i d^2(\mu, x_i). Its gradient is minus the mean of the log maps, so the center satisfies ∑iLogμ(xi)=0\sum_i \mathrm{Log}_\mu(x_i) = 0, which the design calls the zero-torque condition.
Riemannian Newton convergence
The optimizer specification states, as its Theorem 2, that inside a small geodesic ball the Fréchet mean is unique and Newton iteration converges quadratically in 5 or fewer steps.
Multi-manifold formulations
The specification gives log and exp maps for the hypersphere, the Stiefel manifold with polar retraction, hyperbolic space and a sheaf manifold. Each is listed with a different convergence step count.
Reversible symplectic stack
Layers integrated with a Störmer-Verlet scheme can be run backward exactly, so inputs are reconstructed instead of cached. The design targets training of 64 or more layers under 2 GB.
Instanton pondering depth
In the design, the Coleman-De Luccia bounce action BB and the tunnelling rate set the System-2 depth τ∗\tau^* analytically. The specification allocates 1 bounce for simple tasks and 2 to 4 for hard reasoning.
Continuous sheaf GRPO
Group Relative Policy Optimization normalizes rewards within a group of sampled reasoning paths, clips updates and adds a KL penalty, with no critic network. The design applies it to soliton reasoning paths and cites DeepSeek's DeepSeekMath and DeepSeek-R1 work as prior art.
Continuous process reward model
ContinuousProcessRewardModel scores intermediate states at line breaks with rt=tanh⁡(w⊤s(t))r_t = \tanh(w^\top s(t)) in [−1,1][-1, 1]. DeterministicOutcomeVerifier adds an outcome reward of 0 or 1 from the boxed final answer.
Prompt-masked byte SFT
ContinuousPromptMasker sets the label of prompt bytes to -100, so cross-entropy falls only on reasoning and answer bytes. InstantonCoTSuperviser requires depth τ≥2.0\tau \geq 2.0 when think tags are present, and the CoT design expands τ\tau from 1.0 to 3.0 inside think blocks.
UTF-8 topological automaton
UTF8TopologicalAutomaton is specified as a deterministic finite automaton that permits only valid Unicode byte transitions. The design states that this keeps decoded byte output valid UTF-8.
Zero-backprop memory injection
Private facts are written into hashed soliton slots, or added by sheaf extension by zero, written j!j_!, without changing model weights. The design claims this avoids catastrophic forgetting and keeps the stored facts encrypted at rest with AES-256-GCM.
Tangent-mean consensus
Because tangent vectors add linearly, the global update across nodes is the mean of the local ones. The mesh design pairs this with an RDMA tree reduce and claims O(log⁡N)O(\log N) communication and a payload smaller by a factor of 10810^8.
INVENT-GRAPH specification
Each design is written as a typed AND-OR tree with a status lattice and a Pareto price algebra over a budget vector. For the consumer engine the budget is at most 4 GB of VRAM, at most 45 W and at most 5 ms.
Critique-fix lexicographic descent
Repeated critique rounds reduce a pair made of the number of open objections and a normalized gap. The rounds stop at E=(0,0)E = (0, 0), where the optimizer specification records the verdict buildable now.
Honesty ledger
The specifications tag each claim with its evidence and a falsifying experiment. One example is streaming 1M bytes through the engine and watching whether VRAM grows.
Deterministic Petri net state machine
The control layer of the agent is designed as a place-transition net. The design claims it guarantees loop termination, reachability and freedom from deadlock.
Fused SRAM barycenter kernel
A single Triton kernel is designed to compute the log maps, a warp-shuffle reduction and the exp retraction in registers. The accelerator co-design document gives 0.38 ms against 14.2 ms unfused, a factor of 37.3.

About this page

Written from the lab's own documents and source code. Figures and results are the lab's measurements as it recorded them at the time, and have not been independently replicated.

Published under the PolyForm Noncommercial License 1.0.0: free for noncommercial use.