vmblu Installation Instructions
This document describes the current recommended installation paths for vmblu.
vmblu has three separate pieces:
- the VS Code extension, used to inspect and edit vmblu models;
- the npm packages, used to initialize projects, generate applications, and run generated apps;
- optional coding-agent integration for Codex, Claude, and other agents.
The CLI, runtime, schemas, and capability generation are the canonical vmblu distribution. Agent skills/plugins are integration layers over that core.
Requirements
- Visual Studio Code, if you want to use the vmblu editor.
- Node.js 18 or newer.
- A JavaScript or TypeScript project target. Generated apps can run in browser or Node.js environments depending on the model and runtime.
- Optional: a coding agent such as Codex or Claude.
vmblu is coding-agent agnostic. It does not require a specific agent, but an agent can make model creation and code generation much faster.
Give This Guide To A Coding Agent
You can give this document to your coding agent as context and ask it to set up vmblu for you. The full document is useful context; the short prompt below is the part to copy into the agent conversation.
Use the attached vmblu installation instructions as context.
Set up vmblu for this project:
1. Install or verify the vmblu CLI and runtime packages.
2. Install the appropriate vmblu agent support for this coding agent.
3. Initialize the project with `vmblu init` if it is not already initialized.
4. Read `.vmblu/vmblu.prompt.md` before making project changes.
5. Use the root `.blu` entrypoint to find the model in `model/`.
Do not overwrite existing project files without checking first.Install The VS Code Extension
Install the vmblu extension from VS Code:
- Open VS Code.
- Open the Extensions view with
Ctrl+Shift+X. - Search for
vmblu. - Install the extension.
Marketplace link:
https://marketplace.visualstudio.com/items?itemName=vizualmodel.vmbluInstall The npm Packages
For a project that uses vmblu directly:
npm install @vizualmodel/vmblu-runtime @vizualmodel/vmblu-cliFor one-off CLI usage without installing first:
npx @vizualmodel/vmblu-cli --helpThe runtime package exposes explicit runtime variants. Generated apps should import one of these subpaths:
@vizualmodel/vmblu-runtime/rt-base
@vizualmodel/vmblu-runtime/rt-als
@vizualmodel/vmblu-runtime/rt-agentDo not use the package root @vizualmodel/vmblu-runtime as a runtime import. New vmblu models should declare the runtime explicitly in the model header.
Install Agent Support
Codex
For Codex users, the preferred route is the vmblu Codex plugin when it is available. The plugin includes the vmblu skill plus plugin metadata, icons, starter prompts, and a place for future Codex-specific features.
The repo-local plugin source lives at:
plugins/vmblu/During development, refresh it from the canonical Codex agent files with:
node cli/bin/vmblu.js plugin build-codexTo assemble a distributable copy:
node cli/bin/vmblu.js plugin build-codex --out ./dist/plugins/vmbluIf plugin installation is not available in a user's Codex environment, install the lightweight Codex skill instead:
vmblu agent install codexor, without a global vmblu command:
npx @vizualmodel/vmblu-cli agent install codexBoth routes install the same core Codex guidance. The plugin is the more user-friendly and future-proof package; the skill installer remains the simple fallback and developer path.
Claude
Claude support is installed through the generic agent installer:
vmblu agent install claudeor:
npx @vizualmodel/vmblu-cli agent install claudeClaude support should stay Claude-native. It does not need to mirror the Codex plugin or Codex skill layout.
List Available Agent Installers
vmblu agent listor:
npx @vizualmodel/vmblu-cli agent listCreate A New vmblu Project
The recommended project initialization command is:
vmblu init my-new-applicationor, without a global vmblu command:
npx @vizualmodel/vmblu-cli init my-new-applicationvmblu init creates the target folder if it does not exist.
Current default layout:
my-new-application/
my-new-application.blu
package.json
model/
my-new-application.mod.blu
my-new-application.mod.viz
nodes/
.vmblu/
vmblu.prompt.md
overrides/
cache/
logs/The root my-new-application.blu file is a small entrypoint manifest:
{
"kind": "vmblu.entrypoint",
"version": 1,
"model": "model/my-new-application.mod.blu"
}Open the root .blu file in the editor or pass it to CLI commands. The CLI resolves it to the real model file in model/.
Examples:
vmblu make-app my-new-application.blu
vmblu make-capabilities my-new-application.blu
vmblu profile my-new-application.bluDirect model paths are still accepted:
vmblu make-app model/my-new-application.mod.bluUsing A Coding Agent
After installing the Codex plugin, Codex skill, or Claude support, tell the agent:
use vmbluThe agent should then:
- Detect or initialize the vmblu project.
- Read
.vmblu/vmblu.prompt.md. - Use the root
.bluentrypoint to find the model. - Treat
model/as the model file set. - Treat
nodes/as model-owned source code.
If no agent support is installed, include the instructions explicitly:
We are making a new application with vmblu.
Initialize the project:
`vmblu init my-new-application`
If `vmblu` is not on PATH, use:
`npx @vizualmodel/vmblu-cli init my-new-application`
Before making changes, read:
`my-new-application/.vmblu/vmblu.prompt.md`
Use the root `my-new-application.blu` entrypoint to find the model file.Running A Model
Most users should ask their coding agent to generate and run the app.
Manual generation:
vmblu make-app my-new-application.bluThe generated app is written by convention under model/, for example:
model/my-new-application.app.jsThe package's dev, build, and preview scripts depend on the application type and frontend/server tooling selected for the project.
Current Version Status
vmblu is still pre-1.0. The editor, CLI, runtime, and agent integration are usable, but project layout and distribution details may still evolve.
The current direction is:
- root
.bluentrypoints; - model files in
model/; - slim
.vmblu/folders for local vmblu metadata only; - explicit runtime subpaths;
- Codex plugin as the preferred Codex UX;
vmblu agent install <agent>as the generic fallback installer.
Feedback
- Issues:
https://github.com/vizualmodel/vmblu/issues - Discussions:
https://github.com/vizualmodel/vmblu/discussions - Website:
https://vmblu.dev