v1.0.0

CLI

Updated 30 Nov 2026Edit this page

The agenticmind, agenticmind-node and agenticmind-worker commands, and the npm scripts for development.

All Python commands run inside the uv workspace: prefix them with uv run from the repository root.

agenticmind

Runs graphs with the first-party runtime, with no server and no UI.

Command Does
agenticmind nodes List installed node types (type, version, category, trust, name) as JSON.
agenticmind schema Print the IR JSON Schema.
agenticmind validate graph.json Validate an IR document; prints the diagnostics.
agenticmind canonicalize graph.json Print the canonical (sorted, diff-friendly) form.
agenticmind run graph.json [options] Execute a graph.
agenticmind mcp-serve a.json b.json Serve graphs as MCP tools over stdio (each file becomes one tool).

run options:

Option Meaning
-i key=value, --input key=value A run input (repeatable). Values are parsed as JSON when possible (-i n=3 is a number).
--inputs-json '{...}' All run inputs as one JSON object.
--events Print every trace event.
--data-dir PATH Data directory with uploaded files (default .agenticmind, same layout as the API).
terminal
uv run agenticmind validate apps/api/src/agenticmind_api/templates/hello-pipeline.json
uv run agenticmind run apps/api/src/agenticmind_api/templates/hello-pipeline.json -i name=Ada --events
uv run agenticmind schema > ir.schema.json

In the CLI, memory is in-process for the single run and triggers emit their sample events. Exit codes are non-zero on validation or run failure, which makes agenticmind validate handy in CI for projects stored in Git.

agenticmind-node

Builds third-party node packages. See Node packages.

Command Does
agenticmind-node new PATH [--name DIST] [--namespace NS] Scaffold a package with an example node, tests and README.
agenticmind-node validate PATH Check namespace, semver, descriptions, permissions and tests.
agenticmind-node test PATH Run the package’s tests with pytest.
agenticmind-node pack PATH Validate, then build dist/*.whl.

agenticmind-worker

A run worker that claims jobs from the database queue (also python -m agenticmind_api.worker). Run several against one PostgreSQL database and data directory; give the API AGENTICMIND_EMBEDDED_WORKER=0 to leave execution to them. See Durable runs.

npm scripts (repository root)

Script Does
npm run dev API (port 8000) and IDE (port 5173) together; Ctrl+C stops both. -- --api-port N --web-port M for other ports.
npm run stop Stop every server npm run dev started, from any terminal.
npm run dev:api / npm run dev:web Start one server.
npm run build:web Production build of the IDE.
npm test Python tests + web typecheck + web unit tests.
npm run test:py uv run pytest -q.
npm run typecheck:web / npm run test:web Strict TypeScript check / Vitest.

Other development commands

Command Does
uv sync Install the Python workspace (all packages, editable).
uv run ruff check . Lint Python.
uv run python scripts/generate_schemas.py Regenerate the published IR JSON Schema after model changes.
uv run python scripts/build_sample_db.py Rebuild examples/data/sales.sqlite.
uv run python scripts/build_logo.py Regenerate the logo, favicons and app icons.
uv run python scripts/extract_auto_ontology_contract.py <checkout> <commit> Re-vendor the Auto Ontology API contract.
rapidocr download_models Pre-fetch OCR models for offline machines.