Model-driven. Going agentic.

Model once, run anywhere

Describe your application and business logic once as a model — independent of technology and platform. Our goal: coding agents help write and evolve the model, generators derive what follows, and you decide what ships. The platform may change; the model stays.

Calc.waggle
// LL(k) grammar: one file, one generated parser
grammar Calc;

Input  = Expr() <EOF> ;
Expr   = Term() ( ( <PLUS> | <MINUS> ) Term() )* ;
Term   = Factor() ( ( <TIMES> | <DIVIDE> | <MOD> ) Factor() )* ;
Factor = <NUMBER> | <LPAREN> Expr() <RPAREN> ;

SKIP  = " " | "\t" | "\n" | "\r" ;
TOKEN =
  < PLUS: "+" > | < MINUS: "-" >
| < TIMES: "*" > | < DIVIDE: "/" > | < MOD: "%" >
| < LPAREN: "(" > | < RPAREN: ")" >
| < NUMBER: (["0"-"9"])+ > ;
terminal

# agent: add a modulo operator to Calc

✓ Calc.waggle: Term accepts <MOD>

$ ./gradlew generateParser

✓ target java → src/main/generated

→ Parser, Lexer, ParserConstants

  waiting for your review

Illustration of the goal, not a shipped integration.

The problem

Agents write code fast. What they lose just as fast is the why.

A decision made in one session is forgotten in the next, and the reasoning stays in a chat log nobody reads again. The same knowledge ends up in the code, the docs and the build, and each copy ages at its own pace. The faster the code grows, the harder it gets to review.

A model gives humans and agents one source to work from: it states the intent, and it stays when the technology changes.

Why a model

A prompt asks. A specification explains. A model can be checked.

All three have their place, and they work together: NUC starts a project from a written specification, and a model is where part of that intent becomes something a tool can check and build from. This compares them in principle; it is not a measurement.

AspectPromptSpecificationModel
Where the intent livesIn one chat sessionIn a document in the repositoryIn a declarative file in the repository
Who can read itThe agent, while the session lastsHumans and agentsHumans, agents and tools
What produces the resultAn agent, anew each timeAn agent, following the documentA generator, with agents building the rest
What catches a mistakeYou, when reading the outputYou, in review and testsA tool can reject an invalid model before review and tests

Where we are heading

The model decides. The agents do the work.

This is our goal for agentic development, not a finished product: today the tools stand on their own and do not yet form one integrated workflow. Each step shows what already exists.

  1. 01 · Human

    Intent

    Set the goal and the rules the work has to follow.

    Today: NUC keeps them in a specification and ADRs.

  2. 02 · Agent + human

    Model

    Write the model and evolve it as the application grows.

    Today: Waggle grammars, Nectar Markdown and Forager mapfiles are plain text files.

  3. 03 · Generator

    Derive

    Produce the result from the model instead of writing it by hand.

    Today: Waggle, Nectar and Forager each do this for their own model.

  4. 04 · Agent

    Build

    Build what the model does not cover around what was derived.

    Today: NUC gives coding agents a ready-to-use Dev Container.

  5. 05 · Human

    Review

    Check the result and decide what ships.

    Today: NUC leaves accepting ADRs to humans; Ocelli shows the commit graph.

About the name

Why “HiveVM”

HiveVM is a cross-platform, model-driven application platform in Rust — applications are described as models, and the platform runs them. The name captures both halves of that idea.

Hive

A tribute to the hexagonal architecture at the platform's core. Hexagons are among the most stable, efficient structures in nature — the same property that makes the design resilient and composable. And like a hive, the system is built from many small parts working together toward one coherent whole.

VM

A virtual machine: the runtime that executes applications described as models. Just as a classic VM runs bytecode, HiveVM runs models — the model is what gets executed.

Every tool is named after a part of the hive: Waggle, Nectar, Forager, NUC, Ocelli and Comb.

Toolkit

From model to solution

The tools are grouped by the job they do around the model, so your repository stays focused on intent, not on one architecture, technology or deployment. Each one stands on its own: adopt one without the others.

Every tool lives in its own public repository: read the source, file issues or build from it.

Derive

Produce the result from a model instead of writing it by hand.

Parser generator (Waggle)

An LL(k) parser generator that turns a single grammar into a recursive-descent parser and a full AST for Java, C++ and Rust, with no runtime dependency.

Java BSD-3-Clause Release

Documentation generator (Nectar)

A documentation generator in Rust that publishes one Markdown source as a website and a PDF from the same engine.

Rust BSD-3-Clause Release

Map renderer (Forager)

A MapServer-compatible render core in Rust that renders existing mapfiles in the browser as WebAssembly and on the server as a library.

Rust MIT OR Apache-2.0 Build from source

Govern

Keep agents to written rules and decisions.

Agent template (NUC)

A repository template for building software with coding agents inside a ready-to-use Dev Container, driven by a written specification and ADRs.

Shell MIT Template

Review

See what changed and how it fits together.

Git client (Ocelli)

A Git client that shows a repository as a readable commit graph, on the desktop, in the browser and in the terminal, and works on it from there.

Rust MIT Build from source

Build on

Libraries for your own applications.

Node editor (Comb)

A node-editor framework for the browser, built to stay responsive with tens of thousands of nodes: it draws on a WebGL2 canvas and computes its geometry in Rust.

Rust MIT Build from source

In action

Definitions that read like the thing they describe

Grammars, documents and specifications are plain declarative files. Each tab shows one on the left and what follows from it on the right.

Parser generator (Waggle)

Calc.waggle
grammar Calc;

Input  = Expr() <EOF> ;
Expr   = Term() ( ( <PLUS> | <MINUS> ) Term() )* ;
Term   = Factor() ( ( <TIMES> | <DIVIDE> ) Factor() )* ;
Factor = <NUMBER> | <LPAREN> Expr() <RPAREN> ;

SKIP  = " " | "\t" | "\n" | "\r" ;
TOKEN =
  < PLUS: "+" > | < MINUS: "-" >
| < TIMES: "*" > | < DIVIDE: "/" >
| < LPAREN: "(" > | < RPAREN: ")" >
| < NUMBER: (["0"-"9"])+ > ;
terminal
$ ./gradlew generateParser
target java → src/main/generated
Parser, Lexer, ParserConstants

A simplified view of a run, not literal output.

Read more about Waggle

Documentation generator (Nectar)

manual.md
# User Manual

Published as a **website** and a **PDF**.

[Getting started](./start.md)
[Configuration](./config.md)
[Grammar reference](./grammar.md)
terminal
$ nectar build
# writes the site, the print view and the PDF to public/

Map renderer (Forager)

world.map
MAP
  NAME "world"
  EXTENT -180 -90 180 90
  SIZE 400 200
  IMAGECOLOR "#ffffff"
  PROJECTION
    "proj=longlat"
    "datum=WGS84"
  END
  WEB
    METADATA
      "wms_title" "World"
    END
  END
  INCLUDE "layers/countries.inc"
END
terminal
$ forager read world.map --format yaml
world.map:11:3: warning [discarded-keyword]: WEB is out of Forager's scope and is discarded
layers/countries.inc:6:3: warning [unsupported-keyword]: LABELITEM is not yet supported and is ignored
version: "1.0"
map:
  name: world
  …

Agent template (NUC)

AGENTS.md
# Agent Guide

Single source of truth for all coding agents.

## Start here
1. docs/SPECIFICATION.md — the specification
2. docs/adr/ — accepted ADRs are binding

## ADR rules
- Create an ADR before any architecture-relevant change
- Set status proposed, then stop and ask for review
docs/adr/0008-tool-front-matter-single-source.md
# ADR-0008: Each tool's data lives in the front matter of its tool page

- **Status:** 🟡 proposed
- **Date:** 2026-11-10
- **Deciders:** Maintainer

An ADR an agent proposed for this website. Only humans accept.

Read more about NUC

Git client (Ocelli)

terminal
$ ocelli-cli
# opens the repository in the current directory
commit graph
● abc1234   main   Fix login bug                    Alice      2024-01-12 14:30
●─┐ def567         Merge feature/oauth into main    Bob        2024-01-11 09:15
│ ● ghi890  feat   Add OAuth2 support               Carol      2024-01-10 17:42
│ ● jkl012         Refactor auth module             Carol      2024-01-09 11:20
●─┘ mno345         Update dependencies              Alice      2024-01-08 16:05
● pqr678           Initial commit                   Dave       2024-01-01 10:00

Node editor (Comb)

graph.ts
comb.load({
  nodes: [
    { id: "a", x: 0, y: 0, width: 220, content: [[{ kind: "text", role: "title", text: "Premium trial users" }]] },
    { id: "b", x: 320, y: 0, width: 220, content: [[{ kind: "text", role: "title", text: "Time spent listening" }]] },
  ],
  edges: [
    { id: "a-b", source: "a", target: "b", color: 0x22a55b, label: { text: "0.998", t: 0.5, offset: 0 } },
  ],
});
canvas
[TODO: an image of this graph as Comb draws it]

Get started

Model your next solution

Start from a project specification, a grammar or Markdown documentation.

Agent template (NUC)

I work with coding agents

A repository template for building software with coding agents inside a ready-to-use Dev Container, driven by a written specification and ADRs.

Parser generator (Waggle)

I need a parser

An LL(k) parser generator that turns a single grammar into a recursive-descent parser and a full AST for Java, C++ and Rust, with no runtime dependency.

Documentation generator (Nectar)

I want docs from Markdown

A documentation generator in Rust that publishes one Markdown source as a website and a PDF from the same engine.