Skip to main content
Articles

One engine, one container, our own library: the NeuroBrix ecosystem

· NeuroBrix

For many people, AI has shrunk to a chatbot behind an API. It is much more than that: AI is a neural network, and neural networks read speech, draw images, write code, sharpen photos and make videos. A print shop needs an upscaler, a clinic needs transcription, a developer needs a coding model, and none of them needs a 100,000 € machine to get it.

That is why we started NeuroBrix in May 2025, with one rule: one engine for every model, on the hardware you already own. Eighteen months later, it is an ecosystem of bricks that fit together. You can use all of them, or only the one you need.

The engine: neurobrix

One engine runs language, speech, image and video models. It plans where every part of a model runs from the GPUs and memory it finds: one GPU, several, streamed through GPU memory, or on the host. 49 models are ready today, from Whisper to Qwen3-Coder, Flex, CogVideoX and Wan, and each one runs with the same two commands:

neurobrix import <model> --accept-license
neurobrix run --model <model> ...

It runs on GPUs under Linux and Windows, on Mac GPUs through Metal and on CPU, with two engines: the PyTorch engine, and the Triton engine, which needs no PyTorch at all.

The container: .nbx

A model ships as one .nbx file that holds everything the engine needs: the model's computation graph, its weights, how its components connect, and its runtime defaults. No per-model pipeline to install, no glue code to write. The same container runs on both engines, so each can be checked against the other. Every container is on our hub and on Hugging Face.

The tensor library: nbxtensor

nbxtensor is our own tensor library: tensors, Triton kernels, planned memory and certified tuning. Its kernel settings are certified once per GPU class against a float64 reference and shipped, so nobody waits for a tuning pass on first run, and anyone can certify their own GPU and share it.

It is also what wakes older cards up. On 2017 V100s, our kernels drive the tensor cores directly: DeepSeek-Coder-V2-Lite runs 3.64× faster than through PyTorch's kernels on the same card, and Janus-Pro-7B 5.24× on a 16 GB card (benchmarks, with every command).

The grammar engine: nbxgrammar

nbxgrammar turns a JSON Schema or a tool-call format into a mask over the model's next token, at every step. The model cannot produce a malformed answer, because a malformed token is never on the table. It is written in Rust with the standard library only, and loads from Python through a C interface: small, fast, and usable by any project that needs structured output.

What comes next

  • NBX Code will be our coding agent, written in Rust and running on the engine with an open model on your own machine. Our grammar engine will shape every tool call it makes, every command will run in a sandbox with the permissions you set, and every action will be written to a journal you can replay. See it at work.
  • NeuroBrix Studio will be the desktop application of the ecosystem, for macOS, Windows and Linux: pick a model, run it, see the result, without a terminal.
  • The hub will keep growing into a home for models, with every container certified to run.

Take one brick, or all of them

Entering the ecosystem does not mean adopting the whole engine. Use nbxgrammar alone in your own server. Build on nbxtensor to run kernels without PyTorch. Or install everything and run 49 models from one command line. The bricks are open source, Apache 2.0, and they are built to be built on.

pip install neurobrix

GitHub · Hub · Hugging Face · YouTube. Let's build what comes next, together.