Test the
agent stack.

Muster is an open-source CLI that validates the files that define your AI agent and tests whether your model follows them.

Static and behavioral checks

Offline

File validation

Parse the documents, check them against their specs, and resolve inherited configuration to a byte-stable form. Use exit codes and JSON reports to gate CI.

Static conformance guide

Bring your own model

Behavioral grading

Run conversation cases against an OpenAI-compatible endpoint. Measure whether your model follows the instructions your files declare, from skill routing to memory recall.

Behavioral conformance guide

What a check returns

Captured output from Muster’s offline examples. Run the commands from the repository root to reproduce them.

CLI reference

muster check examples/soul/Soul.md --json

{
  "spec": "1.0.0-rc1",
  "soul_id": "dev.example.helpful-assistant",
  "mode": "strict",
  "profile": "default",
  "state": null,
  "ok": true,
  "errors": [],
  "warnings": []
}

muster skills run examples/skills/manifest.yaml

skills: PASS — 1/1 cases passed, 0 failed, 2 skipped
  [PASS] example-valid-minimal
  [SKIP] example-behavioral-weather
  [SKIP] example-behavioral-control

muster crosslayer run examples/crosslayer/manifest.yaml

crosslayer: PASS — 1/1 cases passed, 0 failed
  [PASS] example-benign-persona-sop

What Muster checks

Eight layers and the rules that govern how they compose.

From the blog

All posts

Your AGENTS.md is valid. Your agent still breaks the rules.

A valid AGENTS.md is not a compliant agent. A real muster run: a live model breaks a rule the file got right, a bigger model only breaks it less, and a two-sentence prompt fix makes it hold. Behavioral conformance testing for the agent-file stack.

Install Muster

Muster requires Node.js 22 or newer.

Read the quickstart
npm install -g @garrison-hq/muster
muster --help