Agent Manifest Documentation

Command-line interface (CLI)

The Agent Manifest command-line interface (CLI) is the command-line validator for Agent Manifest v1.0 declarations. It is distributed as the npm package @agent-manifest/cli and installs the command agent-manifest.

agent-manifest reads a manifest document and checks it against the Agent Manifest v1.0 JSON Schema. It validates structure only.

This page is the canonical documentation for the CLI. The repository and the npm package page are the source and the distribution point; what they publish is described here.

Status

   
Name Agent Manifest command-line interface (CLI)
Package @agent-manifest/cli
Command agent-manifest
Version 0.1.2, published 2026-08-04
Source https://github.com/agent-manifest/agent-manifest-cli
Licence Apache-2.0
Node.js 20 or later

What it does not do

It does not score, rank, certify, or attest. It does not enforce anything at runtime. It does not write files. A manifest that validates is a well-formed declaration, not evidence that the declaring agent behaves as declared.

Install

npm install -g @agent-manifest/cli
npx @agent-manifest/cli validate ./manifest.json

The unscoped npm package agent-manifest and the @agentmanifest/* scope are unrelated third-party projects.

Commands

agent-manifest validate <file|url|-> [--schema <path-or-url>] [--json] [--no-color]

validate is the only command.

Exit codes

Code Meaning
0 Manifest is valid.
1 Manifest was read and parsed but failed schema validation.
2 Validation did not complete: I/O, parse, schema-load or usage error.

Machine-readable output

{"valid":true,"schema_version":"1.0","errors":[]}

valid is true, false or null, matching exit codes 0, 1 and 2.

Relationship to the specification

The CLI carries no copy of the schema. spec/v1.0/schema.json reaches it as data through the @agent-manifest/schema package, and the checking is done by the shared validator in @agent-manifest/client, so the CLI reaches the same verdict as anything else in the ecosystem. It keeps no validator of its own, and it does not fetch the schema over the network at run time. The CLI consumes the specification; it does not define it.

Release 0.1.2

This is the current release: npm install @agent-manifest/cli gives you this one.

   
Version 0.1.2, published 2026-08-04
Tag v0.1.2
Commit 16295914c3c5e49f91690179f221fb330d2a48be
Tarball sha-256 7b01959d7cc7add3210da2bf38e9a6045f45ff5728535fc981ed4fcf80b8d171
npm dist-tag latest
schema/ directory in the tarball none

0.1.2 is published with npm provenance attestation, built and published by the automated GitHub Actions workflow using Trusted Publishing (OIDC). The signed SLSA build provenance records the workflow .github/workflows/release.yml at refs/tags/v0.1.2 and the commit above; the tarball sha-256 is the one that workflow produced and that npm serves.

The publish step succeeded. The check that runs immediately after it exhausted its 60-second window before the registry served the new version, so the run is recorded as failed; the package was visible, installable and verified shortly afterwards.

Earlier releases

0.1.1, published 2026-07-21, is the last version to carry a copy of the schema inside its own tarball. Its tarball sha-256 was 5a9f91381d8b90ba8621272f1833bf2fbd7e1010318260b9329e1a21f81fc6ab and the schema copy it shipped had sha-256 c1e3caaf9543f2a5d610ccdfaf36329562fe03b6db00c4ea30b7ef0b7b8ef70a. It went through the same automated workflow, with provenance.

0.1.0 was the first release, published manually before the automated workflow was in use, and therefore without provenance attestation.

Limits

Node.js 20 or later. Input is read as UTF-8. Network reads happen only for a reference given as a URL, and are bounded. No telemetry, no install-time script, no auto-update.

Reporting

Issues: https://github.com/agent-manifest/agent-manifest-cli/issues.

Vulnerabilities: use GitHub Private Vulnerability Reporting on agent-manifest-cli, or, without a GitHub account, the route described in the security policy. Anything else: the contact path.