npm.io
0.2.1 • Published 5d ago

@agentproto/agent

Licence
Apache-2.0
Version
0.2.1
Deps
4
Size
58 kB
Vulns
0
Weekly
0
Stars
4

@agentproto/agent

AIP-42 AGENT.md reference implementation. A markdown + frontmatter format for declaring a runnable agent — composes identity, persona, model, tools, actions, skills, workflows, runner, memory, governance, policy, and routines into a single manifest. Standalone runnable in any AIP-9 OPERATOR-conforming runtime. Body is the system prompt. Operators (AIP-9) extend AGENT with organizational context (role, company binding, dynamic per-request resolution).

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

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

Usage

import { defineAgent } from "@agentproto/agent"

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

License

MIT — see LICENSE.

Keywords