Agent.retired
Emitted each time an Agent is retired.
Agent.retire emits Agent.retired when it completes on an Agent.
| Property | Value |
|---|---|
| Emitted by | Agent.retire |
| Noun | Agent |
| Moves | Agent seated to retired; Agent paused to retired; Role filled to vacant when the Agent filling this Role is retired |
| Wakes | None. |
Payload
Each delivery is an Event record. data holds what Agent.retire returns, and previous holds the state it left.
| Field | Type | Required | Description |
|---|---|---|---|
name | string | required | Agent.retired. |
at | datetime | required | When it happened. |
seq | integer | Its position in the namespace, one more than the Event before; any seq is a cursor into the history. | |
data | json | required | The Thing as the Action left it. |
data.agent | Agent | required | The retired Agent. |
data.agent.instructions | text | required | What the Agent does and how. |
data.agent.model | string | required | The model the Agent runs on. |
data.agent.tools | string[] | The tools the Agent may call. | |
data.agent.skills | list of Skill | The Skills it loads. | |
data.agent.memory | string | One of tenant (one Memory per Customer Tenant) or startup (one Memory for the Startup). | |
data.agent.maxSteps | integer | The most steps one Task may take. | |
data.agent.budget | money | The most one Task may spend; the Mandate’s Limits apply as well. | |
data.agent.handoffs | list of Role | The Roles it hands work to. | |
data.agent.status | string | required | One of standby, seated, paused or retired: whether it fills a Role and is working. |
data.previous.status | string | required | The status before this Event: seated. |
Example
{
"$id": "https: //api.sb/ shiftnote.app/ events/ event_1",
"$type": "Event",
"name": "Agent.retired",
"at": "2026-10-22T12: 00: 00Z",
"data": {
"agent": {
"$id": "https: //api.sb/ shiftnote.app/ agents/ agent_1",
"$type": "Agent",
"instructions": "Example instructions",
"model": "Example model",
"tools": [
"Example tools"
],
"skills": [
"skill_1"
],
"memory": "tenant",
"maxSteps": 1,
"budget": {
"amount": 79,
"currency": "USD"
},
"handoffs": [
"role_1"
],
"status": "retired"
},
"previous": {
"status": "seated"
}
},
"seq": 1
}