Products / In design · built first
CarbnEngine
The core inference engine behind every Carbn module. It runs open models on whatever hardware your organisation already owns.
Caller
Any Carbn module
Unified inference API
OpenAI-compatible
Backend router
per model × hardware
Default
MAX + Mojo
Fallback
vLLM
Your hardware
Accelerators · CPUs · memory
Overview
What is CarbnEngine?
CarbnEngine is the core project and the foundation everything else in Carbn depends on. It runs local, open models on the hardware your organisation already has, and it is the default engine behind every Carbn module and plugin.
Hardware flexibility is the design goal: the same models should run efficiently across different server setups, whatever mix of accelerators, CPUs and memory you own. CarbnEngine uses Modular MAX and Mojo as its primary backend, and vLLM as a secondary backend for models or hardware that MAX does not yet support.
Carbn's own code is open source. MAX, which CarbnEngine wraps as released, is source-available under the MAX licence.
Key features
What CarbnEngine gives every module
One engine, one interface, whatever hardware is in the rack.
Hardware flexibility
The same models run across varying accelerators, CPUs and memory configurations, without a separate code path for each vendor.
Modular foundation
Every Carbn module and plugin runs on CarbnEngine by default, through the same inference API.
Swappable engine
External parties can run the open-source modules on their own inference engine instead.
MAX and Mojo first
Built on Modular MAX and Mojo. Carbn's optimisations live in Carbn's own layer, not in a modified copy of MAX.
Fully self-hosted
Runs entirely on your own infrastructure. Nothing leaves your servers.
Open source
Carbn's engine code will be free to self-host, inspect and contribute to.
Components
What is inside the engine
Six parts, one contract. Modules never need to know which backend served a request.
- 01
Backend adapter interface
A single internal contract that every backend implements, so MAX, vLLM or a third-party engine can be plugged in.
- 02
Backend router
Selects the backend for each model on each piece of hardware: MAX by default, vLLM when MAX does not support the combination, with a manual override for operators.
- 03
Unified inference API
One OpenAI-compatible API that every module calls, whichever backend serves the request.
- 04
Hardware discovery
Detects the accelerators, CPUs and memory available on each server and reports what they can run.
- 05
Model registry
Records which models are available, which backends can run them and on which hardware.
- 06
Model provisioning
Downloads and prepares models in connected environments, and loads pre-packaged models on air-gapped systems.
Backends
One default, one fallback
MAX remains the default wherever it supports the model and the hardware. vLLM is a fallback, not a co-equal backend.
Primary: Modular MAX and Mojo
A model compiler, runtime and serving layer designed to run AI workloads across different processors from one codebase. This is what makes hardware-agnostic inference practical.
Secondary: vLLM, for coverage
Serves models or hardware that MAX does not yet support, behind the same adapter interface.
Secondary: vLLM, for comparison
Lets CarbnBenchmarks measure MAX and vLLM side by side on your own hardware.
In design · built first
CarbnEngine is in design
Follow the project on GitHub, or get in touch if you want to deploy Carbn on your own infrastructure.
Or follow the build on GitHub