# Nibiru — An AI framework that orbits PHP
Nibiru is an open-source AI framework for PHP 8+. Built on MMVC — Model, Module, View, Controller — it separates weights from capability so agents compose like code, not glue.

Open source · PHP 8 · MMVC

# An AI framework that orbits PHP.

Nibiru is a structural framework for AI in PHP. The MMVC pattern — Model, Module, View, Controller — splits weights from capability so agents compose like code, not glue.

Try the chat → Download model →
NIBIRU SYSTEM · live
MODEL nibiru-base-7B
MODULES 4 in orbit
CONTROLLER idle
v0.9.2
The pattern · 01

## Four roles. One orbit.

MMVC generalises classic MVC for AI workloads. The monolithic Model splits in two — the underlying weights, and the typed capabilities that wrap them. Watch the system come into focus.

Model
Module
Controller
View
01 / 04 — MODEL

### The star
at the centre.

The Model is the underlying ML model. Weights, runtime, inference — wherever it lives, on a laptop or a cluster. From the Controller's view it is stateless and addressable: `Model::load('nibiru-base-7B')`.

One Model, many Modules.

02 / 04 — MODULE

### Modules orbit
the Model.

A Module is a typed capability — a retriever, a planner, a tool, a vision encoder. It has typed inputs and outputs. Composable. Pure-function-shaped over the Model.

This is the layer MVC never had. Capabilities live here, not in the Model.

03 / 04 — CONTROLLER

### The gravity
between them.

The Controller orchestrates. It decides which Modules run, in what order, and how their outputs flow. Holds policy, never weights — the same Controller drives a chat agent or a batch job.

04 / 04 — VIEW

### The surface
at the horizon.

The View is the user-facing layer — `ChatView`, `VoiceView`, `APIView`. Swap one for another and the Controller does not change. Same agent, different sky.

Live system · 02

## Mission Control.

A working playground. Same nibiru-base-7B model, same MMVC controller — just with the dashboard turned on so you can see the modules light up.

NIBIRU/MC · session 7c4a
MODEL nibiru-base-7B LATENCY — TOKENS 0
› establishing link to nibiru-base-7B …
› controller online · 4 modules in orbit (Retriever, ReActPlanner, Greeter, ChatView)
› ready. type a prompt below or pick a suggestion.
›
Launch sequence · 03

## Eleven lines, one orbit.

Code on the left, system on the right. Hit launch and watch the modules slide into place as the controller wires them up.

agent.php

// nibiru system · live
Modules 0 Tokens 0 Latency — ms
Choose your craft · 04

## Three vessels. Same orbit.

Open weights, signed manifests, verifiable checksums. Pick the model that matches your altitude.

Probe · Edge

### Nibiru Lite

Fits in a pocket. Runs on a laptop CPU.

Params1.3 B
Disk820 MB
Quantization4-bit
Speed30+ tok/s
Download Lite →
Shuttle · Daily driver

### Nibiru Base

The default. Runs anywhere with a GPU.

Params7 B
Disk14 GB · 4 GB Q4
Context8 192
LicenseApache 2.0
Download Base →
Mothership · Heavy lift

### Nibiru Pro

Cluster scale. Tool use, vision, long context.

Params34 B
Disk68 GB
Context128 K
ModalitiesText · Vision
Download Pro →