@agentproto/role
v0.1.0
Published
@agentproto/role — AIP-47 ROLE.md reference implementation. A single-doc markdown + frontmatter format for portable organizational roles — mission, responsibilities, capabilities, tools, KPIs, seniority, reporting line, lifecycle hooks. Sibling to AIP-25
Maintainers
Readme
@agentproto/role
AIP-47 ROLE.md reference implementation. A single-doc markdown + frontmatter format for portable organizational roles — mission, responsibilities, capabilities, tools, KPIs, seniority, reporting line, lifecycle hooks. Sibling to AIP-25 PERSONA (face) and AIP-23 IDENTITY (substance); referenced by AIP-9 OPERATOR (role: field) and AIP-6 COMPANY (roles/<slug>/ROLE.md doctype). Roles describe what a job is — independent of who holds it (persona/identity) and which instance is hired (operator).
Status: 0.1.0-alpha. Generated by
scripts/scaffold-aip.mjs—build()andvalidate()bodies are TODOs.
Spec: https://agentproto.sh/docs/aip-47
Usage
import { defineRole } from "@agentproto/role"
const x = defineRole({
id: "my-role",
description: "Short purpose.",
// ...
})License
MIT — see LICENSE.
