SemText

Reference · Agent Kit

<agent-kit-user-persona>

Agent Kit element

The content you write inside is the record; the card frames it, with an optional avatar. One renderer serves both persona tags.

A user persona card: who the product serves. The content you write inside is the record; the card frames it, with an optional avatar. One renderer serves both persona tags. the CACHED avatar URL. The chrome header renders an `<img>` from it verbatim; the element never fetches, resolves, or substitutes anything (no placeholder services), and with JavaScript off no image element exists. the upstream persona UUID (informational; the reference quartet identifies the record). optional same-origin JSON path naming a cached snapshot for enrichment (cached-embed preset; a fixture source vetoes any `endpoint`). optional same-origin API path; NEVER fetched by these elements (Live-fetch policy below) — declared for the authoring pipeline only. authored ISO-8601 stamp of the most recent sync (cached-embed preset). one of `fresh`, `stale`, `error` (cached-embed preset). per the global attribute catalog (conventions.md §2) per the global attribute catalog (conventions.md §2) per the global attribute catalog (conventions.md §2)

Example

agent-kit-user-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