Ir al contenido
Open source · PHP 8 · MMVC

Construye a la
velocidad de las estrellas.

Nibiru es un framework PHP MMVC modular para prototipado rápido — un enrutador, una capa de vista basada en Smarty, soporte multi-base de datos (MySQL · PostgreSQL · ODBC · PDO), un constructor de formularios fluido y una CLI que crea módulos, controladores y migraciones en segundos.

The pattern · 01

Five roles. One orbit.

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

01 / 05 — 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 / 05 — AI

The spark
that lights it up.

The AI module turns weights into intent. Chat, embeddings, retrieval, agents — the inference patterns Nibiru ships with, wrapped around any Model the runtime can reach.

From Model::load() to Ai::ask() in one hop.

03 / 05 — 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.

04 / 05 — 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.

05 / 05 — 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 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 source, MIT-licensed, no SDK. Pick the configuration that matches your altitude.

Probe · Edge

Nibiru Lite

Just the framework. Five commands and you're running.

Disk~ 5 MB
Boot3 min
DB drivers5
LicenseMIT
Read the quick start
Shuttle · Daily driver

Nibiru Base

Framework + AI module + Oracle, wired to your Ollama.

Modules+ ai · oracle
Tools3 built-in
BackendsOllama · OpenAI · Claude
LicenseMIT
Read the AI docs
Mothership · Heavy lift

Nibiru Pro

Production stack — CMS, ACL, Elasticsearch, blue-green deploys.

Modules+ cms · acl · search
Migrations161 in prod
SearchElasticsearch
Deployblue-green
See it in production
In production · 05

Real apps. Real revenue.

The flagship Nibiru deployment is the Maschinen Stockert group — two repos powering one of Austria's larger industrial-machinery e-commerce platforms. 18 shared modules, ~74 000 lines of PHP, 161 timestamped SQL migrations into production. No service container.

Two repos, 18 shared modules, 161 timestamped SQL migrations into production with no migration framework, 74 000 lines of PHP with no service container. The team that built and runs it is small.