npm.io
0.1.0 • Published 5d ago

@agentproto/workflow

Licence
Apache-2.0
Version
0.1.0
Deps
3
Size
43 kB
Vulns
0
Weekly
0
Stars
3

@agentproto/workflow

AIP-15 WORKFLOW.md reference implementation. A markdown + frontmatter format for declaring a multi-step agent workflow's abstract orchestration shape — its steps, branching, parallelism, approval gates, suspend/resume, and compensation. Pairs with the standard defineWorkflow / defineStep signatures. Implementation lives entirely in the per-step TOOL.md contracts and their AIP-30 DRIVER bindings; workflows themselves are pure orchestration data.

Status: 0.1.0-alpha. Generated by scripts/scaffold-aip.mjsbuild() and validate() bodies are TODOs.

Spec: https://agentproto.sh/docs/aip-15

Usage

import { defineWorkflow } from "@agentproto/workflow"

const x = defineWorkflow({
  id: "my-workflow",
  description: "Short purpose.",
  // ...
})

License

MIT — see LICENSE.

Keywords