@agentproto/routine
v0.1.2
Published
@agentproto/routine — AIP-41 ROUTINE.md reference implementation. A markdown + frontmatter format for declaring a recurring or event-driven invocation of an action, workflow, or tool. Decouples "when" (the schedule) from "what" (the target). Supports cron
Maintainers
Readme
@agentproto/routine
AIP-41 ROUTINE.md reference implementation. A markdown + frontmatter format for declaring a recurring or event-driven invocation of an action, workflow, or tool. Decouples "when" (the schedule) from "what" (the target). Supports cron / interval / calendar / manual / event-driven schedules, with retry, jitter, catchup policy, identity attribution, and failure routing.
Status: 0.1.0-alpha. Generated by
scripts/scaffold-aip.mjs—build()andvalidate()bodies are TODOs.
Spec: https://agentproto.sh/docs/aip-41
Usage
import { defineRoutine } from "@agentproto/routine"
const x = defineRoutine({
id: "my-routine",
description: "Short purpose.",
// ...
})License
MIT — see LICENSE.
