SemText

Reference · SemText · Document & structure

<agent>

SemText element

You write name, bio, and instructions as plain children. The browser ignores this element; extraction turns it into one agent record. Use it when the document is addressed to or about an agent.

Describes one AI agent inside the document: its name, a short bio, and its instructions. You write name, bio, and instructions as plain children. The browser ignores this element; extraction turns it into one agent record. Use it when the document is addressed to or about an agent.

Example

agent.html
source
1 <agent>
2 <name>SemText Guide</name>
3 <bio>Answers questions about SemText from the facts on the page.</bio>
4 <instructions>Answer only from sem-fact records; cite ids.</instructions>
5 </agent>
6
render

Live render boots with JavaScript — the authored source is alongside.

Source: spec/conventions.md