SemText

Reference · Agent Kit

<agent-kit-agent-persona>

Agent Kit element

The content you write inside is the record; the card frames it. One renderer serves both persona tags, parameterized by kind.

Shares its schema with <agent-kit-user-persona> — the option bullets below belong to that element's contract.

An agent persona card: who the agent is and how it behaves. The content you write inside is the record; the card frames it. One renderer serves both persona tags, parameterized by kind.

No options beyond the global attribute catalog are stated for this tag.

Children

  • <agent-kit-persona-name>`<agent-kit-persona-name>` — the display name; exactly one.
  • <agent-kit-persona-role>`<agent-kit-persona-role>` — the role line; optional, one.
  • <agent-kit-persona-bio>`<agent-kit-persona-bio>` — the bio prose; optional, one.
  • <agent-kit-persona-metadata>`<agent-kit-persona-metadata>` — prose metadata lines (`key: value`); optional, one.

Example

agent-kit-agent-persona.html
source
1 <agent-kit-user-persona org="acme" project="semtext" key="persona-ada"
2 avatar="/fixtures/agent-kit/avatars/ada.png">
3 <agent-kit-persona-name>Ada Lovelace</agent-kit-persona-name>
4 <agent-kit-persona-role>Product manager</agent-kit-persona-role>
5 <agent-kit-persona-bio>
6 Owns the SemText roadmap; reviews authoring ergonomics.
7 </agent-kit-persona-bio>
8 <agent-kit-persona-metadata>team: authoring
9 timezone: UTC+0</agent-kit-persona-metadata>
10 </agent-kit-user-persona>
render
No shipped runtime for this element — the authored example renders as plain HTML.

Source: spec/schema/agent-kit/personas.md