@measurelab/seam-cli
v0.5.8
Published
CLI for SEAM: validate, compile, resolve, init, dashboard
Downloads
121
Readme
@measurelab/seam-cli
CLI for SEAM, the intelligence layer between AI agents and the data sources they query. Built by Measurelab.
The CLI scaffolds a SEAM project, validates definitions, compiles a manifest and resolves queries against your intelligence model from the terminal.
Install
npm install -g @measurelab/seam-cliNode.js 22+ required.
Usage
seam init # scaffold a new SEAM project
seam validate # validate YAML definitions
seam compile # compile to manifest.json
seam resolve "monthly revenue" # resolve a query
seam dashboard list # dashboard authoring helpers--path <dir> is supported on every command; defaults to the current directory.
Commands
seam init: scaffold a new project — example metric, entity, connection and dashboard definitions, aresources/directory,seam.config.yaml, and a generatedREADME.mdseam validate: JSON Schema and cross-reference validation across all definition filesseam compile: produce amanifest.json(sources, metrics, entities, resources, cross-refs)seam resolve: map a natural-language query to the matching metric or entity with governance metadataseam dashboard list | show <name> | scaffold <name>: dashboard authoring helpers — inventory, compiled view, and starter scaffold
Common flags: --strict / --format <text|json> on validate, --output <file> on compile, --context <name> / --user <id> on resolve.
Docs
- CLI install and commands: https://measurelab.ai/docs/cli/
- Concepts (intelligence layer, intelligence model, manifest, resolver): https://measurelab.ai/docs/concepts/
- Glossary (every SEAM term, defined): https://measurelab.ai/docs/glossary/
What the CLI is. What it isn't.
The CLI is for authoring an intelligence model and resolving queries locally. Running SEAM in production in front of agents (multi-tenant OAuth, audit pipeline, downstream MCP proxying) is Measurelab-managed. See https://measurelab.ai/seam/pricing/.
License
Apache-2.0
