Skip to content
AWPv1alpha2 (draft)

Quickstart

To check a manifest without installing anything, paste it into the online validator or the editor, which also shows it as step graph, permissions and budgets. For CI and for use inside an application, install the validator package (awp validate, Node.js and browser library).

This page walks you through validating a manifest with the reference checker in the repository. The checker is development tooling for the specification, not a runtime and not a product. You need Node.js 20 or newer and Git.

Terminal window
git clone https://github.com/agenticworkflowprotocol/agenticworkflowprotocol.org
cd agenticworkflowprotocol.org

The checker has two pinned development dependencies. Install scripts are disabled.

Terminal window
npm ci --ignore-scripts

Create hello.workflow.yaml. It declares an owner, a budget, one agent, one step and a default-deny permission model.

hello.workflow.yaml
apiVersion: awp.agenticworkflowprotocol.org/v1alpha1
kind: Workflow
metadata:
name: hello-workflow
version: 0.1.0
owner:
team: example-team
classification: internal
risk:
level: low
spec:
triggers:
- type: manual
budget:
maxCostUsd: 1.00
maxSteps: 10
maxDuration: 5m
agents:
- id: helper
model:
provider: ollama
name: qwen3
workflow:
- id: greet
agent: helper
permissions:
default: deny
Terminal window
node conformance/awp-check.mjs check hello.workflow.yaml

The checker applies the YAML restrictions, the JSON Schema and the semantic rules. Add --json for machine-readable diagnostics, or --profiles core,governance to limit the profiles.

Remove the owner block or add an unknown field under spec, then run the check again. The checker reports a diagnostic with a code and a JSON Pointer to the offending node. Unknown fields are rejected instead of ignored.

To run the whole conformance suite:

Terminal window
npm test