All 20 tags

← NPL tag reference

<npl-agent>

Declares an agent that operates under a framework version — the element form of the ⌜name|type|NPL@ver⌝ agent header.

The type classifies how the agent behaves: persona (an expert or character voice), tool (a command-style utility that returns deterministic output), or service (a hosted external system such as an API or vector store). The body carries the agent's behavioral specification.

Attributes

AttributeDescription
name requiredThe agent's identifier.
type requiredpersona | tool | service.
version requiredFramework version the agent operates under.
extendsName of the base agent this declaration extends.

Minimal example